EVP_CIPHER_get_key_length

Return the default key length of a cipher in bytes.

Synopsis

Declared in <openssl/evp.h>

int
EVP_CIPHER_get_key_length(EVP_CIPHER const* cipher);

Return Value

Default key length in bytes.

Parameters

NameDescription
cipherCipher method to query.