logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

kcapi_aead_setassoclen - set authentication data size

Arguments

handle
           [in] cipher handle

       assoclen
           [in] length of associated data length

Author

StephanMueller <smueller@chronox.de>
           Author.

Description

       The associated data is retained in the cipher handle. During initialization of a cipher handle, it is
       sent to the kernel. The kernel cipher implementations may verify the appropriateness of the
       authentication data size and may return an error during initialization if the authentication size is not
       considered appropriate.

Name

       kcapi_aead_setassoclen - set authentication data size

Synopsis

voidkcapi_aead_setassoclen(structkcapi_handle*handle,size_tassoclen);

See Also