aes_encrypt(9)
π
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:
struct aes_enckey(9)struct aes_key(9)aes_expandkey(9)aes_preparekey(9)aes_prepareenckey(9)aes_decrypt(9)
and thatβs the whole page, bestie π source/version: ./include/crypto, dated October 2026 β periodt. β¨π
π¦ 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