Gilles Peskine 3e76e77ee2 Test DTLS renegotiation when badmac_seen_or_in_hsfraglen != 0
Non-regression test for a bug introduced with TLS handshake defragmentation
support in Mbed TLS 3.6.3, whereby the confusion between the `badmac_seen`
meaning and the `in_hsfraglen` meaning of `ssl->badmac_seen_or_in_hsfraglen`
causes renegotiation to be processed incorrectly after receiving a message
with a bad MAC.

The bug doesn't affect Mbed TLS 4.0.0 and above, but it's still good to have
more testing.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2026-06-17 14:53:58 +02:00
..
test_suite_config.function New test suite to report configuration options 2024-06-20 17:10:24 +02:00
test_suite_config.tls_combinations.data New test suite to report configuration options 2024-06-20 17:10:24 +02:00
test_suite_constant_time_hmac.data Move test_suite_constant_time_hmac back to mbedtls 2024-10-01 15:32:01 +02:00
test_suite_constant_time_hmac.function remove MBEDTLS_USE_PSA_CRYPTO from tests 2025-07-30 07:55:14 +01:00
test_suite_debug.data tests: bulk replace MBEDTLS_RSA_C with PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY 2026-03-16 13:52:01 +01:00
test_suite_debug.function test_suite_debug: test the printf used by debug.c 2026-02-26 20:56:03 +01:00
test_suite_error.data tests: bulk replace MBEDTLS_RSA_C with PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY 2026-03-16 13:52:01 +01:00
test_suite_error.function Fix test case dependency 2024-10-21 12:07:27 +01:00
test_suite_mps.data
test_suite_mps.function Add missing exit labels to MPS tests 2023-10-20 19:14:46 +01:00
test_suite_net.data
test_suite_net.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_pkcs7.data tests: pkcs7: ease requirements for parse tests 2026-03-16 13:52:01 +01:00
test_suite_pkcs7.function tests: bulk replace MBEDTLS_RSA_C with PSA_HAVE_ALG_SOME_RSA_VERIFY 2026-03-16 13:52:01 +01:00
test_suite_ssl_decrypt.function Introduce MBEDTLS_SSL_NULL_CIPHERSUITES 2025-09-16 15:53:43 +02:00
test_suite_ssl_decrypt.misc.data Replace MBEDTLS_MD_CAN_SHA1 with PSA_WANT_ALG_SHA_1 2024-09-04 18:12:59 +01:00
test_suite_ssl.data Test DTLS renegotiation when badmac_seen_or_in_hsfraglen != 0 2026-06-17 14:53:58 +02:00
test_suite_ssl.function Test DTLS renegotiation when badmac_seen_or_in_hsfraglen != 0 2026-06-17 14:53:58 +02:00
test_suite_ssl.records.data Use HANDSHAKE_OVER in nominal test cases 2025-04-10 10:18:44 +02:00
test_suite_ssl.tls-defrag.data Adapt dependencies to the new world 2025-03-14 09:22:09 +01:00
test_suite_test_helpers.data Basic functional test for memory poisoning 2023-11-29 19:22:03 +01:00
test_suite_test_helpers.function Update documentation regarding metatest 2025-02-19 15:30:25 +00:00
test_suite_timing.data Move back timing.c to mbedtls 2024-12-04 14:25:02 +01:00
test_suite_timing.function Move back timing.c to mbedtls 2024-12-04 14:25:02 +01:00
test_suite_version.data Bump version 2026-03-26 22:34:28 +00:00
test_suite_version.function Simplify runtime version info string methods 2025-08-18 11:39:45 +02:00
test_suite_x509_oid.data Remove MBEDTLS_OID_X509_EXT_xxx constants 2025-06-03 15:51:34 +02:00
test_suite_x509_oid.function Replace MBEDTLS_OID_C by function-specific dependencies 2025-06-03 15:51:34 +02:00
test_suite_x509parse.data Merge remote-tracking branch 'restricted/development-restricted' into mbedtls-4.1.0.rc3 2026-03-26 22:18:31 +00:00
test_suite_x509parse.function inet_pton: help ASan find the underflow 2026-02-12 08:11:37 +00:00
test_suite_x509write.data tests: bulk replace MBEDTLS_RSA_C with PSA_HAVE_ALG_SOME_RSA_SIGN 2026-03-16 13:52:01 +01:00
test_suite_x509write.function Remove internal deprecated items 2025-10-07 08:19:44 +01:00