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 --- ripemd-128.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ripemd-128.c') diff --git a/ripemd-128.c b/ripemd-128.c index 993c031..b44c494 100644 --- a/ripemd-128.c +++ b/ripemd-128.c @@ -13,7 +13,13 @@ static struct testcase testcases[] = { {1, 0, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", "a1aa0689d0fafa2ddc22e88b49133a06"}, {1, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "d1e959eb179c911faea4624c60c5c702"}, {8, 0, "1234567890", "3f45ef194732c2dbb2c4a2c769795fa3"}, - {1000000UL, 0, "a", "4a7f5723f954eba1216c9d8f6320431f"} + {1000000UL, 0, "a", "4a7f5723f954eba1216c9d8f6320431f"}, + {0, 1, "\xff", "2b4535a3d10c346e06cacff50db484ca"}, + {0, 1, "\x7f", "2b4535a3d10c346e06cacff50db484ca"}, + {0, 1, "\x01", "2b4535a3d10c346e06cacff50db484ca"}, + {0, 1, "\xfe", "431f5ff8e69c47afd0212863079ce205"}, + {0, 1, "\x7e", "431f5ff8e69c47afd0212863079ce205"}, + {0, 1, "\x00", "431f5ff8e69c47afd0212863079ce205"} }; -- cgit v1.2.3-70-g09d2