Valerio Setti 1494a09ff7 test_suite_ssl: require GCM or ChaChaPoly in handshake_serialization()
Hanshake serialization requires that the selected ciphersuite uses
an AEAD algorithm. However, following the DHE-RSA removal, trying to
still use RSA signature might select a ciphersuite which is not using
AEAD, but CBC instead (see preference order in "ssl_ciphersuite.c").

This is especially problematic in tests scenarios where both GCM and
ChaChaPoly are disabled, so that CCM remains as the only AEAD algorithm.
Ciphersuites using RSA signature and CCM are very low on the preference
list, so very unlikely to be picked in tests. This cause a CBC one to
be selected in this case and the handshake_serialization() function
to fail.

In order to prevent failures from happening, in this commit we require
that either GCM or ChaChaPoly are enabled, so that ciphersuites using one
of these are likely to be picked.

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
2025-02-06 10:12:02 +01: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 Move test_suite_constant_time_hmac back to mbedtls 2024-10-01 15:32:01 +02:00
test_suite_debug.data Replace MBEDTLS_PK_CAN_ECDSA_SOME with PSA_HAVE_ALG_SOME_ECDSA 2024-09-09 11:17:36 +01:00
test_suite_debug.function Fix missing-prototype errors in tests/suites 2024-08-09 10:29:58 +01:00
test_suite_error.data Move tests for error.c from tf-psa-crypto to Mbed TLS 2024-10-18 08:19:50 +01:00
test_suite_error.function Fix test case dependency 2024-10-21 12:07:27 +01:00
test_suite_mps.data Add unit test for integer overflow in mbedtls_mps_reader_reclaim() 2021-03-29 14:20:18 +01:00
test_suite_mps.function Add missing exit labels to MPS tests 2023-10-20 19:14:46 +01:00
test_suite_net.data Add test for mbedtls_net_poll beyond FD_SETSIZE 2021-02-25 15:56:48 +01:00
test_suite_net.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_pkcs7.data Replace MBEDTLS_MD_CAN_SHA1 with PSA_WANT_ALG_SHA_1 2024-09-04 18:12:59 +01:00
test_suite_pkcs7.function Fix missing-prototype errors in tests/suites 2024-08-09 10:29:58 +01:00
test_suite_ssl_decrypt.function Replace MBEDTLS_SSL_HAVE_CBC with PSA_WANT_ALG_CBC_NO_PADDING 2024-07-31 16:19:15 +01: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_suite_ssl: require GCM or ChaChaPoly in handshake_serialization() 2025-02-06 10:12:02 +01:00
test_suite_ssl.function test_suite_ssl: require GCM or ChaChaPoly in handshake_serialization() 2025-02-06 10:12:02 +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 Basic functional test for memory poisoning 2023-11-29 19:22:03 +01: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 test-data: Adjusted check-feature test to seek MBEDTLS_TIMING_C. 2024-12-04 09:57:56 +00:00
test_suite_version.function Move version tests from tf-psa-crypto/test/suite to test/suites 2024-10-04 13:37:42 +01:00
test_suite_x509parse.data Remove !MBEDTLS_USE_PSA_CRYPTO test cases that have a USE_PSA alternate 2024-10-22 22:10:42 +02:00
test_suite_x509parse.function Fix x509 parse syntax typo 2024-09-19 16:30:09 +01:00
test_suite_x509write.data Merge pull request #9413 from sezrab/split_numeric_string_conversions_oid-development 2024-09-26 12:50:37 +00:00
test_suite_x509write.function tests: remove usage of mbedtls_x509write_crt_set_serial 2025-01-16 15:02:15 +01:00