STRUCT CRYPTO_KEYS(9)
π struct crypto_keys(9) π
okay so bestie, welcome to the Kernel API Manual β¨ you're looking at struct crypto_keys(9) and honestly? she's a little icon. this is the manual page for the crypto keys struct, and we're gonna go through it together, no cap π«Ά
πΈ NAME πΈ
struct crypto_keys β Crypto keys π
that's it, that's the vibe. she holds keys. crypto ones. periodt π
π¦ SYNOPSIS π¦
here's the whole shape of her, literally copy-paste exact, don't come for me:
struct crypto_keys {
union {
u8 key[AES_MAX_KEY_SIZE];
u8 key1[AES_MAX_KEY_SIZE];
} u;
u8 iv[AES_BLOCK_SIZE];
};
so there's an anonymous-ish union named u holding two arrays β key and key1, both u8 and both sized AES_MAX_KEY_SIZE β and then a separate u8 iv[AES_BLOCK_SIZE]. that's the whole struct. she's compact. she's efficient. she's giving main character energy π
π Members π
ivβ Encryption IV or Tweak for AES-XTS π like, that's the member the page calls out, and it's doing double duty depending on the mode β IV vibes or XTS tweak vibes. iykyk π§
β SEE ALSO β
okay bestie, this is the friend group π all of these live in the kernel file ./drivers/crypto/cavium/nitrox/nitrox_req.h:
struct gphdr(9)union se_req_ctrl(9)struct se_crypto_request(9)struct auth_keys(9)struct flexi_crypto_context(9)struct nitrox_aead_rctx(9)struct nitrox_rfc4106_rctx(9)union pkt_instr_hdr(9)union pkt_hdr(9)union slc_store_info(9)struct nps_pkt_instr(9)struct aqmq_command_s(9)struct ctx_hdr(9)struct nitrox_softreq(9)create_single_sg(9)create_multi_sg(9)
like, she runs with a whole squad π go read them too, fr fr π
π reminder bestie: this page is from the ./drivers/crypto/cavium/nitrox corner of the kernel, so if you're poking around there, that's your home base π
and that's the whole page, you ate that π
mwah π β sourced from ./drivers/crypto/cavium/nitrox, dated October 2026, and yeah she's still out here being struct crypto_keys(9) π₯π¦ see you in the next man page, bestie π«Άβ¨
π¦ 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