[#EVP_PKEY_Q_keygen] = EVP_PKEY_Q_keygen :mrdocs: Quickly generate a key of algorithm `type` using varargs size/curve parameters. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:EVP_PKEY.adoc[EVP_PKEY]* EVP_PKEY_Q_keygen( xref:OSSL_LIB_CTX.adoc[OSSL_LIB_CTX]* libctx, char const* propq, char const* type, ...); ---- == Return Value Newly allocated EVP_PKEY, or NULL on failure; free with EVP_PKEY_free(). == Parameters [cols="1,4"] |=== | Name| Description | *libctx* | Library context for fetches, or NULL for the default. | *propq* | Property query string, or NULL. | *type* | Algorithm name (for example "RSA", "EC", "ED25519"). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#