ASYNCHRONOUS AEAD REQUEST HANDLE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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_request instances β€” 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