ascon: make tests more readable by moving the kat vectors into a header

This commit is contained in:
Juliusz Sosinowicz
2025-02-04 12:58:51 +01:00
parent eb15a1213c
commit db0345c009
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
*/
#ifndef WOLFCRYPT_TEST_ASCON_H
#define WOLFCRYPT_TEST_ASCON_H
#ifndef TESTS_API_ASCON_H
#define TESTS_API_ASCON_H
int test_ascon_hash256(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
endif
EXTRA_DIST += tests/api/ascon.h
EXTRA_DIST += tests/api/ascon_kats.h