aead_request_alloc(9)
π aead_request_alloc(9) π
okay so bestie, welcome to the aead_request_alloc page β it's from the Kernel API Manual and it's literally the glow-up moment where your request data structure gets born β¨
πΈ NAME πΈ
aead_request_alloc β allocate request data structure (yes that's the whole job, and she does it flawlessly π
)
π¦ SYNOPSIS π¦
struct aead_request * aead_request_alloc (struct crypto_aead *tfm ,
gfp_t gfp );
π ARGUMENTS π
tfmβ the cipher handle that gets registered with the request π«Ά like, she's the plus-one you're bringing to the party.gfpβ the memory allocation flag that's handed off tokmallocby the API call. it's giving "pass the note along" energy ngl.
β¨ DESCRIPTION β¨
So here's the vibe: this call allocates the request data structure that you must use with the AEAD encrypt and decrypt API calls. no substitutions, bestie, this is the one π
And during the allocation, the aead handle you provided gets registered right into the request data structure. main character registration moment fr fr π
π RETURN π
- allocated request handle in case of success π
- or
NULLif out of memory π (the tragedy, the drama, the-ENOMEMof it all)
π SEE ALSO π
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), crypto_aead_reqsize(9), aead_request_set_tfm(9), aead_request_free(9), aead_request_set_callback(9), aead_request_set_crypt(9), aead_request_set_ad(9)
like, that's the whole friend group and they're all iconic in their own way π§π
and that's the page, bestie!! π tysm for reading, mwah π
sign-off szn: this beauty lives in ./include/crypto, dated October 2026, and it's the aead_request_alloc(9) era obviously π
β¨ see u in the kernel, xoxo π¦
π¦ 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