DOKK / manpages / debian 12 / libkcapi-dev / kcapi_md_update.3.en
KCAPI_MD_UPDATE(3) Programming Interface KCAPI_MD_UPDATE(3)

kcapi_md_update - message digest update function (stream)

ssize_t kcapi_md_update(struct kcapi_handle * handle, const uint8_t * buffer, size_t len);

handle

[in] cipher handle

buffer

[in] holding the data to add to the message digest

len

[in] buffer length

The input buffer can be at most INT_MAX in size.

return 0 upon success; a negative errno-style error code if an error occurred

Stephan Mueller <smueller@chronox.de>

Author.

February 2022 libkcapi Manual 1.4.0