user_settings.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #ifndef USER_SETTINGS_H
  2. #define USER_SETTINGS_H
  3. //#define DEBUG_WOLFSSL
  4. #define NO_MAIN_DRIVER
  5. #define USE_CERT_BUFFERS_2048
  6. #define USE_CERT_BUFFERS_256
  7. /* print out cycles per byte with benchmark when component r_wdt WDT is enabled */
  8. #define SYNERGY_CYCLE_COUNT
  9. #define BENCH_EMBEDDED
  10. /* Use turn on all SCE acceleration */
  11. #define WOLFSSL_SCE
  12. /* Used to turn off TRNG */
  13. /* #define WOLFSSL_SCE_NO_TRNG */
  14. /* Used to turn off AES hardware acc. */
  15. /* #define WOLFSSL_SCE_NO_AES */
  16. /* Used to turn off HASH hardware acc. */
  17. /* #define WOLFSSL_SCE_NO_HASH */
  18. #if defined(WOLFSSL_SCE_NO_TRNG)
  19. /* use unsafe test seed if TRNG not used (not for production) */
  20. #define WOLFSSL_GENSEED_FORTEST
  21. #endif
  22. #define HAVE_ECC
  23. #define ALT_ECC_SIZE
  24. #define HAVE_CHACHA
  25. #define HAVE_POLY1305
  26. #define HAVE_ONE_TIME_AUTH
  27. #define HAVE_AESGCM
  28. #define HAVE_AES_ECB
  29. #define WOLFSSL_AES_DIRECT
  30. #define USE_FAST_MATH
  31. #define TFM_TIMING_RESISTANT
  32. #define WC_RSA_BLINDING
  33. #define ECC_TIMING_RESISTANT
  34. #define NO_WOLFSSL_DIR
  35. #define HAVE_NETX
  36. #define THREADX
  37. #define THREADX_NO_DC_PRINTF
  38. #define NO_WRITEV
  39. #define SIZEOF_LONG 4
  40. #define SIZEOF_LONG_LONG 8
  41. #if 1
  42. /* Optimizations */
  43. #define WOLFSSL_HAVE_SP_RSA
  44. #define WOLFSSL_HAVE_SP_ECC
  45. #define WOLFSSL_SP_ARM_CORTEX_M_ASM
  46. #endif
  47. /* TLS 1.3 */
  48. #define WOLFSSL_TLS13
  49. #define HAVE_TLS_EXTENSIONS
  50. #define HAVE_SUPPORTED_CURVES
  51. #define HAVE_FFDHE_2048
  52. #define HAVE_HKDF
  53. #define WC_RSA_PSS
  54. #define HAVE_CURVE25519
  55. #define HAVE_ED25519
  56. #define WOLFSSL_SHA512
  57. #endif