misc_test.c 850 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* LibTomCrypt, modular cryptographic library -- Tom St Denis
  2. *
  3. * LibTomCrypt is a library that provides various cryptographic
  4. * algorithms in a highly modular and flexible manner.
  5. *
  6. * The library is free for all purposes without any express
  7. * guarantee it works.
  8. */
  9. #include <tomcrypt_test.h>
  10. int misc_test(void)
  11. {
  12. #ifdef LTC_HKDF
  13. DO(hkdf_test());
  14. #endif
  15. #ifdef LTC_PKCS_5
  16. DO(pkcs_5_test());
  17. #endif
  18. #ifdef LTC_PADDING
  19. DO(padding_test());
  20. #endif
  21. #ifdef LTC_BASE64
  22. DO(base64_test());
  23. #endif
  24. #ifdef LTC_BASE32
  25. DO(base32_test());
  26. #endif
  27. #ifdef LTC_BASE16
  28. DO(base16_test());
  29. #endif
  30. #ifdef LTC_ADLER32
  31. DO(adler32_test());
  32. #endif
  33. #ifdef LTC_CRC32
  34. DO(crc32_test());
  35. #endif
  36. #ifdef LTC_SSH
  37. DO(ssh_test());
  38. #endif
  39. return 0;
  40. }
  41. /* ref: $Format:%D$ */
  42. /* git commit: $Format:%H$ */
  43. /* commit time: $Format:%ai$ */