STRUCT AES_XTS_KEY(9)
π struct aes_xts_key(9) π
okay so bestie, welcome to the Kernel API Manual β this lil page is all about struct aes_xts_key, and yes it's as niche as it sounds but we're gonna slay it together π«Ά
β¨ NAME β¨
struct aes_xts_key β literally a key that's been prepared for AES-XTS encryption and decryption. that's it, that's the vibe. no cap π
πΈ SYNOPSIS πΈ
bestie. brace yourself. here's the whole thing:
struct aes_xts_key {
};
...yeah. that's the entire struct definition as written here. she's mysterious, she's giving "nothing to see here", and honestly? iconic π
π Members π
this section is right here in the original, and it lists no members. zero. none. the page simply doesn't spell any out β so don't come for me, I'm not inventing any β¨ (iykyk)
π¦ Description π¦
okay here's the actual tea β and it's an important one:
lowkey note that β depending on the architecture β this thing is typically around 768 bytes, which makes it a bit too large to allocate on the stack in most cases.
so yeah, no just yeeting this bad boy onto the stack like it's nothing π 768-ish bytes is main-character-sized and the stack is not ready for that energy. keep it somewhere safer, bestie π
π₯ SEE ALSO π₯
go check these out, fr fr β they're the whole friend group π
- Kernel file
./include/crypto/aes-xts.hβ the origin file π aes_xts_preparekey(9)β the one who gets the key ready β¨aes_xts_encrypt(9)β the one who locks it down πaes_xts_decrypt(9)β the one who opens it back up π
π and that's the whole page π
short, sweet, and to the point β sometimes a manpage is just a vibe check π§π
mwah π this little cutie comes from the source ./include/crypto and is dated October 2026 β go off, calendar queen π
π¦ 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