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-256.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-256.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ripemd-256.c b/ripemd-256.c index a892b2b..646dbba 100644 --- a/ripemd-256.c +++ b/ripemd-256.c @@ -22,7 +22,19 @@ static struct testcase testcases[] = { {8, 0, "1234567890", "06fdcc7a409548aaf91368c06a6275b553e3f099bf0ea4edfd6778df89a890dd"}, {1000000UL, 0, "a", - "ac953744e10e31514c150d4d8d7b677342e33399788296e43ae4850ce4f97978"} + "ac953744e10e31514c150d4d8d7b677342e33399788296e43ae4850ce4f97978"}, + {0, 1, "\xff", + "837e2738bee15d14b8a6f984b992bcd404e2df2e18f70e89c60647cd90fcfff4"}, + {0, 1, "\x7f", + "837e2738bee15d14b8a6f984b992bcd404e2df2e18f70e89c60647cd90fcfff4"}, + {0, 1, "\x01", + "837e2738bee15d14b8a6f984b992bcd404e2df2e18f70e89c60647cd90fcfff4"}, + {0, 1, "\xfe", + "555d43ce2b77dbc1e292372ef850ff8c92ce2fa6fe778501daf37974948ccfcf"}, + {0, 1, "\x7e", + "555d43ce2b77dbc1e292372ef850ff8c92ce2fa6fe778501daf37974948ccfcf"}, + {0, 1, "\x00", + "555d43ce2b77dbc1e292372ef850ff8c92ce2fa6fe778501daf37974948ccfcf"} }; |