mbedtls/include/mbedtls
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
..
aes.h Unify defintions of inline for MSVC (and old armcc?) 2022-11-23 16:15:21 +01:00
aria.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
asn1.h Merge remote-tracking branch 'origin/development' into pr3431 2022-11-10 09:54:49 +00:00
asn1write.h Fix a/an typos in doxygen and other comments 2022-07-28 05:50:56 +01:00
base64.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
bignum.h Merge pull request #6609 from gilles-peskine-arm/mpi_sint-min-ub 2022-11-21 19:51:58 +01:00
build_info.h Unify defintions of inline for MSVC (and old armcc?) 2022-11-23 16:15:21 +01:00
camellia.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
ccm.h Remove invalid comments in CCM API 2021-10-27 11:25:08 +02:00
chacha20.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
chachapoly.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
check_config.h Merge pull request #6264 from hannestschofenig/rfc9146_2 2022-11-29 09:25:14 +01:00
cipher.h Unify defintions of inline for MSVC (and old armcc?) 2022-11-23 16:15:21 +01:00
cmac.h Reword documentation of CMAC operations 2021-12-06 18:58:02 +00:00
compat-2.x.h
config_psa.h Merge pull request #6115 from AndrzejKurek/ecjpake-kdf-tls-1-2 2022-09-28 09:47:32 +02:00
constant_time.h Move copyright notice out of the Doxygen documentation 2022-10-26 18:02:56 +02:00
ctr_drbg.h Add missing asterisk to doxygen closures 2021-12-28 16:22:52 +01:00
debug.h Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-05-11 21:25:51 +01:00
des.h Change DES and AES functions to MBEDTLS_CHECK_RETURN_TYPICAL 2021-09-27 19:15:56 +02:00
dhm.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
ecdh.h
ecdsa.h Correct documentation for mbedtls_ecdsa_verify 2022-08-19 11:17:36 +01:00
ecjpake.h tls: psa_pake: enforce not empty passwords 2022-11-17 18:20:50 +01:00
ecp.h Fix minor typos 2022-08-22 16:05:58 +02:00
entropy.h Add missing asterisk to doxygen closures 2021-12-28 16:22:52 +01:00
error.h Merge pull request #6648 from gilles-peskine-arm/psa-ecb-null-0 2022-11-25 17:07:46 +00:00
gcm.h Change error code for MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL. 2021-10-22 10:33:32 +02:00
hkdf.h Add missing asterisk to doxygen closures 2021-12-28 16:22:52 +01:00
hmac_drbg.h Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-05-11 21:25:51 +01:00
legacy_or_psa.h Declare legacy_or_psa.h as private 2022-10-26 18:03:14 +02:00
lms.h include: mbedtls: Add missing private_access header 2022-11-08 14:55:32 -08:00
mbedtls_config.h Document all effects of MBEDTLS_ECP_RESTARTABLE 2022-12-06 10:54:35 +01:00
md.h Fix a/an typos in doxygen and other comments 2022-07-28 05:50:56 +01:00
md5.h
memory_buffer_alloc.h Merge pull request #5381 from mpg/benchmark-ecc-heap 2022-04-22 16:43:11 +02:00
net_sockets.h mbedtls_net_context: make fd public on Unix/POSIX platforms 2021-08-31 22:54:27 +02:00
nist_kw.h
oid.h mbedtls: add support for pkcs7 2022-09-01 19:45:33 -05:00
pem.h Unify defintions of inline for MSVC (and old armcc?) 2022-11-23 16:15:21 +01:00
pk.h Unify defintions of inline for MSVC (and old armcc?) 2022-11-23 16:15:21 +01:00
pkcs5.h Add missing MD dependency for pkcs5_pbkdf2_hmac 2022-09-02 04:07:15 -04:00
pkcs7.h Improve wording 2022-12-01 18:45:02 +00:00
pkcs12.h Documentation fixes 2021-11-30 15:37:49 +00:00
platform.h Document the base state of platform abstraction 2022-09-15 20:34:50 +02:00
platform_time.h doxygen: remove empty platform_time configuration section 2021-12-30 12:34:00 +01:00
platform_util.h Fix spelling and typographical errors found by cspell 2022-05-26 11:51:00 +01:00
poly1305.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
private_access.h Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-05-11 21:25:51 +01:00
psa_util.h Migrate from old inline to new actual function. 2022-07-18 21:28:38 +02:00
ripemd160.h Fix a/an typos in doxygen and other comments 2022-07-28 05:50:56 +01:00
rsa.h Fix a/an typos in doxygen and other comments 2022-07-28 05:50:56 +01:00
sha1.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
sha256.h Add return info to sha256 docs 2021-10-22 22:05:10 +02:00
sha512.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
ssl.h Merge pull request #6264 from hannestschofenig/rfc9146_2 2022-11-29 09:25:14 +01:00
ssl_cache.h Add missing asterisk to doxygen closures 2021-12-28 16:22:52 +01:00
ssl_ciphersuites.h Introduce and use MBEDTLS_SSL_HANDSHAKE_WITH_PSK_ENABLED 2022-10-22 14:42:04 +02:00
ssl_cookie.h Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-05-11 21:25:51 +01:00
ssl_ticket.h Respect MBEDTLS_HAVE_TIME in ssl_ticket 2022-08-17 14:20:36 +01:00
threading.h Move MBEDTLS_ERR_xxx Doxygen comments before the definition 2021-08-02 22:51:03 +02:00
timing.h Add accessor for timing final delay 2022-03-21 15:26:19 +00:00
version.h
x509.h Inline mbedtls_x509_dn_get_next() in x509.h 2022-06-27 14:20:07 -04:00
x509_crl.h Add missing asterisk to doxygen closures 2021-12-28 16:22:52 +01:00
x509_crt.h Merge pull request #6121 from daverodgman/pr277 2022-10-31 13:27:49 +00:00
x509_csr.h Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-05-11 21:25:51 +01:00