[#EVP_PKEY_CTX_set0_keygen_info]
= EVP&lowbar;PKEY&lowbar;CTX&lowbar;set0&lowbar;keygen&lowbar;info
:mrdocs:

Attach legacy keygen progress info used by some ENGINE implementations&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;set0&lowbar;keygen&lowbar;info(
    xref:EVP_PKEY_CTX.adoc[EVP&lowbar;PKEY&lowbar;CTX]* ctx,
    int* dat,
    int datlen);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Key context used for key generation&period;
| *dat*
| Array of integers describing generation progress&sol;state (ownership not transferred)&period;
| *datlen*
| Number of entries in `dat&period;`
|===


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