DOKK / manpages / debian 12 / libkcapi-dev / kcapi_aead_settaglen.3.en
KCAPI_AEAD_SETTAGLEN(3) Programming Interface KCAPI_AEAD_SETTAGLEN(3)

kcapi_aead_settaglen - set authentication tag size

int kcapi_aead_settaglen(struct kcapi_handle * handle, uint32_t taglen);

handle

[in] cipher handle

taglen

[in] length of authentication tag

Set the authentication tag size needed for encryption operation. The tag is created during encryption operation with the size provided with this call.

return 0 upon success; a negative errno-style error code if an error occurred

Stephan Mueller <smueller@chronox.de>

Author.

February 2022 libkcapi Manual 1.4.0