aboutsummaryrefslogtreecommitdiffstats
path: root/md5.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-24 20:13:01 +0200
committerMattias Andrée <maandree@kth.se>2024-08-24 20:13:01 +0200
commitfebb5279f7bf3c86ec872c1b2ed1e024f73e64c5 (patch)
treeea6918fc1dcb29e11ce9399b8300a124cc0342cf /md5.c
parentAdd support for Keccak, SHA3, SHAKE, and RawSHAKE via libkeccak>=1.3 (this version introduced zerocopy) (diff)
downloadlibhashsum-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.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/md5.c b/md5.c
index a56ecfc..52a6b72 100644
--- a/md5.c
+++ b/md5.c
@@ -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"}
};