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