DOKK / manpages / debian 12 / libkcapi-dev / kcapi_aead_authsize.3.en
KCAPI_AEAD_AUTHSIZE(3) Programming Interface KCAPI_AEAD_AUTHSIZE(3)

kcapi_aead_authsize - return the maximum size of the tag

uint32_t kcapi_aead_authsize(struct kcapi_handle * handle);

handle

[in] cipher handle

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

Stephan Mueller <smueller@chronox.de>

Author.

February 2022 libkcapi Manual 1.4.0