crypto_aead_reqsize(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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