My Project
Loading...
Searching...
No Matches
user_settings.h
1/* Configuration */
2#define IPHONE /* Needed for Xcode */
3#define HAVE_HASHDRBG
4#define HAVE_AESGCM
5#define WOLFSSL_SHA512
6#define WOLFSSL_SHA384
7
8#ifdef HAVE_FIPS
9 #define NO_MD4
10 #define NO_HC128
11 #define NO_RABBIT
12 #define NO_DSA
13 #define NO_PWDBASED
14#else
15 /* disable "main" entry */
16 #undef NO_MAIN_DRIVER
17 #define NO_MAIN_DRIVER
18
19 /* 128-bit type */
20 #define HAVE___UINT128_T
21
22 /* fast math */
23 #define USE_FAST_MATH
24 #define HAVE_ECC
25
26 /* ECC speedups */
27 #define ECC_SHAMIR
28 #define TFM_ECC256
29
30 /* timing resistance */
31 #if 1
32 #define WC_RSA_BLINDING
33 #define TFM_TIMING_RESISTANT
34 #define ECC_TIMING_RESISTANT
35 #else
36 #define WC_NO_HARDEN
37 #endif
38
39 /* single precision math */
40 #if 1
41 #define WOLFSSL_HAVE_SP_RSA
42 #define WOLFSSL_HAVE_SP_DH
43 #define WOLFSSL_HAVE_SP_ECC
44 #endif
45
46 /* ARMv8 - iPhone 8/8Plus and iPhone X */
47 #ifdef __ARM_FEATURE_CRYPTO
48 #define WOLFSSL_ARMASM
49 #endif
50
51 /* newer algorithms */
52 #define WOLFSSL_SHA3
53
54 #define HAVE_POLY1305
55 #define HAVE_CHACHA
56
57 #define HAVE_CURVE25519
58 #define HAVE_ED25519
59
60 /* TLS extensions */
61 #define HAVE_ONE_TIME_AUTH
62 #define HAVE_TLS_EXTENSIONS
63 #define HAVE_SUPPORTED_CURVES
64 #define HAVE_EXTENDED_MASTER
65
66 /* off by default */
67 #define NO_RC4
68 #define NO_MD4
69 #define NO_HC128
70 #define NO_RABBIT
71 #define NO_DSA
72 #define NO_PSK
73 #define NO_PWDBASED
74
75 /* test certificate buffers */
76 #define USE_CERT_BUFFERS_2048
77 #define USE_CERT_BUFFERS_256
78
79 #define WOLFSSL_DTLS
80
81 //#define DEBUG_WOLFSSL
82
83#endif