EVP_CIPHER_get_mode

Return the cipher mode constant for a cipher method.

Synopsis

Declared in <openssl/evp.h>

int
EVP_CIPHER_get_mode(EVP_CIPHER const* cipher);

Return Value

An EVP_CIPH_*_MODE value (for example EVP_CIPH_CBC_MODE).

Parameters

NameDescription
cipherCipher method to query.