@@ -252,6 +252,22 @@ menu "mbedTLS"
252
252
help
253
253
Enable PKCS #7 core for using PKCS #7-formatted signatures.
254
254
255
+ config MBEDTLS_SSL_CID_PADDING_GRANULARITY
256
+ int "Record plaintext padding"
257
+ default 16
258
+ range 0 32
259
+ depends on MBEDTLS_SSL_PROTO_TLS1_3 || MBEDTLS_SSL_DTLS_CONNECTION_ID
260
+ help
261
+ Controls the use of record plaintext padding in TLS 1.3 and
262
+ when using the Connection ID extension in DTLS 1.2.
263
+
264
+ The padding will always be chosen so that the length of the
265
+ padded plaintext is a multiple of the value of this option.
266
+
267
+ Notes:
268
+ A value of 1 means that no padding will be used for outgoing records.
269
+ On systems lacking division instructions, a power of two should be preferred.
270
+
255
271
menu "DTLS-based configurations"
256
272
depends on MBEDTLS_SSL_PROTO_DTLS
257
273
@@ -278,22 +294,6 @@ menu "mbedTLS"
278
294
help
279
295
Maximum length of CIDs used for outgoing DTLS messages
280
296
281
- config MBEDTLS_SSL_CID_PADDING_GRANULARITY
282
- int "Record plaintext padding (for DTLS 1.2)"
283
- default 16
284
- range 0 32
285
- depends on MBEDTLS_SSL_DTLS_CONNECTION_ID
286
- help
287
- Controls the use of record plaintext padding when
288
- using the Connection ID extension in DTLS 1.2.
289
-
290
- The padding will always be chosen so that the length of the
291
- padded plaintext is a multiple of the value of this option.
292
-
293
- Notes:
294
- A value of 1 means that no padding will be used for outgoing records.
295
- On systems lacking division instructions, a power of two should be preferred.
296
-
297
297
config MBEDTLS_SSL_DTLS_SRTP
298
298
bool "Enable support for negotiation of DTLS-SRTP (RFC 5764)"
299
299
default n
0 commit comments