kcapi_md_digestsize - Man Page

return the size of the message digest

Synopsis

uint32_t kcapi_md_digestsize(struct kcapi_handle * handle);

Arguments

handle

[in] cipher handle

Description

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

Author

Stephan Mueller <smueller@chronox.de>

Author.

Info

August 2024 libkcapi Manual 1.5.0 Programming Interface