Scroll to navigation

KCAPI_MD_UPDATE(3) Programming Interface KCAPI_MD_UPDATE(3)

NAME

kcapi_md_update - message digest update function (stream)

SYNOPSIS

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

ARGUMENTS

handle

[in] cipher handle

buffer

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

len

[in] buffer length

DESCRIPTION

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

AUTHOR

Stephan Mueller <smueller@chronox.de>

Author.

COPYRIGHT

March 2023 libkcapi Manual 1.4.0