KCAPI_MD_DIGESTSIZE(3) | Programming Interface | KCAPI_MD_DIGESTSIZE(3) |
kcapi_md_digestsize - return the size of the message digest
uint32_t kcapi_md_digestsize(struct kcapi_handle * handle);
handle
The returned message digest size can be used before the kcapi_md_final function invocation to determine the right memory size to be allocated for this call.
return > 0 specifying the block size; 0 on error
Stephan Mueller <smueller@chronox.de>
February 2022 | libkcapi Manual 1.4.0 |