Scroll to navigation

KCAPI_AEAD_INBUFLEN_(3) Programming Interface KCAPI_AEAD_INBUFLEN_(3)

NAME

kcapi_aead_inbuflen_dec - return minimum decryption input buffer length

SYNOPSIS

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

ARGUMENTS

handle

[in] cipher handle

inlen

[in] size of ciphertext

assoclen

[in] size of associated data (AD)

taglen

[in] size of authentication tag

DESCRIPTION

return minimum size of output data length in bytes

AUTHOR

Stephan Mueller <smueller@chronox.de>

Author.

COPYRIGHT

March 2023 libkcapi Manual 1.4.0