kcapi_md_final - Man Page
message digest finalization function (stream)
Synopsis
ssize_t kcapi_md_final(struct kcapi_handle * handle, uint8_t * buffer, size_t len);
Arguments
handle
[in] cipher handle
buffer
[out] filled with the message digest
len
[in] buffer length
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
Author
Stephan Mueller <smueller@chronox.de>
Author.
Copyright
Info
August 2024 libkcapi Manual 1.5.0 Programming Interface