|
b26a9c7274
|
auth: replace init args with a implementation-specific params struct
This allows for more flexibility in the future.
This commit breaks ChaCha20-Poly1305. It'll be fixed in a subsequent
commit.
|
2024-06-07 18:40:14 +00:00 |
|
|
1a8f813442
|
hash: implement SHA-{224,256}
Add the HMAC and Wycheproof bits for HMAC while at it.
|
2024-06-07 03:14:21 +00:00 |
|
|
11b86db9db
|
auth/hmac: 0-pad the hashed key in longer-than-blocksize case
|
2024-06-06 17:14:30 +00:00 |
|
|
ad42d99e0b
|
auth: add HMAC implementation
This allows for checking the SHA-512 implementation against Wycheproof
via the HMAC tests.
|
2024-06-06 12:41:44 +00:00 |
|