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
..
.jenkins
configs Fix test_malloc_0_null 2024-12-10 16:56:49 +01:00
git-scripts Header updates 2023-11-03 12:21:36 +00:00
include tests: remove references to DHE-RSA 2025-02-06 10:05:58 +01:00
opt-testcases Add ignore list entries for TLS tests that are not executed 2024-10-10 17:26:11 +02:00
psa-client-server Refactor tests and programs comment 2024-11-20 16:20:52 +00:00
scripts tests: remove references to DHE-RSA 2025-02-06 10:05:58 +01:00
src Move psa_test_wrappers.h/c to tf-psa-crypto 2024-12-04 14:25:02 +01:00
suites test_suite_ssl: require GCM or ChaChaPoly in handshake_serialization() 2025-02-06 10:12:02 +01:00
.gitignore Automatically generate tests/opt-testcases/tls13-compat.sh 2024-09-24 18:59:31 +02:00
CMakeLists.txt Revert "Remove mbedtls_test" 2024-12-10 16:56:49 +01:00
compat-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
compat.sh ssl-opt.sh|compat.sh: remove references to DHE-RSA 2025-02-06 10:05:58 +01:00
context-info.sh Update directory-climbing path in context-info.sh 2024-07-05 15:49:05 +01:00
Descriptions.txt
make-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
Makefile Declare the new Python module used by generate_psa_tests.py 2025-01-08 16:51:23 +01:00
ssl-opt.sh ssl-opt.sh|compat.sh: remove references to DHE-RSA 2025-02-06 10:05:58 +01:00