Merge pull request #8419 from julek-wolfssl/ascon-test-kats-readability

ascon: make tests more readable by moving the kat vectors into a header
This commit is contained in:
Sean Parkinson
2025-02-05 09:06:50 +10:00
committed by GitHub
4 changed files with 6522 additions and 6484 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -19,10 +19,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/ */
#ifndef WOLFCRYPT_TEST_ASCON_H #ifndef TESTS_API_ASCON_H
#define WOLFCRYPT_TEST_ASCON_H #define TESTS_API_ASCON_H
int test_ascon_hash256(void); int test_ascon_hash256(void);
int test_ascon_aead128(void); int test_ascon_aead128(void);
#endif /* WOLFCRYPT_TEST_ASCON_H */ #endif /* TESTS_API_ASCON_H */

6517
tests/api/ascon_kats.h Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -2,3 +2,4 @@ if BUILD_TESTS
tests_unit_test_SOURCES += tests/api/ascon.c tests_unit_test_SOURCES += tests/api/ascon.c
endif endif
EXTRA_DIST += tests/api/ascon.h EXTRA_DIST += tests/api/ascon.h
EXTRA_DIST += tests/api/ascon_kats.h