Gilles Peskine 5950301740 Don't call psa_crypto_init in unit tests when not required for TLS 1.3
For backward compatibility with Mbed TLS <=3.5.x, applications must be able
to make a TLS connection with a peer that supports both TLS 1.2 and TLS 1.3,
regardless of whether they call psa_crypto_init(). Since Mbed TLS 3.6.0,
we enable TLS 1.3 in the default configuration, so we must take care of
calling psa_crypto_init() if needed. This is a change from TLS 1.3 in
previous versions, where enabling MBEDTLS_SSL_PROTO_TLS1_3 was a user
choice and could have additional requirement.

This commit changes our unit tests to validate that the library
does not have the compatibility-breaking requirement.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-08-25 10:44:39 +02:00
..
.jenkins
configs Header updates 2023-11-03 12:21:36 +00:00
docker/bionic Header updates 2023-11-03 12:21:36 +00:00
git-scripts Header updates 2023-11-03 12:21:36 +00:00
include Don't call psa_crypto_init in unit tests when not required for TLS 1.3 2024-08-25 10:44:39 +02:00
opt-testcases Update generated tls13 testcase script 2024-07-08 15:36:48 +01:00
scripts Merge pull request #9240 from gilles-peskine-arm/psa-keystore-dynamic-3.6 2024-08-22 12:53:32 +00:00
src Merge pull request #9451 from minosgalanakis/fix-v3.6-issues-9186-and-9188-bp 2024-08-12 09:34:19 +00:00
suites Merge pull request #9281 from mpg/rsapub 2024-08-22 16:50:38 +00:00
.gitignore Anchor relative paths 2024-06-21 00:01:20 +02:00
CMakeLists.txt tests: CMake: Align/fix config test suite generation 2024-07-23 07:51:10 +02:00
compat-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
compat.sh Replace data_files path with variable in compat.sh 2024-07-08 15:36:48 +01:00
context-info.sh Update directory-climbing path in context-info.sh 2024-07-08 15:36:48 +01:00
Descriptions.txt
make-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
Makefile Generate config test cases for single options 2024-06-21 00:01:20 +02:00
ssl-opt-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
ssl-opt.sh Remove redundant legacy compression test 2024-08-22 15:50:46 +00:00