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 /sha1.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-- | sha1.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -27,7 +27,13 @@ static struct testcase testcases[] = { {0, 4, "\x0d", "ba582f5967911beb91599684c2eb2baeefb78da7"}, {0, 5, "\x09", "3320540d1c28b96ddd03eee1b186a8f2ae883fbe"}, {0, 6, "\x08", "b372bd120957ebc3392cd060e131699d1fee6059"}, - {0, 7, "\x22", "04f31807151181ad0db278a1660526b0aeef64c2"} + {0, 7, "\x22", "04f31807151181ad0db278a1660526b0aeef64c2"}, + {0, 1, "\xff", "59c4526aa2cc59f9a5f56b5579ba7108e7ccb61a"}, + {0, 1, "\x7f", "59c4526aa2cc59f9a5f56b5579ba7108e7ccb61a"}, + {0, 1, "\x01", "59c4526aa2cc59f9a5f56b5579ba7108e7ccb61a"}, + {0, 1, "\xfe", "bb6b3e18f0115b57925241676f5b1ae88747b08a"}, + {0, 1, "\x7e", "bb6b3e18f0115b57925241676f5b1ae88747b08a"}, + {0, 1, "\x00", "bb6b3e18f0115b57925241676f5b1ae88747b08a"} }; |