454d1d6011
feat(aes): add AES-CBC mode implementation
...
Add AesCbc struct with:
- CBC mode encryption with PKCS#7 padding
- CBC mode decryption with padding validation
- XOR chaining with IV for first block
- Expose encrypt_block/decrypt_block as pub(crate)
2025-12-31 00:58:49 +02:00
46a47102b9
feat(factory): add cipher/algorithm helper functions
2025-11-24 12:02:22 +02:00
a8ccd3d294
refactor(aes): operate on custom values
2025-11-24 10:48:27 +02:00
37f8a97a11
refactor(aes): move to operations module
2025-11-24 08:50:22 +02:00
830c457b2a
feat(aes): Implement transform_impl with encryption and decryption rounds
...
- Implements core `transform_impl` handling both Encrypt and Decrypt actions.
- Implements 10-round AES encryption (standard rounds + final round).
- Implements 10-round AES decryption (inverse rounds + final inverse round).
- Adds `add_round_key` helper to XOR state with subkey block.
2025-11-24 08:50:22 +02:00
3de3440f16
feat(aes): add inverse SBox lookup
2025-11-24 08:50:22 +02:00
b2c5209214
feat(aes): add substitute bytes
2025-11-24 08:50:22 +02:00
7e5162fb44
feat(aes): add round key
2025-11-24 08:50:22 +02:00
4007a9a04d
fix: clippy warnings
2025-11-24 08:50:22 +02:00
88328256b3
feat(aes): add subkey blanket
2025-11-24 08:50:22 +02:00
8b80e17f82
feat(aes): add 128 bit key and block
2025-11-24 08:50:22 +02:00