crypto_skcipher_ivsize(9)
β¨ crypto_skcipher_ivsize β¨
okay bestie, welcome to the Kernel API Manual entry for crypto_skcipher_ivsize(9) β it's giving "tiny function, big responsibilities" and honestly we're obsessed π
πΈ NAME πΈ
crypto_skcipher_ivsize β obtain IV size π
π¦ SYNOPSIS π¦
unsigned int crypto_skcipher_ivsize (struct crypto_skcipher *tfm );
π ARGUMENTS π
tfmβ the cipher handle, aka your main character pointer β¨
π§ DESCRIPTION π§
okay so here's the tea: this function returns the size of the IV for the skcipher that's referenced by the cipher handle. no cap π«Ά
and lowkey important β this IV size may be zero if the cipher doesn't need an IV. so don't come for her if she hands you a 0, she's just being honest π
β RETURN β
IV size, in bytes π₯
π SEE ALSO π
so many friends, so much lore, let's go π§β¨
- 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_lskcipher_ivsize(9)crypto_skcipher_blocksize(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)
ngl bestie, the whole squad lives in ./include/crypto β go say hi ππ
and that's the whole page, periodt π
π¦ sourced from ./include/crypto, dated October 2026, filed under the manual name crypto_skcipher_ivsize(9) β slay, go get that IV size πΈπβ¨
π¦ 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