[#ECDSA_sign_setup]
= ECDSA&lowbar;sign&lowbar;setup
:mrdocs:

Precompute parts of the signing operation

== Synopsis

Declared in `&lt;openssl&sol;ec&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
ECDSA&lowbar;sign&lowbar;setup(
    xref:EC_KEY.adoc[EC&lowbar;KEY]* eckey,
    xref:BN_CTX.adoc[BN&lowbar;CTX]* ctx,
    xref:BIGNUM.adoc[BIGNUM]** kinv,
    xref:BIGNUM.adoc[BIGNUM]** rp);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

1 on success and 0 otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *eckey*
| EC&lowbar;KEY object containing a private EC key
| *ctx*
| BN&lowbar;CTX object (optional)
| *kinv*
| BIGNUM pointer for the inverse of k
| *rp*
| BIGNUM pointer for x coordinate of k &ast; generator
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
