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

Name

Description

ctx

Cipher context to query.

Created with MrDocs