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 
22 #define NO_MAIN_DRIVER
23 #define BENCH_EMBEDDED
24 #define NO_WRITEV
25 #define NO_DEV_RANDOM
26 #define USE_CERT_BUFFERS_2048
27 #define SIZEOF_LONG_LONG 8
28 #define NO_WOLFSSL_DIR
29 #define WOLFSSL_NO_CURRDIR
30 #define WOLFSSL_LOG_PRINTF
31 #define NO_WOLFSSL_STUB
32 #define NO_DYNAMIC_ARRAY /* for compilers not allowed dynamic size array */
33 #define WOLFSSL_SMALL_STACK
34 #define WOLFSSL_DH_CONST
35 
36 #define TFM_TIMING_RESISTANT
37 #define ECC_TIMING_RESISTANT
38 #define WC_RSA_BLINDING
39 
40 #define HAVE_TLS_EXTENSIONS
41 #define HAVE_SUPPORTED_CURVES
42 
43 #define WOLFSSL_USER_IO
44 
45 //#define WOLFSSL_USER_KEYFILES /* To be defined key and cert files in user_settings.h */
46 //#define WOLFSSL_NO_ABORT /* No abort during the test except exception occurred */
47 //#define DEBUG_WOLFSSL
48 
49 #define OPENSSL_EXTRA
50 
51 #define USER_TIME
52 #define XTIME time
53 #define USE_WOLF_SUSECONDS_T
54 #define USE_WOLF_TIMEVAL_T
55 
56 #define WOLFSSL_USER_CURRTIME /* for benchmark */
57 
58 #define WOLFSSL_GENSEED_FORTEST /* Wardning: define your own seed gen */
59 
60 #define SINGLE_THREADED /* or define RTOS option */
61 /*#define WOLFSSL_CMSIS_RTOS */
62 
63 /* #define NO_DH */
64 #define NO_RC4
65 #define HAVE_AESGCM
66 #define WOLFSSL_SHA512
67 #define WOLFSSL_SHA384
68 #define HAVE_ECC
69 #define HAVE_CURVE25519
70 #define CURVE25519_SMALL
71 #define HAVE_ED25519
72 #define NO_OLD_SHA256_NAMES
73 #define HAVE_CRL
74 #define HAVE_OCSP
75 #define HAVE_CERTIFICATE_STATUS_REQUEST
76 
77 #define NO_FILESYSTEM
78 
79