Expand description
AES block cipher implementations
This module implements the Advanced Encryption Standard (AES) block cipher as specified in FIPS 197.
§Constant-Time Guarantees
This implementation mitigates timing side-channel attacks by:
- Using branchless arithmetic for GF(2^8) operations
- Using bitsliced S-box implementations instead of table lookups
- Ensuring consistent memory access patterns
- Validating keys before use to prevent silent failure
Note: On platforms where AES hardware acceleration is available, consider using hardware instructions for better side-channel resistance.
Structs§
Enums§
- Aes128
Algorithm - Type-level constants for AES-128
- Aes192
Algorithm - Type-level constants for AES-192
- Aes256
Algorithm - Type-level constants for AES-256