Allocate a key context for an algorithm fetched by name from providers.
Declared in <openssl/evp.h>
EVP_PKEY_CTX*
EVP_PKEY_CTX_new_from_name(
OSSL_LIB_CTX* libctx,
char const* name,
char const* propquery);
New EVP_PKEY_CTX, or NULL on error; free with EVP_PKEY_CTX_free().
| Name | Description |
|---|---|
| libctx | Library context for the fetch, or NULL for the default. |
| name | Algorithm name (for example "RSA" or "EC"). |
| propquery | Property query string, or NULL. |