user_settings.h
1 #ifndef USER_SETTINGS_H
2 #define USER_SETTINGS_H
3 
4 #define WOLFCRYPT_ONLY
5 #define HAVE_ECC
6 #define FP_ECC
7 //#define FP_ENTRIES 1
8 #define NO_DSA
9 #define NO_DH
10 #define NO_RSA
11 //#define DEBUG_WOLFSSL
12 
13 #define USE_FAST_MATH
14 #define TFM_TIMING_RESISTANT
15 #ifdef HAVE_ECC
16  #define ECC_TIMING_RESISTANT
17 #endif
18 #ifndef NO_RSA
19  #define WC_RSA_BLINDING
20 #endif
21 
22 #if 1
23  #define WOLFSSL_HAVE_SP_RSA
24  #define WOLFSSL_HAVE_SP_ECC
25  #define WOLFSSL_SP_MATH
26 
27  #if 1
28  /* ARM NEON instructions */
29  #define WOLFSSL_SP_ARM64_ASM
30  #endif
31  #if 1
32  /* Use DSP */
33  #define WOLFSSL_DSP
34  #endif
35 #endif
36 
37 #endif