kcapi_aead_settaglen - Man Page

set authentication tag size

Synopsis

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

Arguments

handle

[in] cipher handle

taglen

[in] length of authentication tag

Description

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

Author

Stephan Mueller <smueller@chronox.de>

Author.

Info

August 2024 libkcapi Manual 1.5.0 Programming Interface