Gilles Peskine 73a406ee60 Separate accepting TLS 1.3 middlebox compatibility from sending it
The compile-time option MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE gates both
support for interoperability with a peer that uses middlebox compatibility
mode, and support for activating that mode ourselves. Change code that is
only needed for interoperability to be guarded by
MBEDTLS_SSL_TLS1_3_ACCEPT_COMPATIBILITY_MODE.

As of this commit, MBEDTLS_SSL_TLS1_3_ACCEPT_COMPATIBILITY_MODE is always
enabled: there is no way to disable it, and there are no tests with it
disabled.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-09-24 18:58:49 +02:00
..
.gitignore Move crypto modules 2024-07-10 08:07:34 +02:00
CMakeLists.txt Bump version to 4.0.0 2024-09-10 10:43:14 +02:00
common.h MBEDTLS_STATIC_ASSERT: make it work outside of a function 2024-08-07 12:39:05 +02:00
debug_internal.h debug: move internal functions declarations to an internal header file 2024-01-18 15:30:46 +01:00
debug.c debug: move internal functions declarations to an internal header file 2024-01-18 15:30:46 +01:00
Makefile Adapt make build system 2024-07-19 10:07:27 +02:00
mps_common.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
mps_error.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
mps_reader.c Fix some non-standard headers 2023-11-03 12:24:58 +00:00
mps_reader.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
mps_trace.c Fix some non-standard headers 2023-11-03 12:24:58 +00:00
mps_trace.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
net_sockets.c Fix NULL argument handling in mbedtls_xxx_free() functions 2024-03-22 14:46:04 -04:00
pkcs7.c x509: move internal functions declarations to a private header 2024-01-19 09:07:35 +01:00
ssl_cache.c Header updates 2023-11-03 12:21:36 +00:00
ssl_ciphersuites_internal.h ssl_ciphersuites: move internal functions declarations to a private header 2024-01-18 15:08:28 +01:00
ssl_ciphersuites.c Replace MBEDTLS_MD_CAN_SHA1 with PSA_WANT_ALG_SHA_1 2024-09-04 18:12:59 +01:00
ssl_client.c tls13: Use a flag not a counter for CCS and HRR handling 2024-03-14 15:05:09 +01:00
ssl_client.h Header updates 2023-11-03 12:21:36 +00:00
ssl_cookie.c Replace MBEDTLS_MD_CAN_SHA256 with PSA_WANT_ALG_SHA_256 2024-07-11 11:13:35 +03:00
ssl_debug_helpers.h tls13: cli: Split early data user status and internal state 2024-03-12 17:48:15 +01:00
ssl_misc.h Separate accepting TLS 1.3 middlebox compatibility from sending it 2024-09-24 18:58:49 +02:00
ssl_msg.c Separate accepting TLS 1.3 middlebox compatibility from sending it 2024-09-24 18:58:49 +02:00
ssl_ticket.c Fix NULL argument handling in mbedtls_xxx_free() functions 2024-03-22 14:46:04 -04:00
ssl_tls12_client.c Merge pull request #8574 from ronald-cron-arm/ssl-tickets 2024-02-21 09:38:46 +00:00
ssl_tls12_server.c Make mbedtls_ssl_check_cert_usage() work for 1.3 2024-09-02 12:46:03 +02:00
ssl_tls13_client.c Enable ssl_tls13_get_ciphersuite_hash_alg only if macro is active 2024-03-27 08:22:53 +01:00
ssl_tls13_generic.c Merge 1.2 and 1.3 certificate verification 2024-09-02 12:46:03 +02:00
ssl_tls13_invasive.h Header updates 2023-11-03 12:21:36 +00:00
ssl_tls13_keys.c Merge pull request #8715 from valeriosetti/issue7964 2024-02-05 15:09:15 +00:00
ssl_tls13_keys.h Fix some non-standard headers 2023-11-03 12:24:58 +00:00
ssl_tls13_server.c Improve comments explaining legacy_methods_compression handling 2024-06-25 18:16:16 +01:00
ssl_tls.c Merge pull request #9544 from eleuzi01/replace-224k1 2024-09-06 15:15:35 +00:00
x509_create.c Update fix to be more platform-independent 2024-01-22 15:31:05 +00:00
x509_crl.c x509: move internal functions declarations to a private header 2024-01-19 09:07:35 +01:00
x509_crt.c Fix Mbed-TLS build when WIN32_LEAN_AND_MEAN macro is defined globally 2024-08-14 15:15:14 -07:00
x509_csr.c x509: move internal functions declarations to a private header 2024-01-19 09:07:35 +01:00
x509_internal.h Un-unrestore mbedtls_x509_string_to_names() 2024-02-26 13:59:43 +00:00
x509.c Replace MBEDTLS_MD_CAN_SHA1 with PSA_WANT_ALG_SHA_1 2024-09-04 18:12:59 +01:00
x509write_crt.c Replace MBEDTLS_MD_CAN_SHA1 with PSA_WANT_ALG_SHA_1 2024-09-04 18:12:59 +01:00
x509write_csr.c Fix NULL argument handling in mbedtls_xxx_free() functions 2024-03-22 14:46:04 -04:00
x509write.c x509: move internal functions declarations to a private header 2024-01-19 09:07:35 +01:00