crypto_skcipher_blocksize(9)
π 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 π
- Kernel file
./include/crypto/skcipher.hπ struct skcipher_request(9)struct skcipher_alg(9)struct lskcipher_alg(9)Symmetric Key Cipher API(9)crypto_alloc_skcipher(9)crypto_alloc_lskcipher(9)crypto_free_skcipher(9)crypto_free_lskcipher(9)crypto_has_skcipher(9)crypto_skcipher_ivsize(9)crypto_lskcipher_ivsize(9)crypto_lskcipher_blocksize(9)crypto_skcipher_chunksize(9)crypto_lskcipher_chunksize(9)crypto_skcipher_statesize(9)crypto_lskcipher_statesize(9)crypto_skcipher_setkey(9)crypto_lskcipher_setkey(9)crypto_skcipher_reqtfm(9)crypto_skcipher_encrypt(9)crypto_skcipher_decrypt(9)crypto_skcipher_export(9)crypto_skcipher_import(9)crypto_lskcipher_encrypt(9)crypto_lskcipher_decrypt(9)Symmetric Key Cipher Request Handle(9)crypto_skcipher_reqsize(9)skcipher_request_set_tfm(9)skcipher_request_alloc(9)skcipher_request_free(9)skcipher_request_set_callback(9)skcipher_request_set_crypt(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms