aboutsummaryrefslogtreecommitdiffstats
path: root/sha0.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-01 18:12:21 +0200
committerMattias Andrée <maandree@kth.se>2024-09-01 18:12:21 +0200
commit85b12e691577b4d4fe09b80b06e91a801dc3dfa9 (patch)
tree69c64bc9a9fc97826fe8cb2d7ef82f00b1193efc /sha0.c
parentAdd support for BLAKE2 (but not tree-hashing) (diff)
downloadlibhashsum-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 'sha0.c')
-rw-r--r--sha0.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/sha0.c b/sha0.c
deleted file mode 100644
index ae530e0..0000000
--- a/sha0.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-#ifdef SUPPORT_SHA0
-# define TEST
-# include "common.h"
-
-
-static struct testcase testcases[] = {
- {1, 0, "abc", "0164b8a914cd2a5e74c4f7ff082c4d97f1edf880"},
- {0, 1, "\xff", "72eb6615d834148bbf63d5ddfe172a36a072a724"},
- {0, 1, "\x7f", "72eb6615d834148bbf63d5ddfe172a36a072a724"},
- {0, 1, "\x01", "72eb6615d834148bbf63d5ddfe172a36a072a724"},
- {0, 1, "\xfe", "b8b0ca781d45a96d2e71f798e7e26b5c2bc8b5c8"},
- {0, 1, "\x7e", "b8b0ca781d45a96d2e71f798e7e26b5c2bc8b5c8"},
- {0, 1, "\x00", "b8b0ca781d45a96d2e71f798e7e26b5c2bc8b5c8"}
-};
-
-
-#else
-# define TEST_UNSUPPORTED
-# include "common.h"
-#endif
-
-
-int
-main(void)
-{
- TEST_MAIN("SHA0", SHA0);
-}