misc_test.c 893 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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_BCRYPT
  13. DO(bcrypt_test());
  14. #endif
  15. #ifdef LTC_HKDF
  16. DO(hkdf_test());
  17. #endif
  18. #ifdef LTC_PKCS_5
  19. DO(pkcs_5_test());
  20. #endif
  21. #ifdef LTC_PADDING
  22. DO(padding_test());
  23. #endif
  24. #ifdef LTC_BASE64
  25. DO(base64_test());
  26. #endif
  27. #ifdef LTC_BASE32
  28. DO(base32_test());
  29. #endif
  30. #ifdef LTC_BASE16
  31. DO(base16_test());
  32. #endif
  33. #ifdef LTC_ADLER32
  34. DO(adler32_test());
  35. #endif
  36. #ifdef LTC_CRC32
  37. DO(crc32_test());
  38. #endif
  39. #ifdef LTC_SSH
  40. ssh_test();
  41. #endif
  42. return 0;
  43. }
  44. /* ref: $Format:%D$ */
  45. /* git commit: $Format:%H$ */
  46. /* commit time: $Format:%ai$ */