Skip to main content

Module aes

Module aes 

Source

Structs§

Aes128Block
A raw AES-128 block cipher.
Aes128Ctr
AES-128 in CTR mode.
Aes128Gcm
AES-128-GCM authenticated cipher.
Aes256Block
A raw AES-256 block cipher.
Aes256Ctr
AES-256 in CTR mode.
Aes256Gcm
AES-256-GCM authenticated cipher.

Functions§

decrypt_block
Decrypt one 16-byte block.
encrypt_block
Encrypt one 16-byte block.
expand_key
Expand a key into AES round keys (FIPS 197 §5.2).