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_512.c | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 keccak_512.c (limited to 'keccak_512.c') diff --git a/keccak_512.c b/keccak_512.c deleted file mode 100644 index fae3585..0000000 --- a/keccak_512.c +++ /dev/null @@ -1,42 +0,0 @@ -/* See LICENSE file for copyright and license details. */ -#ifdef SUPPORT_KECCAK -# define TEST -# include "common.h" - - -static struct testcase testcases[] = { - {1, 0, "", - "0eab42de4c3ceb9235fc91acffe746b29c29a8c366b7c60e4e67c466f36a4304" - "c00fa9caf9d87976ba469bcbe06713b435f091ef2769fb160cdab33d3670680e"}, - {0, 1, "\xff", - "23309d222712996f6caacd52656a11467fc96d8b2666803b2f5ab9019be1f3b1" - "2044f09cdb3c38050ecab7d0f285a6f31ab1f559e645182ffc506289792e9ef9"}, - {0, 1, "\x7f", - "23309d222712996f6caacd52656a11467fc96d8b2666803b2f5ab9019be1f3b1" - "2044f09cdb3c38050ecab7d0f285a6f31ab1f559e645182ffc506289792e9ef9"}, - {0, 1, "\x01", - "23309d222712996f6caacd52656a11467fc96d8b2666803b2f5ab9019be1f3b1" - "2044f09cdb3c38050ecab7d0f285a6f31ab1f559e645182ffc506289792e9ef9"}, - {0, 1, "\xfe", - "7d9025bb145a0814083e934baa80ede67322651de52062bf9eb93623c37efc74" - "c62240cf8539107f9210c1e1126f79cbaeda6b82b4a8ce6821589c403fa76b9a"}, - {0, 1, "\x7e", - "7d9025bb145a0814083e934baa80ede67322651de52062bf9eb93623c37efc74" - "c62240cf8539107f9210c1e1126f79cbaeda6b82b4a8ce6821589c403fa76b9a"}, - {0, 1, "\x00", - "7d9025bb145a0814083e934baa80ede67322651de52062bf9eb93623c37efc74" - "c62240cf8539107f9210c1e1126f79cbaeda6b82b4a8ce6821589c403fa76b9a"} -}; - - -#else -# define TEST_UNSUPPORTED -# include "common.h" -#endif - - -int -main(void) -{ - TEST_MAIN("Keccak-512", KECCAK_512); -} -- cgit v1.2.3-70-g09d2