Quickly generate a key of algorithm type using varargs size/curve parameters.
Synopsis
Declared in <openssl/evp.h>
EVP_PKEY*
EVP_PKEY_Q_keygen(
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
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"). |
Created with MrDocs