Name

kcapi_aead_authsize — return the maximum size of the tag

Synopsis

uint32_t kcapi_aead_authsize (struct kcapi_handle * handle);
 

Arguments

handle

[in] cipher handle

Description

The returned maximum is the largest size of the authenticaation tag that can be produced by the AEAD cipher. Smaller tag sizes may be chosen depending on the AEAD cipher type.

return > 0 specifying the block size; 0 on error