misc_test.c 713 B

123456789101112131415161718192021222324252627282930313233343536
  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_BASE64
  19. DO(base64_test());
  20. #endif
  21. #ifdef LTC_BASE32
  22. DO(base32_test());
  23. #endif
  24. #ifdef LTC_ADLER32
  25. DO(adler32_test());
  26. #endif
  27. #ifdef LTC_CRC32
  28. DO(crc32_test());
  29. #endif
  30. return 0;
  31. }
  32. /* ref: $Format:%D$ */
  33. /* git commit: $Format:%H$ */
  34. /* commit time: $Format:%ai$ */