summaryrefslogtreecommitdiff
path: root/package/libs/polarssl/patches/200-reduce_config.patch
blob: 491ecec3886084d07b319b6ef01bae2c1d5b25f7 (plain)
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
--- a/include/polarssl/config.h
+++ b/include/polarssl/config.h
@@ -432,8 +432,8 @@
  * Requires: POLARSSL_HMAC_DRBG_C
  *
  * Comment this macro to disable deterministic ECDSA.
- */
 #define POLARSSL_ECDSA_DETERMINISTIC
+ */
 
 /**
  * \def POLARSSL_KEY_EXCHANGE_PSK_ENABLED
@@ -454,8 +454,8 @@
  *      TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256
  *      TLS_PSK_WITH_3DES_EDE_CBC_SHA
  *      TLS_PSK_WITH_RC4_128_SHA
- */
 #define POLARSSL_KEY_EXCHANGE_PSK_ENABLED
+ */
 
 /**
  * \def POLARSSL_KEY_EXCHANGE_DHE_PSK_ENABLED
@@ -478,8 +478,8 @@
  *      TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256
  *      TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA
  *      TLS_DHE_PSK_WITH_RC4_128_SHA
- */
 #define POLARSSL_KEY_EXCHANGE_DHE_PSK_ENABLED
+ */
 
 /**
  * \def POLARSSL_KEY_EXCHANGE_ECDHE_PSK_ENABLED
@@ -498,8 +498,8 @@
  *      TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256
  *      TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA
  *      TLS_ECDHE_PSK_WITH_RC4_128_SHA
- */
 #define POLARSSL_KEY_EXCHANGE_ECDHE_PSK_ENABLED
+ */
 
 /**
  * \def POLARSSL_KEY_EXCHANGE_RSA_PSK_ENABLED
@@ -523,8 +523,8 @@
  *      TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256
  *      TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA
  *      TLS_RSA_PSK_WITH_RC4_128_SHA
- */
 #define POLARSSL_KEY_EXCHANGE_RSA_PSK_ENABLED
+ */
 
 /**
  * \def POLARSSL_KEY_EXCHANGE_RSA_ENABLED
@@ -602,8 +602,8 @@
  *      TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256
  *      TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
  *      TLS_ECDHE_RSA_WITH_RC4_128_SHA
- */
 #define POLARSSL_KEY_EXCHANGE_ECDHE_RSA_ENABLED
+ */
 
 /**
  * \def POLARSSL_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
@@ -626,8 +626,8 @@
  *      TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256
  *      TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA
  *      TLS_ECDHE_ECDSA_WITH_RC4_128_SHA
- */
 #define POLARSSL_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
+ */
 
 /**
  * \def POLARSSL_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
@@ -650,8 +650,8 @@
  *      TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384
  *      TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256
  *      TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384
- */
 #define POLARSSL_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
+ */
 
 /**
  * \def POLARSSL_KEY_EXCHANGE_ECDH_RSA_ENABLED
@@ -674,8 +674,8 @@
  *      TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384
  *      TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256
  *      TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384
- */
 #define POLARSSL_KEY_EXCHANGE_ECDH_RSA_ENABLED
+ */
 
 /**
  * \def POLARSSL_PK_PARSE_EC_EXTENDED
@@ -835,8 +835,8 @@
  * \def POLARSSL_SELF_TEST
  *
  * Enable the checkup functions (*_self_test).
- */
 #define POLARSSL_SELF_TEST
+ */
 
 /**
  * \def POLARSSL_SSL_ALL_ALERT_MESSAGES
@@ -1139,8 +1139,8 @@
  * Requires: POLARSSL_VERSION_C
  *
  * Comment this to disable run-time checking and save ROM space
- */
 #define POLARSSL_VERSION_FEATURES
+ */
 
 /**
  * \def POLARSSL_X509_ALLOW_EXTENSIONS_NON_V3
@@ -1469,8 +1469,8 @@
  *      TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384
  *      TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256
  *      TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256
- */
 #define POLARSSL_CAMELLIA_C
+ */
 
 /**
  * \def POLARSSL_CCM_C
@@ -1497,8 +1497,8 @@
  * Requires: POLARSSL_PEM_PARSE_C
  *
  * This module is used for testing (ssl_client/server).
- */
 #define POLARSSL_CERTS_C
+ */
 
 /**
  * \def POLARSSL_CIPHER_C
@@ -1537,8 +1537,8 @@
  *          library/ssl_tls.c
  *
  * This module provides debugging functions.
- */
 #define POLARSSL_DEBUG_C
+ */
 
 /**
  * \def POLARSSL_DES_C
@@ -1593,8 +1593,8 @@
  *      ECDHE-ECDSA, ECDHE-RSA, DHE-PSK
  *
  * Requires: POLARSSL_ECP_C
- */
 #define POLARSSL_ECDH_C
+ */
 
 /**
  * \def POLARSSL_ECDSA_C
@@ -1608,8 +1608,8 @@
  *      ECDHE-ECDSA
  *
  * Requires: POLARSSL_ECP_C, POLARSSL_ASN1_WRITE_C, POLARSSL_ASN1_PARSE_C
- */
 #define POLARSSL_ECDSA_C
+ */
 
 /**
  * \def POLARSSL_ECP_C
@@ -1621,8 +1621,8 @@
  *          library/ecdsa.c
  *
  * Requires: POLARSSL_BIGNUM_C and at least one POLARSSL_ECP_DP_XXX_ENABLED
- */
 #define POLARSSL_ECP_C
+ */
 
 /**
  * \def POLARSSL_ENTROPY_C
@@ -1698,8 +1698,8 @@
  * Requires: POLARSSL_MD_C
  *
  * Uncomment to enable the HMAC_DRBG random number geerator.
- */
 #define POLARSSL_HMAC_DRBG_C
+ */
 
 /**
  * \def POLARSSL_MD_C
@@ -1825,8 +1825,8 @@
  * Requires: POLARSSL_HAVE_ASM
  *
  * This modules adds support for the VIA PadLock on x86.
- */
 #define POLARSSL_PADLOCK_C
+ */
 
 /**
  * \def POLARSSL_PBKDF2_C
@@ -1991,8 +1991,8 @@
  * Module:  library/ripemd160.c
  * Caller:  library/md.c
  *
- */
 #define POLARSSL_RIPEMD160_C
+ */
 
 /**
  * \def POLARSSL_RSA_C
@@ -2071,8 +2071,8 @@
  * Caller:
  *
  * Requires: POLARSSL_SSL_CACHE_C
- */
 #define POLARSSL_SSL_CACHE_C
+ */
 
 /**
  * \def POLARSSL_SSL_CLI_C
@@ -2148,8 +2148,8 @@
  * Caller:  library/havege.c
  *
  * This module is used by the HAVEGE random number generator.
- */
 #define POLARSSL_TIMING_C
+ */
 
 /**
  * \def POLARSSL_VERSION_C
@@ -2159,8 +2159,8 @@
  * Module:  library/version.c
  *
  * This module provides run-time version information.
- */
 #define POLARSSL_VERSION_C
+ */
 
 /**
  * \def POLARSSL_X509_USE_C
@@ -2269,8 +2269,8 @@
  *
  * Module:  library/xtea.c
  * Caller:
- */
 #define POLARSSL_XTEA_C
+ */
 
 /* \} name SECTION: mbed TLS modules */