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 /ripemd-128.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 '')
-rw-r--r-- | ripemd-128.c | 8 |
1 files changed, 7 insertions, 1 deletions
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"} }; |