diff options
author | Mattias Andrée <maandree@kth.se> | 2024-09-01 18:12:21 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-09-01 18:12:21 +0200 |
commit | 85b12e691577b4d4fe09b80b06e91a801dc3dfa9 (patch) | |
tree | 69c64bc9a9fc97826fe8cb2d7ef82f00b1193efc /sha_512_224.c | |
parent | Add support for BLAKE2 (but not tree-hashing) (diff) | |
download | libhashsum-85b12e691577b4d4fe09b80b06e91a801dc3dfa9.tar.gz libhashsum-85b12e691577b4d4fe09b80b06e91a801dc3dfa9.tar.bz2 libhashsum-85b12e691577b4d4fe09b80b06e91a801dc3dfa9.tar.xz |
Move test files into t/
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'sha_512_224.c')
-rw-r--r-- | sha_512_224.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sha_512_224.c b/sha_512_224.c deleted file mode 100644 index a95bf92..0000000 --- a/sha_512_224.c +++ /dev/null @@ -1,26 +0,0 @@ -/* See LICENSE file for copyright and license details. */ -#ifdef SUPPORT_SHA2 -# define TEST -# include "common.h" - - -static struct testcase testcases[] = { - {1, 0, "", "6ed0dd02806fa89e25de060c19d3ac86cabb87d6a0ddd05c333b84f4"}, - {1000UL, 0, "A", "3000c31a7ab8e9c760257073c4d3be370fab6d1d28eb027c6d874f29"}, - {1, 0, "abc", "4634270f707b6a54daae7530460842e20e37ed265ceee9a43e8924aa"}, - {1, 0, "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu", - "23fec5bb94d60b23308192640b0c453335d664734fe40e7268674af9"} -}; - - -#else -# define TEST_UNSUPPORTED -# include "common.h" -#endif - - -int -main(void) -{ - TEST_MAIN("SHA-512/224", SHA_512_224); -} |