user_settings.h 978 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* user_settings.h
  2. *
  3. * Custom wolfSSL User Settings File
  4. *
  5. * This is a custom user settings file which controls the build of wolfSSL.
  6. * The defines here are the defaults for this library project, but should
  7. * be updated to match the end project.
  8. *
  9. * As this is a standalone library project, it has been configured to be
  10. * compiled as a generic ARM Cortex-M4 build. No operating system or
  11. * TCP/IP stack has been configured yet, so some associated features
  12. * have been disabled below.
  13. */
  14. #ifndef USER_SETTINGS_H_
  15. #define USER_SETTINGS_H_
  16. /* no dirent.h support */
  17. #define NO_WOLFSSL_DIR
  18. /* no sys/uio.h, disable writev() */
  19. #define NO_WRITEV
  20. /* no OS yet, so no mutexes */
  21. #define SINGLE_THREADED
  22. /* no TCP/IP stack connected yet */
  23. #define WOLFSSL_USER_IO
  24. /* enable fastmath library */
  25. #define USE_FAST_MATH
  26. /* enable hardened build options */
  27. #define TFM_TIMING_RESISTANT
  28. #define ECC_TIMING_RESISTANT
  29. #define WC_RSA_BLINDING
  30. #endif /* USER_SETTINGS_H_ */