From 85b12e691577b4d4fe09b80b06e91a801dc3dfa9 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 1 Sep 2024 18:12:21 +0200 Subject: Move test files into t/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- keccak_256.c | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 keccak_256.c (limited to 'keccak_256.c') diff --git a/keccak_256.c b/keccak_256.c deleted file mode 100644 index 4ac5930..0000000 --- a/keccak_256.c +++ /dev/null @@ -1,28 +0,0 @@ -/* See LICENSE file for copyright and license details. */ -#ifdef SUPPORT_KECCAK -# define TEST -# include "common.h" - - -static struct testcase testcases[] = { - {1, 0, "", "c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"}, - {0, 1, "\xff", "1f9e121db558ff4a6111d06e48b47aa9e8c968222397c5867ed627c82a5bcce4"}, - {0, 1, "\x7f", "1f9e121db558ff4a6111d06e48b47aa9e8c968222397c5867ed627c82a5bcce4"}, - {0, 1, "\x01", "1f9e121db558ff4a6111d06e48b47aa9e8c968222397c5867ed627c82a5bcce4"}, - {0, 1, "\xfe", "c3e5cb55999eeff4e07b7effec77582d0a5a11a94fc268a872493099273992e1"}, - {0, 1, "\x7e", "c3e5cb55999eeff4e07b7effec77582d0a5a11a94fc268a872493099273992e1"}, - {0, 1, "\x00", "c3e5cb55999eeff4e07b7effec77582d0a5a11a94fc268a872493099273992e1"} -}; - - -#else -# define TEST_UNSUPPORTED -# include "common.h" -#endif - - -int -main(void) -{ - TEST_MAIN("Keccak-256", KECCAK_256); -} -- cgit v1.2.3-70-g09d2