mbedtls/tests
Manuel Pégourié-Gonnard 2b7ad6472b Document all effects of MBEDTLS_ECP_RESTARTABLE
It might not be obvious that this option goes beyond adding new
functions, but also automagically modifies the behaviour of TLS
in some circumstances. Moreover, the exact modifications and
circumstances were not documented anywhere outside the ChangeLog.

Fix that.

While at it, adjust the test that checks no restartable behaviour with
other key exchanges, to use a key exchange that allows cert-based client
authentication so that we can check that this is not restartable either.

We don't have any automated test checking that the server is never
affected. That would require adding an ec_max_ops command-line option to
ssl_server2 that never has any effect, just to check that it indeed
doesn't. I'm not sure that's worth it. I tested manually and could
confirm that the server never has restartable behaviour, even for the
parts that are shared between client and server such as cert chain
verification.

Note (from re-reading the code): all restartable behaviour is controlled
by the flag ssl->handshake->ecrs_enabled which is only client-side with
the ECDHE-ECDSA key exchange (TLS 1.2).

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2022-12-06 10:54:35 +01:00
..
.jenkins
configs Merge branch 'development' into rfc9146_2 2022-11-14 17:43:15 +00:00
data_files Merge pull request #6663 from davidhorstmann-arm/fix-typo-unsupported 2022-11-29 21:44:27 +01:00
docker/bionic removed changed made to the test/bionic/Dockerfile 2022-09-17 22:20:33 +02:00
git-scripts Fix typographical errors in .md files found by cspell 2022-07-29 13:44:01 +01:00
include Add test function for opaque driver (simply returns PSA_ERROR_NOT_SUPPORTED), and address other review comments. 2022-11-28 14:46:30 +00:00
opt-testcases Add parse function for early data in encrypted extentions 2022-11-22 09:40:07 +00:00
scripts Merge pull request #6698 from wernerlewis/bignum_mod_py 2022-12-01 11:48:14 +00:00
src Minor formatting fixes to address code review comments 2022-11-29 16:53:29 +00:00
suites Merge pull request #6426 from aditya-deshpande-arm/driver-wrapper-key-agreement 2022-12-01 11:40:52 +00:00
.gitignore tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
CMakeLists.txt Enable test generation from bignum_mod.py 2022-11-30 14:43:31 +00:00
compat-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
compat.sh Enable all ciphers in OpenSSL >=1.1.0 2022-11-24 22:41:55 +01:00
context-info.sh Modifies tests in context-info.sh 2021-06-16 16:19:53 +01:00
Descriptions.txt
make-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
Makefile Enable test generation from bignum_mod.py 2022-11-30 14:43:31 +00:00
ssl-opt-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
ssl-opt.sh Document all effects of MBEDTLS_ECP_RESTARTABLE 2022-12-06 10:54:35 +01:00