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 --- md4.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'md4.c') diff --git a/md4.c b/md4.c index 065ca26..650c50c 100644 --- a/md4.c +++ b/md4.c @@ -15,7 +15,13 @@ static struct testcase testcases[] = { {1, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "043f8582f241db351ce627e153e7f0e4"}, {1, 0, "12345678901234567890123456789012345678901234567890123456789012345678901234567890", "e33b4ddc9c38f2199c3e7b164fcc0536"}, {1, 0, "1234567890123456789012345678901234567890123456789012345678901234", "c30a2de7d6eb547b4ceb82d65e28c029"}, - {1000000UL, 0, "a", NULL} + {1000000UL, 0, "a", NULL}, + {0, 1, "\xff", "15f8f7419944ac564526a3c65da2c5f3"}, + {0, 1, "\x7f", "15f8f7419944ac564526a3c65da2c5f3"}, + {0, 1, "\x01", "15f8f7419944ac564526a3c65da2c5f3"}, + {0, 1, "\xfe", "8d62ecbf6ffbc49dec08bb4c537189bb"}, + {0, 1, "\x7e", "8d62ecbf6ffbc49dec08bb4c537189bb"}, + {0, 1, "\x00", "8d62ecbf6ffbc49dec08bb4c537189bb"} }; -- cgit v1.2.3-70-g09d2