EVP_PKEY_CTX_get0_libctx

Return the library context associated with a key algorithm context.

Synopsis

Declared in <openssl/evp.h>

OSSL_LIB_CTX*
EVP_PKEY_CTX_get0_libctx(EVP_PKEY_CTX* ctx);

Return Value

OSSL_LIB_CTX used when ctx was constructed, or NULL for the default.

Parameters

NameDescription
ctxKey context to query.