EVP_CIPHER_get_block_size

Return the block size of a cipher in bytes.

Synopsis

Declared in <openssl/evp.h>

int
EVP_CIPHER_get_block_size(EVP_CIPHER const* cipher);

Return Value

Block size in bytes (1 for stream ciphers).

Parameters

NameDescription
cipherCipher method to query.