KCAPI_MD_DIGESTSIZE(3)
β¨ NAME β¨
kcapi_md_digestsize β bestie, this one just tells you how big your message digest is π
πΈ SYNOPSIS πΈ
uint32_t kcapi_md_digestsize(struct kcapi_handle * handle);
π ARGUMENTS π
handleβ [in] the cipher handle, aka your little gateway to the crypto vibes π¦
π DESCRIPTION π
okay so here's the tea: this function hands you back the size of the message digest. that's it. that's the whole job. β¨
and like, why do you care? because you can call this before you hit up kcapi_md_final β that way you already know exactly how much memory you need to allocate for that call. no guessing, no overflow, no tears. it's giving prepared. it's giving organized. π«Ά
what comes back:
> 0β slay, that's the block size, use it π0β on error π something went wrong bestie
π AUTHOR π
Stephan Mueller <smueller@chronox.de>
- Author. (yes the icon himself π)
π COPYRIGHT π
the copyright info lives right here in this section, and the footer belongs to the libkcapi Manual, version 1.5.0, dated July 2025 β page KCAPI_MD_DIGESTSIZE(3) from the Programming Interface chapter, no cap π
and that's the whole page, bestie β libkcapi Manual 1.5.0, July 2025, KCAPI_MD_DIGESTSIZE(3), drop by again soon πβ¨π
π¦ 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