STRUCT AES_KEY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to struct aes_key(9) from the Kernel API Manual β€” this is the AES key struct that’s prepared for encryption and decryption, and yes it has main character energy πŸ’…βœ¨

🌸 NAME 🌸

struct aes_key β€” An AES key prepared for encryption and decryption πŸŽ€

πŸŽ€ SYNOPSIS πŸŽ€

struct aes_key {
    struct aes_enckey;
    union aes_invkey_arch inv_k;
 };

🧚 Members 🧚

  • aes_enckey β€” the common fields and the key prepared for encryption πŸ’–
  • inv_k β€” this generally contains the round keys for the AES Equivalent Inverse Cipher, as an array of nrounds + 1 groups of four u32 words. But heads up: architecture-specific implementations of AES may store something else here β€” for example, they may leave this field uninitialized if they use k for both encryption and decryption πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

cute sign-off for the source/version line: ./include/crypto, dated October 2026 πŸ«ΆπŸ’–

πŸ“¦ where this page comes from