[#EVP_PKEY_decrypt_init]
= EVP&lowbar;PKEY&lowbar;decrypt&lowbar;init
:mrdocs:

Initialise `ctx` for private&hyphen;key decryption&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;decrypt&lowbar;init(xref:EVP_PKEY_CTX.adoc[EVP&lowbar;PKEY&lowbar;CTX]* ctx);
----

== Return Value

1 on success, or a non&hyphen;positive value on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Key context holding the private key used to decrypt&period;
|===


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