aboutsummaryrefslogtreecommitdiffstats
path: root/md4.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 /md4.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 'md4.c')
-rw-r--r--md4.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/md4.c b/md4.c
deleted file mode 100644
index 650c50c..0000000
--- a/md4.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-#ifdef SUPPORT_MD4
-# define TEST
-# include "common.h"
-
-
-static struct testcase testcases[] = {
- {1, 0, "The quick brown fox jumps over the lazy dog", "1bee69a46ba811185c194762abaeae90"},
- {1, 0, "The quick brown fox jumps over the lazy cog", "b86e130ce7028da59e672d56ad0113df"},
- {1, 0, "", "31d6cfe0d16ae931b73c59d7e0c089c0"},
- {1, 0, "a", "bde52cb31de33e46245e05fbdbd6fb24"},
- {1, 0, "abc", "a448017aaf21d8525fc10ae87aa6729d"},
- {1, 0, "message digest", "d9130a8164549fe818874806e1c7014b"},
- {1, 0, "abcdefghijklmnopqrstuvwxyz", "d79e1c308aa5bbcdeea8ed63df412da9"},
- {1, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "043f8582f241db351ce627e153e7f0e4"},
- {1, 0, "12345678901234567890123456789012345678901234567890123456789012345678901234567890", "e33b4ddc9c38f2199c3e7b164fcc0536"},
- {1, 0, "1234567890123456789012345678901234567890123456789012345678901234", "c30a2de7d6eb547b4ceb82d65e28c029"},
- {1000000UL, 0, "a", NULL},
- {0, 1, "\xff", "15f8f7419944ac564526a3c65da2c5f3"},
- {0, 1, "\x7f", "15f8f7419944ac564526a3c65da2c5f3"},
- {0, 1, "\x01", "15f8f7419944ac564526a3c65da2c5f3"},
- {0, 1, "\xfe", "8d62ecbf6ffbc49dec08bb4c537189bb"},
- {0, 1, "\x7e", "8d62ecbf6ffbc49dec08bb4c537189bb"},
- {0, 1, "\x00", "8d62ecbf6ffbc49dec08bb4c537189bb"}
-};
-
-
-#else
-# define TEST_UNSUPPORTED
-# include "common.h"
-#endif
-
-
-int
-main(void)
-{
- TEST_MAIN("MD4", MD4);
-}