1KCAPI_AEAD_SETASSOCL(3) Programming Interface KCAPI_AEAD_SETASSOCL(3)
2
3
4
6 kcapi_aead_setassoclen - set authentication data size
7
9 void kcapi_aead_setassoclen(struct kcapi_handle * handle,
10 uint32_t assoclen);
11
13 handle
14 [in] cipher handle
15
16 assoclen
17 [in] length of associated data length
18
20 The associated data is retained in the cipher handle. During
21 initialization of a cipher handle, it is sent to the kernel. The kernel
22 cipher implementations may verify the appropriateness of the
23 authentication data size and may return an error during initialization
24 if the authentication size is not considered appropriate.
25
27 Stephan Mueller <smueller@chronox.de>
28 Author.
29
31libkcapi Manual 1.1.5 August 2019 KCAPI_AEAD_SETASSOCL(3)