STRUCT CRYPTO_KEYS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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