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 /sha_512.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-- | sha_512.c | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -49,7 +49,25 @@ static struct testcase testcases[] = { {1, 0, "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhi" "jklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu", "8e959b75dae313da8cf4f72814fc143f8f7779c6eb9f7fa17299aeadb6889018" - "501d289e4900f7e4331b99dec4b5433ac7d329eeb6dd26545e96e55b874be909"} + "501d289e4900f7e4331b99dec4b5433ac7d329eeb6dd26545e96e55b874be909"}, + {0, 1, "\xff", + "5f72ee8494a425ba13fc8c48ac0a05cbaae7e932e471e948cb524333745aa432" + "c1851c0c43682b0e67d64626f8f45cf165f6b538a94c63be98224e969e75d7ed"}, + {0, 1, "\x7f", + "5f72ee8494a425ba13fc8c48ac0a05cbaae7e932e471e948cb524333745aa432" + "c1851c0c43682b0e67d64626f8f45cf165f6b538a94c63be98224e969e75d7ed"}, + {0, 1, "\x01", + "5f72ee8494a425ba13fc8c48ac0a05cbaae7e932e471e948cb524333745aa432" + "c1851c0c43682b0e67d64626f8f45cf165f6b538a94c63be98224e969e75d7ed"}, + {0, 1, "\xfe", + "b4594eb12959fc2e6979b6783554299cc0369f44083a8b0955baefd8830cda22" + "894b0b46c0ed49490e391ad99af856cc1bd96f238c7f2a17cf37aeb7e793395a"}, + {0, 1, "\x7e", + "b4594eb12959fc2e6979b6783554299cc0369f44083a8b0955baefd8830cda22" + "894b0b46c0ed49490e391ad99af856cc1bd96f238c7f2a17cf37aeb7e793395a"}, + {0, 1, "\x00", + "b4594eb12959fc2e6979b6783554299cc0369f44083a8b0955baefd8830cda22" + "894b0b46c0ed49490e391ad99af856cc1bd96f238c7f2a17cf37aeb7e793395a"} }; |