user_settings.h 633 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef USER_SETTINGS_H
  2. #define USER_SETTINGS_H
  3. #define WOLFCRYPT_ONLY
  4. #define HAVE_ECC
  5. #define FP_ECC
  6. //#define FP_ENTRIES 1
  7. #define NO_DSA
  8. #define NO_DH
  9. #define NO_RSA
  10. //#define DEBUG_WOLFSSL
  11. #define USE_FAST_MATH
  12. #define TFM_TIMING_RESISTANT
  13. #ifdef HAVE_ECC
  14. #define ECC_TIMING_RESISTANT
  15. #endif
  16. #ifndef NO_RSA
  17. #define WC_RSA_BLINDING
  18. #endif
  19. #if 1
  20. #define WOLFSSL_HAVE_SP_RSA
  21. #define WOLFSSL_HAVE_SP_ECC
  22. #define WOLFSSL_SP_MATH
  23. #if 1
  24. /* ARM NEON instructions */
  25. #define WOLFSSL_SP_ARM64_ASM
  26. #endif
  27. #if 1
  28. /* Use DSP */
  29. #define WOLFSSL_DSP
  30. #endif
  31. #endif
  32. #endif