[#EVP_PKEY_gen_cb]
= EVP&lowbar;PKEY&lowbar;gen&lowbar;cb
:mrdocs:

Callback type invoked during key or parameter generation to report progress or cancel&period;

== Synopsis

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

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

== Return Value

Nonzero to continue, or 0 to abort generation with an error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Generation context&semi; query progress via EVP&lowbar;PKEY&lowbar;CTX&lowbar;get&lowbar;keygen&lowbar;info()&period;
|===


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