crypto_skcipher_statesize(9)
π¦ crypto_skcipher_statesize(9) π¦
okay so this is the Kernel API Manual page for crypto_skcipher_statesize(9), and we're about to make state size make sense. no cap. π
πΈ NAME πΈ
crypto_skcipher_statesize β obtain state size. that's the whole assignment, bestie. π
β¨ SYNOPSIS β¨
unsigned int crypto_skcipher_statesize (struct crypto_skcipher *tfm );
π«Ά ARGUMENTS π«Ά
tfmβ cipher handle. yes ma'am, that's the one. π
π DESCRIPTION π
okay so some algorithms literally cannot be chained with the IV alone β that's just the vibe. they carry internal state, and if data is going to be processed incrementally, that state must be replicated. π
this function gets you the size of that state. iconic behavior, honestly. β¨
π₯ RETURN π₯
the state size in bytes. periodt. π
π 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_skcipher_blocksize(9)crypto_lskcipher_blocksize(9)crypto_skcipher_chunksize(9)crypto_lskcipher_chunksize(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)
xoxo, the kernel crypto girlies π source/version: ./include/crypto Β· date: October 2026 πΈβ¨
π¦ 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