Allocate a key context for operations on an existing EVP_PKEY.
Synopsis
Declared in <openssl/evp.h>
EVP_PKEY_CTX*
EVP_PKEY_CTX_new_from_pkey(
OSSL_LIB_CTX* libctx,
EVP_PKEY* pkey,
char const* propquery);
Return Value
New EVP_PKEY_CTX, or NULL on failure.
Parameters
Name |
Description |
libctx |
Library context used to fetch algorithms, or NULL for the default. |
pkey |
Key that determines the algorithm and provides key material. |
propquery |
Property query for algorithm fetches, or NULL. |
Created with MrDocs