30 Commits

Author SHA1 Message Date
3afe9895c5 Finish the refactor. 2025-02-01 23:26:25 +01:00
0ae582b733 Refactor tests into a separate module. 2025-02-01 17:19:19 +01:00
17e28b8279 Implement PKCS #5 / PKCS #7 padding. 2025-02-01 02:12:05 +01:00
4ea665a621 Figure out Zig generics for GCM. 2025-02-01 01:40:36 +01:00
9d8a08eb46 Heavy lifting for GCM implementation. 2025-01-31 02:18:07 +01:00
4b96179ac9 misc: Code housekeeping, file restructuring. 2025-01-30 00:11:45 +01:00
2852ce4685 Fix SHA-2 hash serialization. 2025-01-29 23:24:14 +01:00
465273892c oopsie: Correct SHA-512 naming. 2025-01-29 23:10:28 +01:00
a21dd6b83c Refactor SHA implementation. 2025-01-29 21:58:09 +01:00
5883360258 Implement SHA-3. 2025-01-29 21:17:45 +01:00
d7f3e3e015 Generalize SHA, implement SHA-2. 2025-01-29 02:35:15 +01:00
c4a83d297f Test SHA-1 length limit. 2025-01-29 00:13:32 +01:00
3d9abf179e Test SHA-1 padding. 2025-01-28 23:55:08 +01:00
3d5022b6eb Implement SHA-1. 2025-01-28 23:14:54 +01:00
06d159083d Prepare SHA interfaces. 2025-01-28 00:22:36 +01:00
e7e0d5b782 Prepare SHA constants and structures. 2025-01-27 23:00:40 +01:00
556a7ab200 DES 2025-01-27 20:53:15 +01:00
f9333e3e7c Begin DES implementation. 2025-01-27 20:10:35 +01:00
8227c57abc Implement Salsa20. 2025-01-27 16:46:10 +01:00
24aed3a128 Add a readme. 2025-01-27 13:24:37 +01:00
486f815aed Test ChaCha20 counter edge cases. 2025-01-27 03:41:11 +01:00
fd2fbabca9 Make ChaCha20 tests a bit more didactic. 2025-01-27 03:15:48 +01:00
78d2503392 Finish implementation of ChaCha20. 2025-01-27 03:13:13 +01:00
8f02015cbf Use proper testing functions in AES tests. 2025-01-27 02:12:34 +01:00
bb8a474089 Refactor ChaCha into a saner interface, ep. 2. 2025-01-27 02:08:13 +01:00
633eb083b6 Refactor ChaCha into a saner interface. 2025-01-27 01:52:30 +01:00
7607278c56 Implement ChaCha20 block function. 2025-01-26 18:25:15 +01:00
bf272e47b6 Correct AES decryption. 2025-01-26 15:20:43 +01:00
df0b7a4279 Implement rest of AES operations. 2025-01-26 15:17:42 +01:00
97b407ad11 Initial commit - AES tests, high level impl 2025-01-26 01:33:01 +01:00