KCAPI_CIPHER_BLOCKSI(3)

✨ KCAPI_CIPHER_BLOCKSI(3) ✨

okay bestie, welcome to the libkcapi manual, section 3 πŸ’… this one is kcapi_cipher_blocksize and she is short, sweet, and exactly what it says on the tin πŸŽ€


🌸 NAME 🌸

kcapi_cipher_blocksize β€” bestie, she tells you the size of one block of the cipher. that's it. that's the whole job πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

uint32_t kcapi_cipher_blocksize(struct kcapi_handle * handle);

πŸ’œ ARGUMENTS πŸ’œ

  • handle β€” [in] the cipher handle, aka the little friend you got from opening a cipher. you hand her over and she spills the block size 🌈

πŸ”₯ DESCRIPTION πŸ”₯

she returns something > 0 and that number is the block size, periodt πŸ‘‘

and if things go sideways? you get 0 on error. zero. nothing. a whole vibe check fail 😭

no cap: 0 means error, not "a block size of zero". don't be out here reading it as a valid answer, i'm begging 🫢

πŸ‘‘ AUTHOR πŸ‘‘

Stephan Mueller <smueller@chronox.de>

  • Author.

that's the whole page, bestie! this lil icon is from the libkcapi Manual, version 1.5.0, dated July 2025 ✨ go forth and call kcapi_cipher_blocksize responsibly πŸ’…πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from