mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-29 00:18:06 -04:00
Move non-boolean config options to the proper section
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
8c2830a06a
commit
a8d7e438e6
@ -1654,45 +1654,6 @@
|
|||||||
*/
|
*/
|
||||||
#define MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED
|
#define MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED
|
||||||
|
|
||||||
/**
|
|
||||||
* \def MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE
|
|
||||||
*
|
|
||||||
* Maximum time difference in milliseconds tolerated between the age of a
|
|
||||||
* ticket from the server and client point of view.
|
|
||||||
* From the client point of view, the age of a ticket is the time difference
|
|
||||||
* between the time when the client proposes to the server to use the ticket
|
|
||||||
* (time of writing of the Pre-Shared Key Extension including the ticket) and
|
|
||||||
* the time the client received the ticket from the server.
|
|
||||||
* From the server point of view, the age of a ticket is the time difference
|
|
||||||
* between the time when the server receives a proposition from the client
|
|
||||||
* to use the ticket and the time when the ticket was created by the server.
|
|
||||||
* The server age is expected to be always greater than the client one and
|
|
||||||
* MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE defines the
|
|
||||||
* maximum difference tolerated for the server to accept the ticket.
|
|
||||||
* This is not used in TLS 1.2.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
#define MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE 6000
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \def MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH
|
|
||||||
*
|
|
||||||
* Size in bytes of a ticket nonce. This is not used in TLS 1.2.
|
|
||||||
*
|
|
||||||
* This must be less than 256.
|
|
||||||
*/
|
|
||||||
#define MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \def MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS
|
|
||||||
*
|
|
||||||
* Default number of NewSessionTicket messages to be sent by a TLS 1.3 server
|
|
||||||
* after handshake completion. This is not used in TLS 1.2 and relevant only if
|
|
||||||
* the MBEDTLS_SSL_SESSION_TICKETS option is enabled.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
#define MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS 1
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \def MBEDTLS_SSL_EARLY_DATA
|
* \def MBEDTLS_SSL_EARLY_DATA
|
||||||
*
|
*
|
||||||
@ -3809,6 +3770,45 @@
|
|||||||
*/
|
*/
|
||||||
//#define MBEDTLS_SSL_CIPHERSUITES MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
|
//#define MBEDTLS_SSL_CIPHERSUITES MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \def MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE
|
||||||
|
*
|
||||||
|
* Maximum time difference in milliseconds tolerated between the age of a
|
||||||
|
* ticket from the server and client point of view.
|
||||||
|
* From the client point of view, the age of a ticket is the time difference
|
||||||
|
* between the time when the client proposes to the server to use the ticket
|
||||||
|
* (time of writing of the Pre-Shared Key Extension including the ticket) and
|
||||||
|
* the time the client received the ticket from the server.
|
||||||
|
* From the server point of view, the age of a ticket is the time difference
|
||||||
|
* between the time when the server receives a proposition from the client
|
||||||
|
* to use the ticket and the time when the ticket was created by the server.
|
||||||
|
* The server age is expected to be always greater than the client one and
|
||||||
|
* MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE defines the
|
||||||
|
* maximum difference tolerated for the server to accept the ticket.
|
||||||
|
* This is not used in TLS 1.2.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
#define MBEDTLS_SSL_TLS1_3_TICKET_AGE_TOLERANCE 6000
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \def MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH
|
||||||
|
*
|
||||||
|
* Size in bytes of a ticket nonce. This is not used in TLS 1.2.
|
||||||
|
*
|
||||||
|
* This must be less than 256.
|
||||||
|
*/
|
||||||
|
#define MBEDTLS_SSL_TLS1_3_TICKET_NONCE_LENGTH 32
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \def MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS
|
||||||
|
*
|
||||||
|
* Default number of NewSessionTicket messages to be sent by a TLS 1.3 server
|
||||||
|
* after handshake completion. This is not used in TLS 1.2 and relevant only if
|
||||||
|
* the MBEDTLS_SSL_SESSION_TICKETS option is enabled.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
#define MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS 1
|
||||||
|
|
||||||
/* X509 options */
|
/* X509 options */
|
||||||
//#define MBEDTLS_X509_MAX_INTERMEDIATE_CA 8 /**< Maximum number of intermediate CAs in a verification chain. */
|
//#define MBEDTLS_X509_MAX_INTERMEDIATE_CA 8 /**< Maximum number of intermediate CAs in a verification chain. */
|
||||||
//#define MBEDTLS_X509_MAX_FILE_PATH_LEN 512 /**< Maximum length of a path/filename string in bytes including the null terminator character ('\0'). */
|
//#define MBEDTLS_X509_MAX_FILE_PATH_LEN 512 /**< Maximum length of a path/filename string in bytes including the null terminator character ('\0'). */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user