kcapi_aead_setassoclen - Man Page

set authentication data size

Synopsis

void kcapi_aead_setassoclen(struct kcapi_handle * handle, uint32_t assoclen);

Arguments

handle

[in] cipher handle

assoclen

[in] length of associated data length

Description

The associated data is retained in the cipher handle. During initialization of a cipher handle, it is sent to the kernel. The kernel cipher implementations may verify the appropriateness of the authentication data size and may return an error during initialization if the authentication size is not considered appropriate.

Author

Stephan Mueller <smueller@chronox.de>

Author.

Info

March 2021 libkcapi Manual 1.2.1 Programming Interface