kcapi_aead_inbuflen_enc(3)

return minimum encryption input buffer length

Section 3 libkcapi-dev bookworm source

Description

KCAPI_AEAD_INBUFLEN_

NAME

kcapi_aead_inbuflen_enc - return minimum encryption input buffer length

SYNOPSIS

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

ARGUMENTS

handle

[in] cipher handle

inlen

[in] size of plaintext

assoclen

[in] size of associated data (AD)

taglen

[in] size of authentication tag

DESCRIPTION

return minimum size of input data length in bytes

AUTHOR

Stephan Mueller <smueller@chronox.de>

Author.

COPYRIGHT