KCAPI_MD_FINAL(3)
π KCAPI_MD_FINAL(3) π
okay so bestie, welcome to the page for kcapi_md_final β it lives in the Programming Interface part of the manual, and it's literally the glow-up moment for your message digest. π¦
β¨ NAME β¨
kcapi_md_final β the message digest finalization function (stream version, iykyk). π
β¨ SYNOPSIS β¨
ssize_t kcapi_md_final(struct kcapi_handle * handle, uint8_t * buffer,
size_t len);
β¨ ARGUMENTS β¨
handleβ [in] the cipher handle, your main character. πbufferβ [out] gets filled with the message digest. it's giving delivery. πlenβ [in] how long that buffer is, fr fr.
β¨ DESCRIPTION β¨
so on success it returns the size of the message digest. slay. π
but if things go sideways:
-EIOβ the data cannot be obtained. π-ENOMEMβ the buffer is too small for the complete message digest, and heads up: the buffer is filled with the truncated message digest. not the whole vibe, just a piece of it. π
β¨ AUTHOR β¨
Stephan Mueller <smueller@chronox.de> β Author. π«Ά
β¨ COPYRIGHT β¨
that's the whole page, bestie. π
libkcapi Manual version 1.5.0, dated July 2025 β mwah, sending you off with a kiss and a KCAPI_MD_FINAL(3) πβ¨ππ¦
π¦ 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