aes_encrypt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… aes_encrypt(9) β€” live from the Kernel API Manual ✨

okay so bestie, welcome to aes_encrypt(9) from the Kernel API Manual β€” this is the little function that encrypts one single AES block, and honestly it's giving β€œsmall but iconic.” πŸŽ€


πŸ’– NAME

aes_encrypt β€” Encrypt a single AES block πŸ’«

✨ SYNOPSIS

void aes_encrypt (aes_encrypt_arg key , u8 out[static AES_BLOCK_SIZE] ,
const u8 in[static AES_BLOCK_SIZE] );

🌸 ARGUMENTS

  • key β€” The AES key, as a pointer to either an encryption-only key (struct aes_enckey) or a full, bidirectional key (struct aes_key). πŸ—οΈ
  • out β€” Buffer to store the ciphertext block. Put the encrypted glow-up in here, bestie. πŸ’…
  • in β€” Buffer containing the plaintext block. This is the original vibe before the crypto magic. πŸ¦‹

🫢 CONTEXT

Any context. Literally any context β€” no cap. 🌈

πŸ‘‘ SEE ALSO

Kernel file ./include/crypto/aes.h, plus these absolute icons:


and that’s the whole page, bestie πŸ’– source/version: ./include/crypto, dated October 2026 β€” periodt. βœ¨πŸŽ€

πŸ“¦ where this page comes from