Commit graph

17 commits

Author SHA1 Message Date
Lireer
91745d5d27 use assert_eq instead of debug_assert_eq 2022-01-30 15:28:50 +01:00
Lireer
fddad8965d deduplicate aes testing code 2022-01-30 14:30:31 +01:00
Lireer
85bb91fb50 update aes-crypto dependencies 2022-01-26 14:52:10 +01:00
Lireer
bb97711761 explain trait guarantee violation of read impl 2022-01-25 20:39:22 +01:00
Lireer
09ad713d20 update crypto dependencies 2021-08-06 12:40:57 +02:00
Lireer
8f352c30f1 add missing documentation 2021-08-05 21:16:11 +02:00
Lireer
ed94e8b369 test if using the wrong key size panics 2021-08-05 21:06:47 +02:00
Lireer
5f0ae55eae Document possible panics 2021-08-05 21:06:47 +02:00
Lireer
5532fd6f09 Document aes related modules 2021-08-05 21:06:47 +02:00
Lireer
354993d906 feature gate aes decryption 2021-08-05 21:06:47 +02:00
Lireer
8ffc2d1545 cargo fmt and clippy 2021-08-04 20:26:31 +02:00
Lireer
d25d6f5f57 finalize AesReader validation and most of decryption 2021-08-04 19:56:14 +02:00
Lireer
4877a6afd4 test different aes modes and data sizes 2021-08-02 19:47:47 +02:00
Marc Brinkmann
4afe4d3b2c Optimize AES code, use less copies 2021-08-02 19:42:49 +02:00
Marc Brinkmann
a5d1905db6 Simpify aes_ctr API to just crypt 2021-08-02 19:42:49 +02:00
Marc Brinkmann
9f6ee0f4b6 Add crypt convenience function 2021-08-02 19:42:49 +02:00
Marc Brinkmann
a265ba7fa5 Create initial aes_ctr module 2021-08-02 19:42:49 +02:00