From febb5279f7bf3c86ec872c1b2ed1e024f73e64c5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 24 Aug 2024 20:13:01 +0200 Subject: Add BLAKE via libblake>=1.1 (this version introduced libblake_init()) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- md5.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'md5.c') 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"} }; -- cgit v1.2.3-70-g09d2