DOKK / manpages / debian 11 / libkcapi-dev / kcapi_aead_inbuflen_dec.3.en
KCAPI_AEAD_INBUFLEN_(3) Programming Interface KCAPI_AEAD_INBUFLEN_(3)

kcapi_aead_inbuflen_dec - return minimum decryption input buffer length

uint32_t kcapi_aead_inbuflen_dec(struct kcapi_handle * handle, uint32_t inlen, uint32_t assoclen, uint32_t taglen);

handle

[in] cipher handle

inlen

[in] size of ciphertext

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.

November 2020 libkcapi Manual 1.2.1