user_settings.h 658 B

12345678910111213141516171819202122232425262728
  1. /* Configuration */
  2. #define SINGLE_THREADED
  3. #define WOLFSSL_SMALL_STACK
  4. #define WOLFSSL_GENERAL_ALIGNMENT 4
  5. #define NO_MAIN_DRIVER
  6. #define NO_FILESYSTEM
  7. #define NO_WRITEV
  8. #define NO_DEV_RANDOM
  9. #define NO_WOLFSSL_MEMORY
  10. /* HW Crypto Acceleration */
  11. // See README.md for instructions
  12. //#define FREESCALE_MMCAU 1
  13. /* Benchmark */
  14. #define BENCH_EMBEDDED
  15. #define USE_CERT_BUFFERS_2048
  16. /* Custom functions */
  17. extern int custom_rand_generate(void);
  18. #define CUSTOM_RAND_GENERATE custom_rand_generate
  19. #define WOLFSSL_USER_CURRTIME
  20. /* Debugging - Optional */
  21. #if 0
  22. #define fprintf(file, format, ...) printf(format, ##__VA_ARGS__)
  23. #define DEBUG_WOLFSSL
  24. #endif