[#EVP_PKEY_generate] = EVP_PKEY_generate :mrdocs: Generate parameters or a key pair into *`ppkey` (unified keygen/paramgen entry). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_generate( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, xref:EVP_PKEY.adoc[EVP_PKEY]** ppkey); ---- == Return Value 1 on success, or a non‐positive value on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Context prepared with EVP_PKEY_keygen_init() or EVP_PKEY_paramgen_init(). | *ppkey* | Address of an EVP_PKEY pointer that receives the new object (allocated if NULL). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#