ASYNCHRONOUS AEAD REQUEST HANDLE(9)
β¨ ASYNCHRONOUS AEAD REQUEST HANDLE (9) β¨
okay so bestie, let me introduce you to the struct aead_request β literally the main character of the AEAD cipher operation. it's the data structure that holds all the pointers to the data you need. no cap. π
this little icon contains:
- the cipher handle (and bestie, it can be shared by multiple
aead_requestinstances β it's giving reusable, sustainable, iconic) π - a pointer to plaintext
- a pointer to ciphertext
- the asynchronous callback function
- and all the other stuff you need, depending on the vibe π¦
it basically acts as a handle to the aead_request_* API calls β like, in the same way that the AEAD handle relates to the crypto_aead_* API calls. iykyk. β¨
π SEE ALSO π
- Kernel file
./include/crypto/aead.hβ the home base, the mothership, the source of truth π - Authenticated Encryption With Associated Data (AEAD) Cipher API(9) β the big picture, highly recommend π«Ά
struct aead_request(9) β hi, that's me, I'm the problem, it's me πstruct aead_alg(9) β the algorithm struct, giving backend energy π₯crypto_alloc_aead(9) β allocates your AEAD handle, the whole starting point, periodt πcrypto_free_aead(9) β the cleanup era, we love a responsible queen πcrypto_has_aead(9) β checks if the algorithm exists, the vibe check of the crypto world βcrypto_aead_ivsize(9) β tells you the IV size, no guessing, we love clarity πcrypto_aead_authsize(9) β authentication size, keeping it secure fr fr π¦crypto_aead_blocksize(9) β block size, the building block (pun intended, I'm hilarious) πcrypto_aead_setkey(9) β sets the key, the ultimate lock and key moment πcrypto_aead_setauthsize(9) β sets the authentication size, customizing the security vibe πcrypto_aead_encrypt(9) β the encryption function itself, the main event πΈcrypto_aead_decrypt(9) β the decryption function, the reverse uno card π§crypto_aead_reqsize(9) β tells you the request size, very helpful, very demure πaead_request_set_tfm(9) β sets the transform, important stuff π₯aead_request_alloc(9) β allocates the request, the birth of a star πaead_request_free(9) β frees the request, the circle of life πaead_request_set_callback(9) β sets the callback, so you know when it's done πaead_request_set_crypt(9) β sets crypt parameters, getting down to business πaead_request_set_ad(9) β sets the associated data, the plus-one of the encryption world π«Ά
and that's the tea, bestie! this gorgeous page is from the ./include/crypto directory, dated October 2026, and it's part of the Kernel API Manual for the Asynchronous AEAD Request Handle(9). slay! π
β¨π
π¦ 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