EVP_MAC_CTX_get_mac_size

Return the MAC output size for the algorithm bound to ctx.

Synopsis

Declared in <openssl/evp.h>

size_t
EVP_MAC_CTX_get_mac_size(EVP_MAC_CTX* ctx);

Return Value

Tag/MAC length in bytes, or 0 if unavailable.

Parameters

NameDescription
ctxInitialized MAC context.