logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

kcapi_md_final - message digest finalization function (stream)

Arguments

handle
           [in] cipher handle

       buffer
           [out] filled with the message digest

       len
           [in] buffer length

Author

StephanMueller <smueller@chronox.de>
           Author.

Description

return size of message digest upon success; -EIO - data cannot be obtained; -ENOMEM - buffer is too small
       for the complete message digest, the buffer is filled with the truncated message digest

Name

       kcapi_md_final - message digest finalization function (stream)

Synopsis

ssize_tkcapi_md_final(structkcapi_handle*handle,uint8_t*buffer,size_tlen);

See Also