My Project
Loading...
Searching...
No Matches
user_settings.h
1/* user_setting.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#ifndef MICRIUM_USER_SETTINGS_H_
23#define MICRIUM_USER_SETTINGS_H_
24
25#ifdef __cplusplus
26 extern "C" {
27#endif
28
29#define MICRIUM
30
31/* You can select one or all of the following tests */
32#define WOLFSSL_WOLFCRYPT_TEST
33#define WOLFSSL_BENCHMARK_TEST
34#define WOLFSSL_CLIENT_TEST
35#define WOLFSSL_SERVER_TEST
36
37/* adjust CURRENT_UNIX_TS to seconds since Jan 01 1970. (UTC)
38You can get the current time from https://www.unixtimestamp.com/
39*/
40#define CURRENT_UNIX_TS 1542605837
41
42/* When using Windows simulator, you must define USE_WINDOWS_API for test.h to build */
43#ifdef _WIN32
44#define USE_WINDOWS_API
45#endif
46
47#define NO_FILESYSTEM
48#define SIZEOF_LONG_LONG 8
49
50/* prevents from including multiple definition of main() */
51#define NO_MAIN_DRIVER
52#define NO_TESTSUITE_MAIN_DRIVER
53
54/* includes certificate test buffers via header files */
55#define USE_CERT_BUFFERS_2048
56/*use kB instead of mB for embedded benchmarking*/
57#define BENCH_EMBEDDED
58
59#define NO_WRITE_TEMP_FILES
60
61#define XSNPRINTF snprintf
62
63#define HAVE_AESGCM
64#define WOLFSSL_SHA512
65#define HAVE_ECC
66#define HAVE_CURVE25519
67#define CURVE25519_SMALL
68#define HAVE_ED25519
69#define ED25519_SMALL
70
71#ifdef __cplusplus
72 } /* extern "C" */
73#endif
74
75#endif