My Project
Loading...
Searching...
No Matches
user_settings.h
1
2#ifndef USER_SETTINGS_H
3#define USER_SETTINGS_H
4
5//#define DEBUG_WOLFSSL
6
7#define NO_MAIN_DRIVER
8#define USE_CERT_BUFFERS_2048
9#define USE_CERT_BUFFERS_256
10
11/* print out cycles per byte with benchmark when component r_wdt WDT is enabled */
12#define SYNERGY_CYCLE_COUNT
13#define BENCH_EMBEDDED
14
15/* Use turn on all SCE acceleration */
16#define WOLFSSL_SCE
17
18/* Used to turn off TRNG */
19/* #define WOLFSSL_SCE_NO_TRNG */
20
21/* Used to turn off AES hardware acc. */
22/* #define WOLFSSL_SCE_NO_AES */
23
24/* Used to turn off HASH hardware acc. */
25/* #define WOLFSSL_SCE_NO_HASH */
26
27#if defined(WOLFSSL_SCE_NO_TRNG)
28 /* use unsafe test seed if TRNG not used (not for production) */
29 #define WOLFSSL_GENSEED_FORTEST
30#endif
31
32#define HAVE_ECC
33#define ALT_ECC_SIZE
34
35#define HAVE_CHACHA
36#define HAVE_POLY1305
37#define HAVE_ONE_TIME_AUTH
38#define HAVE_AESGCM
39
40#define HAVE_AES_ECB
41#define WOLFSSL_AES_DIRECT
42
43#define USE_FAST_MATH
44
45#define TFM_TIMING_RESISTANT
46#define WC_RSA_BLINDING
47#define ECC_TIMING_RESISTANT
48
49#define NO_WOLFSSL_DIR
50
51#define HAVE_NETX
52#define THREADX
53#define THREADX_NO_DC_PRINTF
54#define NO_WRITEV
55#define SIZEOF_LONG 4
56#define SIZEOF_LONG_LONG 8
57
58#if 1
59 /* Optimizations */
60 #define WOLFSSL_HAVE_SP_RSA
61 #define WOLFSSL_HAVE_SP_ECC
62 #define WOLFSSL_SP_ARM_CORTEX_M_ASM
63#endif
64
65/* TLS 1.3 */
66#define WOLFSSL_TLS13
67#define HAVE_TLS_EXTENSIONS
68#define HAVE_SUPPORTED_CURVES
69#define HAVE_FFDHE_2048
70#define HAVE_HKDF
71#define WC_RSA_PSS
72
73#define HAVE_CURVE25519
74#define HAVE_ED25519
75#define WOLFSSL_SHA512
76
77#endif