[#EVP_PKEY_keygen_init] = EVP_PKEY_keygen_init :mrdocs: Initialise a key context for key‐pair generation. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_keygen_init(xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx); ---- == Return Value 1 on success, or a non‐positive value on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Context created for the target algorithm (for example via EVP_PKEY_CTX_new_id). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#