1KCAPI_AEAD_SETTAGLEN(3) Programming Interface KCAPI_AEAD_SETTAGLEN(3)
2
3
4
6 kcapi_aead_settaglen - set authentication tag size
7
9 int kcapi_aead_settaglen(struct kcapi_handle * handle,
10 uint32_t taglen);
11
13 handle
14 [in] cipher handle
15
16 taglen
17 [in] length of authentication tag
18
20 Set the authentication tag size needed for encryption operation. The
21 tag is created during encryption operation with the size provided with
22 this call.
23
24 return 0 upon success; a negative errno-style error code if an error
25 occurred
26
28 Stephan Mueller <smueller@chronox.de>
29 Author.
30
32libkcapi Manual 1.3.1 January 2022 KCAPI_AEAD_SETTAGLEN(3)