iw6-mod/deps/libtomcrypt/tests/misc_test.c

40 lines
667 B
C
Raw Normal View History

2024-02-27 01:34:37 -05:00
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include <tomcrypt_test.h>
int misc_test(void)
{
#ifdef LTC_BCRYPT
DO(bcrypt_test());
#endif
#ifdef LTC_HKDF
DO(hkdf_test());
#endif
#ifdef LTC_PKCS_5
DO(pkcs_5_test());
#endif
#ifdef LTC_PADDING
DO(padding_test());
#endif
#ifdef LTC_BASE64
DO(base64_test());
#endif
#ifdef LTC_BASE32
DO(base32_test());
#endif
#ifdef LTC_BASE16
DO(base16_test());
#endif
#ifdef LTC_ADLER32
DO(adler32_test());
#endif
#ifdef LTC_CRC32
DO(crc32_test());
#endif
#ifdef LTC_SSH
ssh_test();
#endif
no_null_termination_check_test();
return 0;
}