crypto_aead_reqsize(9)
β¨ crypto_aead_reqsize(9) β¨
okay so bestie, welcome to the Kernel API Manual β this one's crypto_aead_reqsize, and it's honestly one of the chillest little functions in the whole crypto corner of the kernel π she's one job and one job only, and she does it.
πΈ NAME πΈ
crypto_aead_reqsize β literally just tells you the size of the request data structure π
no cap, that's the whole vibe.
π¦ SYNOPSIS π¦
unsigned int crypto_aead_reqsize (struct crypto_aead *tfm );
like... one argument, one return type, zero drama. iconic behavior honestly.
π ARGUMENTS π
tfmβ your cipher handle π«Ά that's it, that's the whole input. she just wants the handle, she's lowkey easy to please.
β RETURN β
returns the number of bytes π (number of bytes β the size of the request data structure, bestie, that's what we came for).
π₯ SEE ALSO π₯
okay this list is LONG but every single one of these matters, so let's go, no skipping, we don't do that here:
- Kernel file
./include/crypto/aead.h - Authenticated Encryption With Associated Data (AEAD) Cipher API(9)
- struct
aead_request(9) - struct
aead_alg(9) crypto_alloc_aead(9)crypto_free_aead(9)crypto_has_aead(9)crypto_aead_ivsize(9)crypto_aead_authsize(9)crypto_aead_blocksize(9)crypto_aead_setkey(9)crypto_aead_setauthsize(9)crypto_aead_encrypt(9)crypto_aead_decrypt(9)- Asynchronous AEAD Request Handle(9)
aead_request_set_tfm(9)aead_request_alloc(9)aead_request_free(9)aead_request_set_callback(9)aead_request_set_crypt(9)aead_request_set_ad(9)
like look at her, she's got the whole AEAD friend group in her contacts π every alloc, every free, every setter, every setter's cousin β all accounted for. main character energy fr fr π
also quick reminder: everything above is exactly as written in the original β I didn't merge anything, didn't "fix" anything, didn't invent options. if it's listed, it's listed. periodt.
π a lil sign-off π
and that's the page, bestie!! she lives in ./include/crypto π the version stamp says October 2026, and the name at the two bottom corners is crypto_aead_reqsize(9) β go forth and size those requests πβ¨π
π¦ 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