crypto_skcipher_blocksize(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… crypto_skcipher_blocksize(9) πŸ’…

okay so you're in the Kernel API Manual, bestie, and this is the page for crypto_skcipher_blocksize ✨


🌸 NAME 🌸

crypto_skcipher_blocksize β€” obtain block size of cipher πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

unsigned int crypto_skcipher_blocksize (struct crypto_skcipher *tfm );

πŸ’– ARGUMENTS πŸ’–

  • tfm β€” cipher handle 🫢 that's your lil pass into cipher town

✨ DESCRIPTION ✨

So the block size for the skcipher that your cipher handle points at? Yeah, it gets returned to you. no cap πŸ’…

And like, why do you care? Because the caller β€” that's you, bestie β€” may use that info to allocate appropriate memory for the data returned by the encryption or decryption operation. it's giving "know your sizes before you malloc" energy πŸ‘‘


πŸ‘‘ RETURN πŸ‘‘

block size of cipher ⭐ that's it, that's the whole return value πŸ’œ


🌈 SEE ALSO 🌈


lowkey that's a whole friend group of functions right there 😭 go read them, iykyk πŸ’€

and that's the page!! mwah πŸ’‹ this one lives in ./include/crypto, dated October 2026, and it's filed under crypto_skcipher_blocksize(9) β€” periodt πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from