user_settings.h
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 
15 #ifndef USER_SETTINGS_H_
16 #define USER_SETTINGS_H_
17 
18 /* no dirent.h support */
19 #define NO_WOLFSSL_DIR
20 
21 /* no sys/uio.h, disable writev() */
22 #define NO_WRITEV
23 
24 /* no OS yet, so no mutexes */
25 #define SINGLE_THREADED
26 
27 /* no TCP/IP stack connected yet */
28 #define WOLFSSL_USER_IO
29 
30 /* enable fastmath library */
31 #define USE_FAST_MATH
32 
33 /* enable hardened build options */
34 #define TFM_TIMING_RESISTANT
35 #define ECC_TIMING_RESISTANT
36 #define WC_RSA_BLINDING
37 
38 #endif /* USER_SETTINGS_H_ */
39