dep-libtomcrypt/tests/misc_test.c

47 lines
779 B
C
Raw Permalink Normal View History

2020-06-17 10:15:27 +02:00
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
2012-11-23 03:04:50 +01:00
#include <tomcrypt_test.h>
int misc_test(void)
{
#ifdef LTC_ARGON2
DO(argon2_test());
#endif
2019-09-23 10:23:26 +02:00
#ifdef LTC_BCRYPT
DO(bcrypt_test());
#endif
#ifdef LTC_SCRYPT
DO(scrypt_test());
#endif
2012-11-23 03:04:50 +01:00
#ifdef LTC_HKDF
DO(hkdf_test());
2014-01-03 22:04:50 +01:00
#endif
#ifdef LTC_PKCS_5
DO(pkcs_5_test());
#endif
2018-01-23 12:48:57 +01:00
#ifdef LTC_PADDING
DO(padding_test());
#endif
#ifdef LTC_BASE64
DO(base64_test());
2015-08-22 17:29:46 +02:00
#endif
2017-10-19 17:27:08 +02:00
#ifdef LTC_BASE32
DO(base32_test());
#endif
2018-03-22 15:44:01 +01:00
#ifdef LTC_BASE16
DO(base16_test());
#endif
2015-08-22 17:29:46 +02:00
#ifdef LTC_ADLER32
DO(adler32_test());
2015-08-23 22:02:42 +02:00
#endif
#ifdef LTC_CRC32
DO(crc32_test());
#endif
#ifdef LTC_SSH
2018-12-31 17:22:28 +01:00
ssh_test();
2012-11-23 03:04:50 +01:00
#endif
pk_oid_test();
no_null_termination_check_test();
2012-11-23 03:04:50 +01:00
return 0;
}