Name

crypto_aead_authsize — obtain maximum authentication data size

Synopsis

unsigned int crypto_aead_authsize (struct crypto_aead * tfm);
 

Arguments

tfm

cipher handle

Description

The maximum size of the authentication data for the AEAD cipher referenced by the AEAD cipher handle is returned. The authentication data size may be zero if the cipher implements a hard-coded maximum.

The authentication data may also be known as tag value.

Return

authentication data size / tag size in bytes