1 /* MBEDTLS_USER_CONFIG_FILE for testing.
2  * Only used for a few test configurations.
3  *
4  * Typical usage (note multiple levels of quoting):
5  *     make CFLAGS="'-DMBEDTLS_USER_CONFIG_FILE=\"../tests/configs/tls13-only.h\"'"
6  */
7 
8 /*
9  *  Copyright The Mbed TLS Contributors
10  *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
11  */
12 
13 /* Enable TLS 1.3 and core 1.3 features */
14 #define MBEDTLS_SSL_PROTO_TLS1_3
15 #define MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
16 
17 /* Disable TLS 1.2 and 1.2-specific features */
18 #undef MBEDTLS_SSL_ENCRYPT_THEN_MAC
19 #undef MBEDTLS_SSL_EXTENDED_MASTER_SECRET
20 #undef MBEDTLS_SSL_RENEGOTIATION
21 #undef MBEDTLS_SSL_PROTO_TLS1_2
22 #undef MBEDTLS_SSL_PROTO_DTLS
23 #undef MBEDTLS_SSL_DTLS_ANTI_REPLAY
24 #undef MBEDTLS_SSL_DTLS_HELLO_VERIFY
25 #undef MBEDTLS_SSL_DTLS_SRTP
26 #undef MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE
27 #undef MBEDTLS_SSL_DTLS_CONNECTION_ID
28 #undef MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT
29 
30 /* Enable some invasive tests */
31 #define MBEDTLS_TEST_HOOKS
32