misc_test.c 666 B

123456789101112131415161718192021222324252627282930313233
  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_ADLER32
  22. DO(adler32_test());
  23. #endif
  24. #ifdef LTC_CRC32
  25. DO(crc32_test());
  26. #endif
  27. return 0;
  28. }
  29. /* ref: $Format:%D$ */
  30. /* git commit: $Format:%H$ */
  31. /* commit time: $Format:%ai$ */