2
0

user_settings.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #ifndef _USER_SETTINGS_H_
  2. #define _USER_SETTINGS_H_
  3. #define WOLFSSL_AZSPHERE
  4. /* Client connects to the server with these details. */
  5. #ifdef CUSTOM_SERVER_CONNECTION
  6. #ifndef SERVER_IP
  7. #define SERVER_IP "192.168.1.200" /* Local Test Server IP */
  8. #endif
  9. #ifndef DEFAULT_PORT
  10. #define DEFAULT_PORT 11111
  11. #endif
  12. #define CERT ca_cert_der_2048
  13. #define SIZEOF_CERT sizeof_ca_cert_der_2048
  14. static const char msg[] = "Are you listening wolfSSL Server?";
  15. #else
  16. #ifndef SERVER_IP
  17. #define SERVER_IP "www.wolfssl.com"
  18. #endif
  19. #ifndef DEFAULT_PORT
  20. #define DEFAULT_PORT 443
  21. #endif
  22. #define CERT wolfssl_website_root_ca
  23. #define SIZEOF_CERT sizeof_wolfssl_website_root_ca
  24. static const char msg[] = "GET /index.html HTTP/1.1\r\n\r\n";
  25. #endif
  26. /* Math: Normal (!USE_FAST_MATH) */
  27. #define SIZEOF_LONG_LONG 8
  28. #define WC_RSA_BLINDING
  29. #define ECC_TIMING_RESISTANT
  30. /* Enable options */
  31. #define HAVE_CHACHA
  32. #define HAVE_POLY1305
  33. #define HAVE_ECC
  34. #define HAVE_SUPPORTED_CURVES
  35. #define HAVE_TLS_EXTENSIONS
  36. #define HAVE_ONE_TIME_AUTH
  37. #define HAVE_TRUNCATED_HMAC
  38. #define HAVE_EXTENDED_MASTER
  39. #define HAVE_ALPN
  40. #define HAVE_SNI
  41. #define HAVE_OCSP
  42. #define HAVE_AESGCM
  43. /* Disable options */
  44. #define NO_PWDBASED
  45. #define NO_DSA
  46. #define NO_DES3
  47. #define NO_RC4
  48. #define NO_MD4
  49. /* Benchmark / Testing */
  50. #define BENCH_EMBEDDED
  51. #define USE_CERT_BUFFERS_2048
  52. #define USE_CERT_BUFFERS_256
  53. /* OS */
  54. #define SINGLE_THREADED
  55. /* Filesystem */
  56. #define NO_FILESYSTEM
  57. /* Debug */
  58. #define printf Log_Debug
  59. #define WOLFIO_DEBUG
  60. #endif /* _USER_SETTINGS_H_ */