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

Name

Description

cipher

Cipher method to query.

Created with MrDocs