@@ -179,10 +179,26 @@ menu "mbedTLS"
179
179
select MBEDTLS_HKDF_C
180
180
default n
181
181
182
- config MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
183
- bool "Enable TLS 1.3 middlebox compatibility mode"
182
+ menu "TLS 1.3 related configurations"
184
183
depends on MBEDTLS_SSL_PROTO_TLS1_3
185
- default y
184
+
185
+ config MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
186
+ bool "TLS 1.3 middlebox compatibility mode"
187
+ default y
188
+
189
+ config MBEDTLS_SSL_TLS1_3_KEXM_PSK
190
+ bool "TLS 1.3 PSK key exchange mode"
191
+ default y
192
+
193
+ config MBEDTLS_SSL_TLS1_3_KEXM_EPHEMERAL
194
+ bool "TLS 1.3 ephemeral key exchange mode"
195
+ default y
196
+
197
+ config MBEDTLS_SSL_TLS1_3_KEXM_PSK_EPHEMERAL
198
+ bool "TLS 1.3 PSK ephemeral key exchange mode"
199
+ default y
200
+
201
+ endmenu
186
202
187
203
config MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH
188
204
bool "Variable SSL buffer length"
@@ -212,6 +228,7 @@ menu "mbedTLS"
212
228
config MBEDTLS_SSL_CONTEXT_SERIALIZATION
213
229
bool "Enable serialization of the TLS context structures"
214
230
default n
231
+ depends on MBEDTLS_GCM_C || MBEDTLS_CCM_C || MBEDTLS_CHACHAPOLY_C
215
232
help
216
233
Enable serialization of the TLS context structures
217
234
This is a local optimization in handling a single, potentially long-lived connection.
@@ -230,17 +247,14 @@ menu "mbedTLS"
230
247
See mbedTLS documentation for required API and more details.
231
248
232
249
menu "DTLS-based configurations"
233
- visible if MBEDTLS_SSL_PROTO_DTLS
250
+ depends on MBEDTLS_SSL_PROTO_DTLS
234
251
235
252
config MBEDTLS_SSL_DTLS_CONNECTION_ID
236
253
bool "Support for the DTLS Connection ID extension"
237
- depends on MBEDTLS_SSL_PROTO_DTLS
238
254
default n
239
255
help
240
256
Enable support for the DTLS Connection ID extension which allows to
241
257
identify DTLS connections across changes in the underlying transport.
242
- The Connection ID extension is still in draft state.
243
- Refer: version draft-ietf-tls-dtls-connection-id-05
244
258
245
259
config MBEDTLS_SSL_CID_IN_LEN_MAX
246
260
int "Maximum length of CIDs used for incoming DTLS messages"
@@ -276,7 +290,6 @@ menu "mbedTLS"
276
290
277
291
config MBEDTLS_SSL_DTLS_SRTP
278
292
bool "Enable support for negotiation of DTLS-SRTP (RFC 5764)"
279
- depends on MBEDTLS_SSL_PROTO_DTLS
280
293
default n
281
294
help
282
295
Enable support for negotiation of DTLS-SRTP (RFC 5764) through the use_srtp extension.
@@ -702,7 +715,7 @@ menu "mbedTLS"
702
715
config MBEDTLS_SERVER_SSL_SESSION_TICKETS
703
716
bool "TLS: Server Support for RFC 5077 SSL session tickets"
704
717
default y
705
- depends on MBEDTLS_TLS_ENABLED
718
+ depends on MBEDTLS_TLS_ENABLED && (MBEDTLS_GCM_C || MBEDTLS_CCM_C || MBEDTLS_CHACHAPOLY_C)
706
719
help
707
720
Server support for RFC 5077 session tickets. See mbedTLS documentation for more details.
708
721
Disabling this option will save some code size.
0 commit comments