EVP_CIPHER_CTX_get_block_size

Return the block size of the cipher bound to a cipher context.

Synopsis

Declared in <openssl/evp.h>

int
EVP_CIPHER_CTX_get_block_size(EVP_CIPHER_CTX const* ctx);

Return Value

Block size in bytes, or 0 if no cipher is set.

Parameters

NameDescription
ctxCipher context to query.