aboutsummaryrefslogtreecommitdiffstats
path: root/ripemd-160.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 /ripemd-160.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 'ripemd-160.c')
-rw-r--r--ripemd-160.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/ripemd-160.c b/ripemd-160.c
deleted file mode 100644
index d1a1ece..0000000
--- a/ripemd-160.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-#ifdef SUPPORT_RIPEMD_160
-# define TEST
-# include "common.h"
-
-
-static struct testcase testcases[] = {
- {1, 0, "", "9c1185a5c5e9fc54612808977ee8f548b2258d31"},
- {1, 0, "a", "0bdc9d2d256b3ee9daae347be6f4dc835a467ffe"},
- {1, 0, "abc", "8eb208f7e05d987a9b044a8e98c6b087f15a0bfc"},
- {1, 0, "message digest", "5d0689ef49d2fae572b881b123a85ffa21595f36"},
- {1, 0, "abcdefghijklmnopqrstuvwxyz", "f71c27109c692c1b56bbdceb5b9d2865b3708dbc"},
- {1, 0, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", "12a053384a9c0c88e405a06c27dcf49ada62eb2b"},
- {1, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "b0e20b6e3116640286ed3a87a5713079b21f5189"},
- {8, 0, "1234567890", "9b752e45573d4b39f4dbd3323cab82bf63326bfb"},
- {1000000UL, 0, "a", "52783243c1697bdbe16d37f97f68f08325dc1528"},
- {0, 1, "\xff", "4cd9629a69fdd5fa1520047fa19b4b10480041c2"},
- {0, 1, "\x7f", "4cd9629a69fdd5fa1520047fa19b4b10480041c2"},
- {0, 1, "\x01", "4cd9629a69fdd5fa1520047fa19b4b10480041c2"},
- {0, 1, "\xfe", "63d03656713e6e8ea7b6be680328f9501f59f35e"},
- {0, 1, "\x7e", "63d03656713e6e8ea7b6be680328f9501f59f35e"},
- {0, 1, "\x00", "63d03656713e6e8ea7b6be680328f9501f59f35e"}
-};
-
-
-#else
-# define TEST_UNSUPPORTED
-# include "common.h"
-#endif
-
-
-int
-main(void)
-{
- TEST_MAIN("RIPEMD-160", RIPEMD_160);
-}