aboutsummaryrefslogtreecommitdiffstats
path: root/sha1.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-01 18:16:43 +0200
committerMattias Andrée <maandree@kth.se>2024-09-01 18:16:43 +0200
commit32ad692395f1497afd3ed47565ce139484b4905a (patch)
treef5cd5de8ae81fb1c254b6102c2f6a1c0d58b9bfe /sha1.c
parentm fix (diff)
downloadanysum-32ad692395f1497afd3ed47565ce139484b4905a.tar.gz
anysum-32ad692395f1497afd3ed47565ce139484b4905a.tar.bz2
anysum-32ad692395f1497afd3ed47565ce139484b4905a.tar.xz
Organise files
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'sha1.c')
-rw-r--r--sha1.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/sha1.c b/sha1.c
deleted file mode 100644
index 2ca4917..0000000
--- a/sha1.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-#ifdef SUPPORT_SHA1
-# define TEST
-# include "common.h"
-
-
-static struct testcase testcases[] = {
- {1, 0, "", "da39a3ee5e6b4b0d3255bfef95601890afd80709"},
- {1, 0, "\xff", "85e53271e14006f0265921d02d4d736cdc580b0b"},
- {1, 0, "\xe5\xe0\x99\x24", "d1dffbc8a175dd8eebe0da87b1792b6dc1018e82"},
- {56UL, 8, "\0", "9438e360f578e12c0e0e8ed28e2c125c1cefee16"},
- {1000UL, 0, "Q", "49f1cfe3829963158e2b2b2cb5df086cee2e3bb0"},
- {1000UL, 0, "A", "3ae3644d6777a1f56a1defeabc74af9c4b313e49"},
- {1005UL, 0, "\x99", "18685d56c8bf67c3cee4443e9a78f65c30752f5d"},
- {1, 0, "abc", "a9993e364706816aba3e25717850c26c9cd0d89d"},
- {1, 0, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
- "84983e441c3bd26ebaae4aa1f95129e5e54670f1"},
-# ifdef MASSIVE_TESTS
- {0x20000000UL, 0, "A", "df3f26fce8fa7bec2c61d0506749a320ac7dc942"},
- {0x41000000UL, 8, "\0", "320c617b0b6ee1b6f9c3271eae135f40cae22c10"},
- {0x6000003FUL, 0, "\x84", "b20aa99b62e6a480fd93b4d24b2c19ffac649bb8"},
-# endif
- {1000000UL, 8, "\0", "bef3595266a65a2ff36b700a75e8ed95c68210b6"}
-};
-
-
-#else
-# define TEST_UNSUPPORTED
-# include "common.h"
-#endif
-
-
-int
-main(void)
-{
- TEST_MAIN("SHA1", SHA1);
-}