1KCAPI_AEAD_OUTBUFLEN(3) Programming Interface KCAPI_AEAD_OUTBUFLEN(3)
2
3
4
6 kcapi_aead_outbuflen_enc - return minimum encryption output buffer
7 length
8
10 size_t kcapi_aead_outbuflen_enc(struct kcapi_handle * handle,
11 size_t inlen, size_t assoclen,
12 size_t taglen);
13
15 handle
16 [in] cipher handle
17
18 inlen
19 [in] size of plaintext
20
21 assoclen
22 [in] size of associated data (AD)
23
24 taglen
25 [in] size of authentication tag
26
28 return minimum size of output data length in bytes
29
31 Stephan Mueller <smueller@chronox.de>
32 Author.
33
35libkcapi Manual 1.3.1 January 2022 KCAPI_AEAD_OUTBUFLEN(3)