user_settings.h
1 /* user_settings.h
2  *
3  * Copyright (C) 2006-2020 wolfSSL Inc.
4  *
5  * This file is part of wolfSSL.
6  *
7  * wolfSSL is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * wolfSSL is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
20  */
21 #ifndef USER_SETTINGS_H_
22 #define USER_SETTINGS_H_
23 
24 /* Temporary defines. Not suitable for production. */
25 #define WOLFSSL_GENSEED_FORTEST /* Warning: define your own seed gen */
26 /* End temporary defines */
27 
28 /* Operating Environment and Threading */
29 #define FREERTOS
30 #define FREERTOS_TCP
31 #define NO_DEV_RANDOM
32 #define NO_WRITEV
33 #define NO_MAIN_DRIVER
34 #define BENCH_EMBEDDED
35 
36 /* Filesystem and IO */
37 #define NO_WOLFSSL_DIR
38 #define WOLFSSL_NO_CURRDIR
39 #define NO_FILESYSTEM
40 
41 /* Cryptography Enable Options */
42 #define HAVE_CHACHA
43 #define HAVE_POLY1305
44 #define HAVE_ECC
45 #define HAVE_RSA
46 #define HAVE_SHA256
47 #define HAVE_SUPPORTED_CURVES
48 #define HAVE_TLS_EXTENSIONS
49 #define HAVE_TRUNCATED_HMAC
50 #define HAVE_EXTENDED_MASTER
51 #define HAVE_ALPN
52 #define HAVE_SNI
53 #define HAVE_OCSP
54 #define HAVE_AESGCM
55 #define HAVE_ONE_TIME_AUTH
56 
57 /* Non-Fast Math may call realloc. This project has no realloc support */
58 #define USE_FAST_MATH
59 #define ALT_ECC_SIZE
60 #define TFM_TIMING_RESISTANT
61 #define ECC_TIMING_RESISTANT
62 #define WC_RSA_BLINDING
63 #define WOLFSSL_SMALL_STACK
64 #define WOLFSSL_DH_CONST
65 
66 /* Cryptography Disable options */
67 #define NO_PWDBASED
68 #define NO_DSA
69 #define NO_DES3
70 #define NO_RABBIT
71 #define NO_RC4
72 #define NO_MD4
73 
74 void wolfssl_thread_entry(void *pvParameters);
75 extern void initialise_monitor_handles(void);
76 
77 #endif /* USER_SETTINGS_H_ */