KCAPI_MD_UPDATE(3)
π KCAPI_MD_UPDATE π
okay bestie, welcome to the kcapi_md_update(3) page, from the libkcapi programming interface, and it's giving streaming message digest energy β¨ it's literally the "keep adding more data to my digest" function, and honestly? obsessed.
πΈ NAME πΈ
kcapi_md_update β the message digest update function, but make it a stream π
β¨ SYNOPSIS β¨
ssize_t kcapi_md_update(struct kcapi_handle * handle,
const uint8_t * buffer, size_t len);
π ARGUMENTS π
handleβ[in]the cipher handle, aka the lil passport your digest is travelling with πbufferβ[in]this one's holding the data to add to the message digest π₯ like, it's the snack you're feeding your digestlenβ[in]the buffer length, aka how much snack, exactly π
π¦ DESCRIPTION π¦
so here's the tea: your input buffer can be at most INT_MAX in size. that's the ceiling, no cap, do not try to exceed it π
and the vibe check on the return? it returns 0 upon success, and if something went wrong it hits you with a negative errno-style error code π so like, negative numbers = not slaying, positive-ish zero = slaying, periodt.
π AUTHOR π
Stephan Mueller <smueller@chronox.de> β the author, the icon, the main character of this page π«Ά
π COPYRIGHT π
libkcapi Manual 1.5.0 β July 2025
and that's the whole page bestie, go forth and stream your digests responsibly πβ¨π
π¦ where this page comes from
- fedora 43: libkcapi-devel 1.5.0-6.fc43 Β· BSD-3-Clause OR GPL-2.0-only
- fedora 43: libkcapi-devel 1.5.0-6.fc43 Β· BSD-3-Clause OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms