KCAPI_RNG_SEEDSIZE(3)
π KCAPI_RNG_SEEDSIZE π
okay bestie, welcome to kcapi_rng_seedsize β it's a lil function from the libkcapi programming interface (that's the manual section 3 situation, iykyk) and it is SO simple it's almost criminal. Let's get into it. π«Ά
β¨ SYNOPSIS β¨
uint32_t kcapi_rng_seedsize(struct kcapi_handle * handle);
that's it. that's the whole signature. one argument, one return value, zero drama. π
πΈ ARGUMENTS πΈ
handleβ [in] the cipher handle. yeah bestie, you gotta hand it your handle. it's an in parameter, meaning it goes in and (per the docs) doesn't come back out all mangled. you just pass the thing. π
π¦ DESCRIPTION π¦
so here's the tea: this function returns the required seed size of the DRNG. that's its whole personality. β¨
what comes back:
- > 0 β slay, this specifies the block size π₯
- 0 β π error. something went wrong. not the vibe.
no cap, 0 is the sad path here β if you see a zero come back, that's not a seed size, that's a problem. don't go using it like it's a valid number. π
π AUTHOR π
- Stephan Mueller
<smueller@chronox.de>β Author. (iconic behavior, honestly π«Ά)
π COPYRIGHT π
this page lives under the libkcapi Manual umbrella, and that's the whole copyright sitch as documented. π
π SEE ALSO π
okay so the original page doesn't actually list any SEE ALSO entries β nothing to send you off to. so instead: go forth, call the function, and check for that zero. that's the assignment. periodt. π
and that's a wrap, bestie! this was the libkcapi Manual, version 1.5.0, dated July 2025 β aka the KCAPI_RNG_SEEDSIZE era. tysm for reading, mwah ππ β¨
π¦ 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