forked from wolfSSL/wolfEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
user_settings.h
106 lines (98 loc) · 2.29 KB
/
user_settings.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#ifndef USER_SETTINGS_H
#define USER_SETTINGS_H
#define WOLFENGINE_DEBUG
#define WE_USE_HASH
#define WE_HAVE_SHA384
#define WE_HAVE_SHA512
#define WE_HAVE_SHA1
#define WE_HAVE_SHA224
#define WE_HAVE_SHA256
#define WE_HAVE_CMAC
#define WE_HAVE_MAC
#define WE_HAVE_HMAC
#define WE_HAVE_MAC
#define WE_HAVE_DES3CBC
#define WE_HAVE_AESECB
#define WE_HAVE_AESCBC
#define WE_HAVE_AESCTR
#define WE_HAVE_RANDOM
#define WE_HAVE_RSA
#define WE_HAVE_DH
#define WE_HAVE_ECC
#define WE_HAVE_EVP_PKEY
#define WE_HAVE_ECDSA
#define WE_HAVE_ECDH
#define WE_HAVE_ECKEYGEN
#define WE_HAVE_EC_P192
#define WE_HAVE_EC_P224
#define WE_HAVE_EC_P256
#define WE_HAVE_EC_P384
#define WE_HAVE_EC_P521
#define WE_HAVE_DIGEST
#ifdef _WIN32
/* Settings generated by the configure script when compiling for wolfEngine */
#define HAVE_AES_ECB
#define WC_RSA_NO_PADDING
#define WOLFSSL_PUBLIC_MP
#define ECC_MIN_KEY_SZ 192
#define WOLFSSL_PSS_LONG_SALT
#define WOLFSSL_PSS_SALT_LEN_DISCOVER
#define WOLFSSL_TLS13
#define HAVE_TLS_EXTENSIONS
#define HAVE_SUPPORTED_CURVES
#define HAVE_FFDHE_2048
#define HAVE_THREAD_LS
#define TFM_TIMING_RESISTANT
#define ECC_TIMING_RESISTANT
#define WC_RSA_BLINDING
#define HAVE_AESCCM
#define WOLFSSL_AES_COUNTER
#define WOLFSSL_AES_DIRECT
#define WOLFSSL_SHA224
#define WOLFSSL_SHA512
#define WOLFSSL_SHA384
#define WOLFSSL_KEY_GEN
#define HAVE_HKDF
#define HAVE_X963_KDF
#define NO_DSA
#define HAVE_ECC
#define TFM_ECC256
#define ECC_SHAMIR
#define WC_RSA_PSS
#define WOLFSSL_BASE64_ENCODE
#define NO_RC4
#define WOLFSSL_CMAC
#define NO_HC128
#define NO_RABBIT
#define WOLFSSL_SHA3
#define WOLFSSL_SHAKE256
#define HAVE_POLY1305
#define HAVE_ONE_TIME_AUTH
#define HAVE_CHACHA
#define HAVE_HASHDRBG
#define HAVE_EXTENDED_MASTER
#define HAVE_ENCRYPT_THEN_MAC
#define NO_PSK
#define NO_MD4
#define NO_PWDBASED
#define USE_FAST_MATH
#define WC_NO_ASYNC_THREADING
#define HAVE_DH_DEFAULT_PARAMS
#define GCM_TABLE_4BIT
#define HAVE_AESGCM
#define HAVE_WC_INTROSPECTION
#define OPENSSL_COEXIST
#define NO_OLD_RNGNAME
#define NO_OLD_WC_NAMES
#define NO_OLD_SSL_NAMES
#define NO_OLD_SHA_NAMES
#define NO_OLD_MD5_NAME
#define HAVE_PUBLIC_FFDHE
#define HAVE_FFDHE_2048
#define HAVE_FFDHE_3072
#define HAVE_FFDHE_4096
/* Needed to export symbols in the final DLL */
#define OPENSSL_SYS_WINDOWS
#define OPENSSL_OPT_WINDLL
#endif /* _WIN32 */
#endif