Manuel Pégourié-Gonnard 921a2acf8b Improve dependency declarations
The function depends on MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED which is
basically

    MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED ||
    MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED

The individual test cases depend on the specific TLS version.

This is not precise enough. In a build with both TLS versions enabled,
we could have cert-based key exchange in one version but not in the
other. So, we need the 1.3 tests to depend on the 1.3 cert-based key
exchange and similarly for 1.2.

For 1.2, cert-based key exchange means ECDHE-{RSA,ECDSA} or
ECDH-{RSA,ECDSA}. Since the test function sets an ECC cert for the
server, we want one of the ECDSA ones. So, the minimal dependency would
be ECDH_ECDSA || ECDHE_ECDSA. Since dependencies with || are
inconvenient to express, and anyway ECDH_ECDSA (static ECDH) is
something we'd like to remove in 4.0 if we can find the time, I chose to
just depend on ECDHE_ECDSA.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2025-04-09 12:52:26 +02:00
..
.jenkins
configs [development] Remove code relating to MBEDTLS_PSA_INJECT_ENTROPY 2025-03-28 09:01:05 +01:00
git-scripts Header updates 2023-11-03 12:21:36 +00:00
include Fix copypasta 2025-04-09 12:52:26 +02:00
opt-testcases Switch to generated handshake tests 2025-03-03 16:13:19 +01:00
psa-client-server Merge pull request #10073 from felixc-arm/remove-inject-entropy 2025-03-28 13:22:00 +00:00
scripts Remove check-generated-files.sh 2025-03-31 17:18:03 +02:00
src Merge branch 'development-restricted' into merge-from-restricted 2025-04-01 09:40:47 +02:00
suites Improve dependency declarations 2025-04-09 12:52:26 +02:00
.gitignore cmake: Generate test_keys.h and test_certs.h in the build tree 2025-03-26 21:19:28 +01:00
CMakeLists.txt cmake: Generate test_keys.h and test_certs.h in the build tree 2025-03-26 21:19:28 +01:00
compat-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
compat.sh Remove TLS-RSA related test cases 2025-03-20 17:53:07 +01:00
context-info.sh Remove TLS-RSA related test cases 2025-03-20 17:53:07 +01:00
Descriptions.txt
make-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
Makefile cmake: Generate test_keys.h and test_certs.h in the build tree 2025-03-26 21:19:28 +01:00
ssl-opt.sh Merge branch 'development-restricted' into merge-from-restricted 2025-04-01 09:40:47 +02:00