STRUCT DTHE_AES_REQ_CTX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to the Kernel API Manual entry for struct dthe_aes_req_ctx β€” literally the AES engine req ctx struct πŸ’… that's the whole name, that's the whole vibe, and yes it's a struct in the kernel API docs, iykyk. fr fr this is the little bundle of state the DTHEv2 AES engine carries around per request πŸŽ€


✨ SYNOPSIS ✨

not me just dropping the whole struct, character for character, because you need it exactly like this 🫢

struct dthe_aes_req_ctx {
    int enc;
    u8 padding[2 * AES_BLOCK_SIZE];
    struct completion aes_compl;
 };

🧚 Members 🧚

okay so let's do a vibe check on every single field, no skipping, we don't do that here πŸ’–

  • enc β€” this is the flag telling you whether we're doing an encryption or a decryption operation. that's it, that's the flag. lowkey iconic 🌈
  • padding β€” a padding buffer whose whole job is handling unaligned data πŸŽ€ yes it's there for the messy unaligned stuff, it's doing the lord's work tbh.
  • aes_compl β€” the Completion variable, there for when you need to do a manual completion in case of a DMA callback failure 😭 like if the DMA callback ghosts you, this is the thing that says "it's done bestie". highkey important.

πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, fr fr, they're all in ./drivers/crypto/ti/dthev2-common.h in the Kernel file 🌸:

  • struct dthe_data(9)
  • struct dthe_list(9)
  • struct dthe_tfm_ctx(9)
  • dthe_copy_sg(9)

the way that this whole page lives at ./drivers/crypto/ti and is dated October 2026... main character energy ⭐

and that's the page, bestie β€” shoutout to struct dthe_aes_req_ctx(9), source & version straight from ./drivers/crypto/ti, dated October 2026, slay, periodt πŸ’…πŸ¦‹

πŸ“¦ where this page comes from