EVP_CIPHER_CTX_get0_cipher

Return the cipher method currently associated with a cipher context.

Synopsis

Declared in <openssl/evp.h>

EVP_CIPHER const*
EVP_CIPHER_CTX_get0_cipher(EVP_CIPHER_CTX const* ctx);

Return Value

Internal EVP_CIPHER pointer (do not free), or NULL if unset.

Parameters

NameDescription
ctxCipher context to query.