kcapi_aead_setassoclen3
Set authentication data size
Usage
void kcapi_aead_setassoclen(struct kcapi_handle * handle, size_t assoclen);
Arguments
handle
[in] cipher handle
assoclen
[in] length of associated data length
Overview
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.
Releases
3 releases since Debian 11 (Bullseye); the text changed 2 times.