1 --- a/include/mbedtls/config.h
2 +++ b/include/mbedtls/config.h
5 * Comment macros to disable the curve and functions for it
7 -#define MBEDTLS_ECP_DP_SECP192R1_ENABLED
8 -#define MBEDTLS_ECP_DP_SECP224R1_ENABLED
9 +//#define MBEDTLS_ECP_DP_SECP192R1_ENABLED
10 +//#define MBEDTLS_ECP_DP_SECP224R1_ENABLED
11 #define MBEDTLS_ECP_DP_SECP256R1_ENABLED
12 #define MBEDTLS_ECP_DP_SECP384R1_ENABLED
13 -#define MBEDTLS_ECP_DP_SECP521R1_ENABLED
14 -#define MBEDTLS_ECP_DP_SECP192K1_ENABLED
15 -#define MBEDTLS_ECP_DP_SECP224K1_ENABLED
16 +//#define MBEDTLS_ECP_DP_SECP521R1_ENABLED
17 +//#define MBEDTLS_ECP_DP_SECP192K1_ENABLED
18 +//#define MBEDTLS_ECP_DP_SECP224K1_ENABLED
19 #define MBEDTLS_ECP_DP_SECP256K1_ENABLED
20 -#define MBEDTLS_ECP_DP_BP256R1_ENABLED
21 -#define MBEDTLS_ECP_DP_BP384R1_ENABLED
22 -#define MBEDTLS_ECP_DP_BP512R1_ENABLED
23 +//#define MBEDTLS_ECP_DP_BP256R1_ENABLED
24 +//#define MBEDTLS_ECP_DP_BP384R1_ENABLED
25 +//#define MBEDTLS_ECP_DP_BP512R1_ENABLED
26 #define MBEDTLS_ECP_DP_CURVE25519_ENABLED
27 -#define MBEDTLS_ECP_DP_CURVE448_ENABLED
28 +//#define MBEDTLS_ECP_DP_CURVE448_ENABLED
31 * \def MBEDTLS_ECP_NIST_OPTIM
33 * Requires: MBEDTLS_HMAC_DRBG_C
35 * Comment this macro to disable deterministic ECDSA.
37 #define MBEDTLS_ECDSA_DETERMINISTIC
41 * \def MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
43 * See dhm.h for more details.
46 -#define MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED
47 +//#define MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED
50 * \def MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
52 * MBEDTLS_TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256
53 * MBEDTLS_TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA
54 * MBEDTLS_TLS_ECDHE_PSK_WITH_RC4_128_SHA
56 #define MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
60 * \def MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED
62 * MBEDTLS_TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA
63 * MBEDTLS_TLS_RSA_PSK_WITH_RC4_128_SHA
65 -#define MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED
66 +//#define MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED
69 * \def MBEDTLS_KEY_EXCHANGE_RSA_ENABLED
71 * MBEDTLS_TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256
72 * MBEDTLS_TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384
74 -#define MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
75 +//#define MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
78 * \def MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED
80 * MBEDTLS_TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256
81 * MBEDTLS_TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384
83 -#define MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED
84 +//#define MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED
87 * \def MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED
89 * This option is only useful if both MBEDTLS_SHA256_C and
90 * MBEDTLS_SHA512_C are defined. Otherwise the available hash module is used.
92 -//#define MBEDTLS_ENTROPY_FORCE_SHA256
93 +#define MBEDTLS_ENTROPY_FORCE_SHA256
96 * \def MBEDTLS_ENTROPY_NV_SEED
97 @@ -1091,14 +1091,14 @@
98 * Uncomment this macro to disable the use of CRT in RSA.
101 -//#define MBEDTLS_RSA_NO_CRT
102 +#define MBEDTLS_RSA_NO_CRT
105 * \def MBEDTLS_SELF_TEST
107 * Enable the checkup functions (*_self_test).
109 -#define MBEDTLS_SELF_TEST
110 +//#define MBEDTLS_SELF_TEST
113 * \def MBEDTLS_SHA256_SMALLER
114 @@ -1114,7 +1114,7 @@
116 * Uncomment to enable the smaller implementation of SHA256.
118 -//#define MBEDTLS_SHA256_SMALLER
119 +#define MBEDTLS_SHA256_SMALLER
122 * \def MBEDTLS_SSL_ALL_ALERT_MESSAGES
123 @@ -1241,7 +1241,7 @@
124 * configuration of this extension).
127 -#define MBEDTLS_SSL_RENEGOTIATION
128 +//#define MBEDTLS_SSL_RENEGOTIATION
131 * \def MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO
132 @@ -1415,8 +1415,8 @@
133 * callbacks are provided by MBEDTLS_SSL_TICKET_C.
135 * Comment this macro to disable support for SSL session tickets
137 #define MBEDTLS_SSL_SESSION_TICKETS
141 * \def MBEDTLS_SSL_EXPORT_KEYS
142 @@ -1446,7 +1446,7 @@
144 * Comment this macro to disable support for truncated HMAC in SSL
146 -#define MBEDTLS_SSL_TRUNCATED_HMAC
147 +//#define MBEDTLS_SSL_TRUNCATED_HMAC
150 * \def MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT
151 @@ -1504,8 +1504,8 @@
152 * Requires: MBEDTLS_VERSION_C
154 * Comment this to disable run-time checking and save ROM space
156 #define MBEDTLS_VERSION_FEATURES
160 * \def MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3
161 @@ -1835,7 +1835,7 @@
162 * MBEDTLS_TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256
163 * MBEDTLS_TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256
165 -#define MBEDTLS_CAMELLIA_C
166 +//#define MBEDTLS_CAMELLIA_C
170 @@ -1849,7 +1849,7 @@
171 * This module enables the AES-CCM ciphersuites, if other requisites are
174 -#define MBEDTLS_CCM_C
175 +//#define MBEDTLS_CCM_C
178 * \def MBEDTLS_CERTS_C
179 @@ -1861,7 +1861,7 @@
181 * This module is used for testing (ssl_client/server).
183 -#define MBEDTLS_CERTS_C
184 +//#define MBEDTLS_CERTS_C
187 * \def MBEDTLS_CIPHER_C
188 @@ -1914,7 +1914,7 @@
190 * This module provides debugging functions.
192 -#define MBEDTLS_DEBUG_C
193 +//#define MBEDTLS_DEBUG_C
197 @@ -1943,7 +1943,7 @@
198 * \warning DES is considered a weak cipher and its use constitutes a
199 * security risk. We recommend considering stronger ciphers instead.
201 -#define MBEDTLS_DES_C
202 +//#define MBEDTLS_DES_C
206 @@ -2104,8 +2104,8 @@
207 * Requires: MBEDTLS_MD_C
209 * Uncomment to enable the HMAC_DRBG random number geerator.
211 #define MBEDTLS_HMAC_DRBG_C
216 @@ -2399,7 +2399,7 @@
217 * Caller: library/md.c
220 -#define MBEDTLS_RIPEMD160_C
221 +//#define MBEDTLS_RIPEMD160_C
225 @@ -2505,8 +2505,8 @@
228 * Requires: MBEDTLS_CIPHER_C
230 #define MBEDTLS_SSL_TICKET_C
234 * \def MBEDTLS_SSL_CLI_C
235 @@ -2605,8 +2605,8 @@
236 * Module: library/version.c
238 * This module provides run-time version information.
240 #define MBEDTLS_VERSION_C
244 * \def MBEDTLS_X509_USE_C
245 @@ -2716,7 +2716,7 @@
246 * Module: library/xtea.c
249 -#define MBEDTLS_XTEA_C
250 +//#define MBEDTLS_XTEA_C
252 /* \} name SECTION: mbed TLS modules */