crypto_lskcipher_blocksize(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ crypto_lskcipher_blocksize(9) ✨

okay bestie, buckle up β€” this is a page from the Kernel API Manual, and it's literally the cutest little getter you ever did see πŸ’…


πŸŽ€ NAME πŸŽ€

crypto_lskcipher_blocksize β€” obtain block size of cipher

like, you ask the cipher "hey girl, how big are your blocks?" and she tells you 🫢


🌸 SYNOPSIS 🌸

unsigned int crypto_lskcipher_blocksize (struct crypto_lskcipher *tfm );

one function, one argument, returns an unsigned int. no cap, that's the whole vibe ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • tfm β€” cipher handle πŸ’– this is your little passport to the cipher, the thing you got back when you allocated it. no handle, no blocksize, periodt.

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea: this function returns the block size for the lskcipher that the cipher handle (tfm) is referencing. that's it, that's the whole thing 🌈

and like… why do you care? because the caller β€” that's you, bestie β€” may use that information to allocate appropriate memory for the data returned by the encryption or decryption operation. so if you're about to encrypt or decrypt something and you need to know how much room to carve out, this is your girl. main character energy honestly πŸ‘‘


⭐ RETURN ⭐

block size of cipher πŸ”₯ that's the return value, and yes it's exactly what it says on the tin πŸ’€


🧚 SEE ALSO 🧚

this list is lowkey a whole friend group, so let me introduce everyone πŸ’… β€” all from the Kernel file ./include/crypto/skcipher.h:

go say hi to all of them, they're iconic 🌸


aaaand that's the page!! πŸŽ€ sign-off time: this lil beauty lives under ./include/crypto, it's dated October 2026, and it's the crypto_lskcipher_blocksize(9) page from the Kernel API Manual. iykyk πŸ’– slay, go read your blocksizes, ily, bye πŸ¦‹βœ¨

πŸ“¦ where this page comes from