[#EVP_PKEY_CTX_set_cb]
= EVP&lowbar;PKEY&lowbar;CTX&lowbar;set&lowbar;cb
:mrdocs:

Install a progress callback for key&sol;parameter generation on a context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
EVP&lowbar;PKEY&lowbar;CTX&lowbar;set&lowbar;cb(
    xref:EVP_PKEY_CTX.adoc[EVP&lowbar;PKEY&lowbar;CTX]* ctx,
    xref:EVP_PKEY_gen_cb.adoc[EVP&lowbar;PKEY&lowbar;gen&lowbar;cb]* cb);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Key context used for keygen&sol;paramgen&period;
| *cb*
| Generation callback, or NULL to clear&period;
|===


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