mbedtls/library
Ronald Cron 8a74f07c2a tls13: server: Fix spurious HRR
If the server during a TLS 1.3 handshake selects
the PSK key exchange mode, it does not matter
if it did not find in the key share extension
a key share for a group it supports. Such a
key share is used and necessary only in the
case of the ephemeral or PSK ephemeral key
exchange mode. This is a possible scenario in
the case of a server that supports only the PSK
key exchange mode and a client that also
supports a key exchange mode with ephemeral keys.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2023-07-07 15:53:12 +02:00
..
.gitignore Ignore *.o everywhere 2023-05-12 13:58:05 +02:00
aes.c Merge pull request #7784 from daverodgman/aesce-unroll 2023-07-04 18:41:13 +01:00
aesce.c Merge pull request #7784 from daverodgman/aesce-unroll 2023-07-04 18:41:13 +01:00
aesce.h Improve readability of unrolled AESCE code 2023-06-16 09:36:50 +01:00
aesni.c AES: add macro of MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH 2023-05-05 11:20:38 +08:00
aesni.h Address test review comments 2023-06-16 20:18:36 +01:00
alignment.h psa: Remove unnecessary headers 2023-03-31 09:01:45 +02:00
aria.c Switch to the new code style 2023-01-11 14:50:10 +01:00
asn1parse.c Switch to the new code style 2023-01-11 14:50:10 +01:00
asn1write.c Read and write X25519 and X448 private keys 2023-05-04 13:01:47 +02:00
base64.c Remove DIY SIZE_MAX definitions 2023-05-18 20:49:03 +01:00
bignum.c Remove DIY SIZE_MAX definitions 2023-05-18 20:49:03 +01:00
bignum_core.c Merge pull request #7489 from minosgalanakis/ecp/7246_xtrack_core_shift_l 2023-05-16 17:13:19 +01:00
bignum_core.h Merge pull request #7489 from minosgalanakis/ecp/7246_xtrack_core_shift_l 2023-05-16 17:13:19 +01:00
bignum_mod.c bignum_mod: Added a typedef for OPT_RED function pointer. 2023-06-22 09:14:28 +01:00
bignum_mod.h bignum_mod: Added a typedef for OPT_RED function pointer. 2023-06-22 09:14:28 +01:00
bignum_mod_raw.c ecp_curves: Adjusted expected_width inputs to use BITS_TO_LIMBS macro. 2023-06-27 14:07:07 +01:00
bignum_mod_raw.h bignum: Removed merge scaffolding. 2023-04-05 16:13:11 +01:00
bignum_mod_raw_invasive.h Update documentation 2023-01-23 19:10:26 +01:00
bn_mul.h Merge pull request #7784 from daverodgman/aesce-unroll 2023-07-04 18:41:13 +01:00
camellia.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ccm.c Use fewer bits for block_size 2023-06-24 13:37:28 +01:00
chacha20.c Switch to the new code style 2023-01-11 14:50:10 +01:00
chachapoly.c Switch to the new code style 2023-01-11 14:50:10 +01:00
check_crypto_config.h config_psa: replace USE symbols with BASIC one for all KEY_PAIRs 2023-06-16 12:27:02 +02:00
cipher.c Add casts for enums in cipher.c 2023-06-24 17:33:14 +01:00
cipher_wrap.c Drop not-used items from the base look-up table 2023-06-24 22:58:51 +01:00
cipher_wrap.h code style 2023-06-24 13:37:28 +01:00
cmac.c Merge pull request #7825 from daverodgman/cipher_wrap_size 2023-07-05 15:45:48 +01:00
CMakeLists.txt Merge remote-tracking branch 'origin/development' into sha3-updated 2023-06-07 18:02:04 +01:00
common.h Merge pull request #7784 from daverodgman/aesce-unroll 2023-07-04 18:41:13 +01:00
constant_time.c Merge pull request #7665 from AndrzejKurek/optimize-error-translation-code-size 2023-06-28 08:09:00 +01:00
constant_time_internal.h Switch to the new code style 2023-01-11 14:50:10 +01:00
constant_time_invasive.h Switch to the new code style 2023-01-11 14:50:10 +01:00
ctr_drbg.c Remove redundant SIZE_MAX guards 2023-02-10 16:03:44 +00:00
debug.c Merge pull request #7554 from valeriosetti/issue7073-reshape 2023-05-23 15:08:45 +02:00
des.c Switch to the new code style 2023-01-11 14:50:10 +01:00
dhm.c Switch to the new code style 2023-01-11 14:50:10 +01:00
ecdh.c Update SEC1 link in ecdh.c 2023-04-12 06:07:23 +00:00
ecdsa.c Merge pull request #7499 from JonathanWitthoeft/development 2023-04-28 12:45:32 +02:00
ecjpake.c Remove hash_info.[ch] 2023-06-06 10:33:54 +02:00
ecp.c Merge pull request #7429 from xkqian/bignumber_update_comments 2023-04-26 16:21:56 +01:00
ecp_curves.c ecp_curves: Adjusted expected_width inputs to use BITS_TO_LIMBS macro. 2023-06-27 14:07:07 +01:00
ecp_internal_alt.h Switch to the new code style 2023-01-11 14:50:10 +01:00
ecp_invasive.h ecp_curves: Updated input argument for mbedtls_ecp_modulus_setup. 2023-06-16 13:48:47 +01:00
entropy.c Use MD-light in entropy.c 2023-03-24 10:43:40 +01:00
entropy_poll.c Switch to the new code style 2023-01-11 14:50:10 +01:00
entropy_poll.h Switch to the new code style 2023-01-11 14:50:10 +01:00
gcm.c Use fewer bits for block_size 2023-06-24 13:37:28 +01:00
hkdf.c Switch to the new code style 2023-01-11 14:50:10 +01:00
hmac_drbg.c Fix instances of old feature macros being used 2023-03-24 10:43:40 +01:00
lmots.c Fix wrong array size calculation in error translation code 2023-06-13 05:46:47 -04:00
lmots.h Unify PSA to Mbed TLS error translation 2023-03-03 05:23:44 -05:00
lms.c Fix wrong array size calculation in error translation code 2023-06-13 05:46:47 -04:00
Makefile Merge remote-tracking branch 'origin/development' into sha3-updated 2023-06-07 18:02:04 +01:00
md.c Replace use of MBEDTLS_SHA3_C with MBEDTLS_MD_CAN_SHA3_xxx 2023-06-08 16:03:54 +01:00
md5.c Switch to the new code style 2023-01-11 14:50:10 +01:00
md_psa.h Add MD <-> PSA translation functions to MD light 2023-06-06 10:33:54 +02:00
md_wrap.h Merge branch 'development' into sha3 2023-02-07 19:55:31 +01:00
memory_buffer_alloc.c Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_common.h Merge branch 'development' into development 2023-06-04 14:57:19 -04:00
mps_error.h Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_reader.c Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_reader.h Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_trace.c Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_trace.h Switch to the new code style 2023-01-11 14:50:10 +01:00
net_sockets.c Switch to the new code style 2023-01-11 14:50:10 +01:00
nist_kw.c Use fewer bits for block_size 2023-06-24 13:37:28 +01:00
oid.c library: replace occurencies of ECP_LIGHT with PK_HAVE_ECC_KEYS 2023-06-19 19:24:05 +02:00
padlock.c Tidy-up - move asm #define into build_info.h 2023-01-20 14:04:48 +00:00
padlock.h Switch to the new code style 2023-01-11 14:50:10 +01:00
pem.c Remove hash_info.[ch] 2023-06-06 10:33:54 +02:00
pk.c pk: ignore opaque EC keys in pk_setup when they are not supported 2023-06-30 18:11:29 +02:00
pk_internal.h pk: remove useless internal function 2023-06-19 19:24:05 +02:00
pk_wrap.c pk_wrap: fix: always clear buffer holding private key in eckey_check_pair_psa 2023-06-30 18:04:16 +02:00
pk_wrap.h pk: uniform naming of functions and structures in pk/pk_wrap 2023-06-29 14:33:27 +02:00
pkcs5.c Fix some compiler type warnings 2023-06-24 16:53:13 +01:00
pkcs7.c Update wording in comments 2023-03-13 12:15:49 +00:00
pkcs12.c Fix some compiler type warnings 2023-06-24 16:53:13 +01:00
pkparse.c library: replace occurencies of ECP_LIGHT with PK_HAVE_ECC_KEYS 2023-06-19 19:24:05 +02:00
pkwrite.c pkwrite: fix wrong guard position for pk_get_opaque_ec_family() 2023-06-19 19:24:05 +02:00
pkwrite.h library: replace occurencies of ECP_LIGHT with PK_HAVE_ECC_KEYS 2023-06-19 19:24:05 +02:00
platform.c Switch to the new code style 2023-01-11 14:50:10 +01:00
platform_util.c Merge pull request #6891 from yuhaoth/pr/add-milliseconds-platform-function 2023-03-31 11:47:37 +01:00
poly1305.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto.c Merge pull request #7627 from mprse/ffdh_tls13_v2 2023-07-03 10:12:33 +02:00
psa_crypto_aead.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_aead.h Make \retval commands non-empty 2023-02-14 19:21:09 +01:00
psa_crypto_cipher.c Use fewer bits for block_size 2023-06-24 13:37:28 +01:00
psa_crypto_cipher.h Make \retval commands non-empty 2023-02-14 19:21:09 +01:00
psa_crypto_client.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_core.h Add utility function to check for drivers init 2023-03-16 09:46:51 +01:00
psa_crypto_core_common.h psa: Introduce PSA crypto core common symbols 2023-03-31 09:07:57 +02:00
psa_crypto_driver_wrappers.h Integrate p256-m as an example driver alongside Mbed TLS and write documentation for the example. 2023-04-28 17:54:09 +01:00
psa_crypto_ecp.c library: replace deprecated symbols with temporary _LEGACY ones 2023-06-16 12:23:55 +02:00
psa_crypto_ecp.h Merge pull request #7098 from gilles-peskine-arm/retval-non-empty 2023-02-24 09:10:53 +00:00
psa_crypto_ffdh.c Merge pull request #7627 from mprse/ffdh_tls13_v2 2023-07-03 10:12:33 +02:00
psa_crypto_ffdh.h Merge pull request #7627 from mprse/ffdh_tls13_v2 2023-07-03 10:12:33 +02:00
psa_crypto_hash.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_hash.h Make \retval commands non-empty 2023-02-14 19:21:09 +01:00
psa_crypto_invasive.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_its.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_mac.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_mac.h Make \retval commands non-empty 2023-02-14 19:21:09 +01:00
psa_crypto_pake.c Explain the sequence of mbedtls_psa_pake_ calls 2023-06-22 15:22:35 +01:00
psa_crypto_pake.h Pacify clang15 warnings about empty /retval 2023-06-20 15:51:46 +01:00
psa_crypto_random_impl.h Fix entropy-related feature macros 2023-03-24 10:43:40 +01:00
psa_crypto_rsa.c library: replace deprecated symbols with temporary _LEGACY ones 2023-06-16 12:23:55 +02:00
psa_crypto_rsa.h Make \retval commands non-empty 2023-02-14 19:21:09 +01:00
psa_crypto_se.c Implement and use MBEDTLS_STATIC_ASSERT() 2023-03-08 14:19:51 +00:00
psa_crypto_se.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_slot_management.c Move the ARRAY_LENGTH definition to common.h 2023-06-13 05:46:47 -04:00
psa_crypto_slot_management.h Make \retval commands non-empty 2023-02-14 19:21:09 +01:00
psa_crypto_storage.c Make \retval commands non-empty 2023-02-14 19:21:09 +01:00
psa_crypto_storage.h Make \retval commands non-empty 2023-02-14 19:21:09 +01:00
psa_its_file.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_util.c library: replace deprecated symbols with temporary _LEGACY ones 2023-06-16 12:23:55 +02:00
ripemd160.c Fix use of sizeof without brackets 2023-02-02 12:40:50 +00:00
rsa.c Use PSA-neutral function for availability check 2023-06-06 10:33:54 +02:00
rsa_alt_helpers.c Switch to the new code style 2023-01-11 14:50:10 +01:00
rsa_alt_helpers.h Switch to the new code style 2023-01-11 14:50:10 +01:00
sha1.c Switch to the new code style 2023-01-11 14:50:10 +01:00
sha3.c Fix for big-endian architectures 2023-06-07 19:59:05 +01:00
sha256.c Fix "unterminated '#pragma clang attribute push'" in sha256/sha512.c 2023-06-09 11:29:50 +01:00
sha512.c Move the ARRAY_LENGTH definition to common.h 2023-06-13 05:46:47 -04:00
ssl_cache.c ssl_cache: Error renaming and document improvement 2023-04-10 14:40:03 +08:00
ssl_ciphersuites.c Add missing include 2023-06-06 10:33:54 +02:00
ssl_client.c tls: client: Improve writing of supported_groups ext 2023-07-04 12:16:25 +02:00
ssl_client.h Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_cookie.c Fix wrong array size calculation in error translation code 2023-06-13 05:46:47 -04:00
ssl_debug_helpers.h refine ticket_flags printing helper 2023-01-16 11:28:49 +08:00
ssl_misc.h Merge pull request #7627 from mprse/ffdh_tls13_v2 2023-07-03 10:12:33 +02:00
ssl_msg.c Fix wrong array size calculation in error translation code 2023-06-13 05:46:47 -04:00
ssl_ticket.c Fix wrong array size calculation in error translation code 2023-06-13 05:46:47 -04:00
ssl_tls.c Merge pull request #7825 from daverodgman/cipher_wrap_size 2023-07-05 15:45:48 +01:00
ssl_tls12_client.c Merge pull request #7627 from mprse/ffdh_tls13_v2 2023-07-03 10:12:33 +02:00
ssl_tls12_server.c Merge pull request #7627 from mprse/ffdh_tls13_v2 2023-07-03 10:12:33 +02:00
ssl_tls13_client.c tls13: fix guards for PSA error translating function 2023-07-04 09:18:52 +02:00
ssl_tls13_generic.c tls13: fix guards for PSA error translating function 2023-07-04 09:18:52 +02:00
ssl_tls13_invasive.h Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_tls13_keys.c Merge pull request #7825 from daverodgman/cipher_wrap_size 2023-07-05 15:45:48 +01:00
ssl_tls13_keys.h Enhancement: change some functions to static in ssl_tls13_keys.c 2023-01-12 14:54:26 +08:00
ssl_tls13_server.c tls13: server: Fix spurious HRR 2023-07-07 15:53:12 +02:00
threading.c Switch to the new code style 2023-01-11 14:50:10 +01:00
timing.c Switch to the new code style 2023-01-11 14:50:10 +01:00
version.c Switch to the new code style 2023-01-11 14:50:10 +01:00
x509.c Improve #endif comments 2023-06-29 12:09:27 +01:00
x509_create.c Return an error when no name is parsed 2023-06-27 15:31:40 +01:00
x509_crl.c Switch to the new code style 2023-01-11 14:50:10 +01:00
x509_crt.c x509: update ECP_LIGHT dependencies to PK_HAVE_ECC_KEYS 2023-06-26 15:49:48 +02:00
x509_csr.c Fix code style 2023-01-26 22:30:45 +01:00
x509write_crt.c Add missing include 2023-06-06 10:33:54 +02:00
x509write_csr.c Add missing include 2023-06-06 10:33:54 +02:00