KCAPI_MD_FINAL(3) | Programming Interface | KCAPI_MD_FINAL(3) |
kcapi_md_final - message digest finalization function (stream)
int32_t kcapi_md_final(struct kcapi_handle * handle, uint8_t * buffer, uint32_t len);
handle
buffer
len
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
Stephan Mueller <smueller@chronox.de>
November 2020 | libkcapi Manual 1.2.1 |