diff options
author | Mattias Andrée <maandree@kth.se> | 2024-08-24 20:13:01 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-08-24 20:13:01 +0200 |
commit | febb5279f7bf3c86ec872c1b2ed1e024f73e64c5 (patch) | |
tree | ea6918fc1dcb29e11ce9399b8300a124cc0342cf /md5.c | |
parent | Add support for Keccak, SHA3, SHAKE, and RawSHAKE via libkeccak>=1.3 (this version introduced zerocopy) (diff) | |
download | libhashsum-febb5279f7bf3c86ec872c1b2ed1e024f73e64c5.tar.gz libhashsum-febb5279f7bf3c86ec872c1b2ed1e024f73e64c5.tar.bz2 libhashsum-febb5279f7bf3c86ec872c1b2ed1e024f73e64c5.tar.xz |
Add BLAKE via libblake>=1.1 (this version introduced libblake_init())
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'md5.c')
-rw-r--r-- | md5.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -106,7 +106,13 @@ static struct testcase testcases[] = { {2049UL, 0, "x", "01ee208262ef50b8ea672d0865ad58fa"}, {2050UL, 0, "x", "da23b925b41f6160146ade5dc7f65281"}, {2051UL, 0, "x", "2583da14d43398956e19e24a6f591748"}, - {2052UL, 0, "x", "2388049a9674713a2e82cd59d2cc9241"} + {2052UL, 0, "x", "2388049a9674713a2e82cd59d2cc9241"}, + {0, 1, "\xff", "7e663710ae2348bf0deaca2c79311eae"}, + {0, 1, "\x7f", "7e663710ae2348bf0deaca2c79311eae"}, + {0, 1, "\x01", "7e663710ae2348bf0deaca2c79311eae"}, + {0, 1, "\xfe", "1da635b1430f171c657206fd69fee0e8"}, + {0, 1, "\x7e", "1da635b1430f171c657206fd69fee0e8"}, + {0, 1, "\x00", "1da635b1430f171c657206fd69fee0e8"} }; |