KCAPI_AEAD_IVSIZE(3)
π kcapi_aead_ivsize β the libkcapi girlie's guide π
okay bestie, this one is from the libkcapi crew, and it's a manual page for kcapi_aead_ivsize(3) β¨ yes she's a C function, yes she's part of the AEAD situation, and yes she's literally just here to tell you how big your IV needs to be π
πΈ NAME πΈ
kcapi_aead_ivsize β return size of IV required for cipher π
like, that's the whole job. she tells you the IV size. that's it. that's her. and she's iconic for it π
β¨ SYNOPSIS β¨
uint32_t kcapi_aead_ivsize(struct kcapi_handle * handle);
so we're returning a uint32_t and taking one pointer, no cap π«Ά
π¦ ARGUMENTS π¦
handleβ [in] cipher handle π this is the one thing you hand over. it's the handle for your cipher, and she needs it to do her lil thing.
π DESCRIPTION π
okay so here's the tea, bestie: she returns a value > 0 that specifies the IV size π―
and if things go sideways? you get 0 on error π that's the whole vibe check β big number = IV size, zero = nope, something went wrong.
fr fr,0is not a size here.0is the error flag. don't be out here treating zero as "zero-byte IV", okay? π
π§ AUTHOR π§
Stephan Mueller <smueller@chronox.de> β Author π«Ά
π COPYRIGHT π
that's all she wrote, bestie π
and that's a wrap on the libkcapi Manual, version 1.5.0, from July 2025 π she ate, she left no crumbs, and the IV size question is officially answered π
β¨
π¦ 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