DOKK / manpages / debian 12 / libkcapi-dev / kcapi_aead_outbuflen_enc.3.en
KCAPI_AEAD_OUTBUFLEN(3) Programming Interface KCAPI_AEAD_OUTBUFLEN(3)

kcapi_aead_outbuflen_enc - return minimum encryption output buffer length

size_t kcapi_aead_outbuflen_enc(struct kcapi_handle * handle, size_t inlen, size_t assoclen, size_t taglen);

handle

[in] cipher handle

inlen

[in] size of plaintext

assoclen

[in] size of associated data (AD)

taglen

[in] size of authentication tag

return minimum size of output data length in bytes

Stephan Mueller <smueller@chronox.de>

Author.

February 2022 libkcapi Manual 1.4.0