mbedtls/library
Jerry Yu 985c967a14 tls13: add more checks for server early data
- check if it is enabled
- check if it is psk mode
- check if it is resumption
- check if it is tls13 version

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
2023-10-27 10:52:27 +08:00
..
.gitignore Revert "Auto-generated files for v3.5.0" 2023-10-05 00:17:21 +01:00
aes.c Merge branch 'development' into more-aes-checks 2023-10-12 16:17:10 +01:00
aesce.c replace arm64 macro and aesce enable flag 2023-08-23 17:15:34 +08:00
aesce.h improve various issues 2023-08-28 10:58:24 +08:00
aesni.c Merge pull request #8374 from sergio-nsk/sergio-nsk/8372/2 2023-10-26 21:21:01 +00:00
aesni.h Fix #8372 - Error compiling AESNI in Mbed-TLS with clang on Windows 2023-10-18 20:24:39 -07:00
alignment.h Fix MBEDTLS_BSWAP32 on armcc 5 2023-07-11 14:06:37 +01:00
aria.c Switch to the new code style 2023-01-11 14:50:10 +01:00
asn1parse.c Reduce size of mbedtls_asn1_get_len 2023-09-21 10:35:33 +01:00
asn1write.c code style 2023-09-15 18:30:09 +01:00
base64.c Move base64 test interfaces into base64_internal.h 2023-05-26 12:42:48 +01:00
base64_internal.h Move base64 test interfaces into base64_internal.h 2023-05-26 12:42:48 +01:00
bignum.c Merge branch 'development-restricted' into mbedtls-3.5.0rc0-pr 2023-10-03 21:57:51 +01:00
bignum_core.c Improve sanity checking of MBEDTLS_HAVE_INTxx 2023-09-06 08:41:05 +01:00
bignum_core.h Improve docs for mbedtls_mpi_core_cond_assign 2023-07-31 12:27:05 +01:00
bignum_mod.c Remove new bignum when not needed 2023-08-17 14:36:59 +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 Remove new bignum when not needed 2023-08-17 14:36:59 +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 Merge remote-tracking branch 'upstream-public/development' into development-restricted-merge-20230925 2023-09-25 16:16:26 +02:00
chacha20.c Switch to the new code style 2023-01-11 14:50:10 +01:00
chachapoly.c Eliminate duplicate ct memcmp 2023-09-18 19:09:45 +01:00
check_crypto_config.h library: replace PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_LEGACY symbols with proper ones 2023-07-11 14:06:00 +02:00
cipher.c cipher: improve code readibility in mbedtls_cipher_setup() 2023-10-26 09:00:21 +02:00
cipher_wrap.c cipher_wrap: fix guards for GCM/CCM AES 2023-10-25 12:03:36 +02:00
cipher_wrap.h cipher_wrap: fix guards for GCM/CCM AES 2023-10-25 12:03:36 +02:00
cmac.c Merge pull request #1038 from Mbed-TLS/development 2023-07-21 15:40:36 +02:00
CMakeLists.txt Bump library so-crypto, so-x509, so-tls versions. 2023-10-04 16:17:46 +01:00
common.h Support older IAR versions 2023-10-25 15:07:35 +01:00
constant_time.c Simplify mbedtls_ct_memcmp_partial 2023-09-19 17:21:50 +01:00
constant_time_impl.h Merge remote-tracking branch 'upstream-public/development' into development-restricted-merge-20230925 2023-09-25 16:16:26 +02:00
constant_time_internal.h Merge remote-tracking branch 'upstream-public/development' into development-restricted-merge-20230925 2023-09-25 16:16:26 +02:00
ctr_drbg.c Update links to Rijndael paper and NIST SP 800-90 DRBGs 2023-08-04 13:55:03 +01:00
debug.c Merge pull request #7999 from valeriosetti/issue7759 2023-08-10 08:34:57 +00:00
des.c Switch to the new code style 2023-01-11 14:50:10 +01:00
dhm.c Provide and use internal function mbedtls_zeroize_and_free() 2023-07-17 15:17:40 +01:00
ecdh.c Update SEC1 link in ecdh.c 2023-04-12 06:07:23 +00:00
ecdsa.c Fix a few unchecked value issue 2023-08-01 22:41:17 +08:00
ecjpake.c Update spelling "mbed TLS" to "Mbed TLS" 2023-09-12 19:18:17 +02:00
ecp.c Fix static initializer warning 2023-10-17 10:13:45 +02:00
ecp_curves.c Move variant test to ecp_curves 2023-08-02 10:32:21 +01:00
ecp_curves_new.c Move variant test to ecp_curves 2023-08-02 10:32:21 +01:00
ecp_internal_alt.h Switch to the new code style 2023-01-11 14:50:10 +01:00
ecp_invasive.h Move MBEDTLS_ECP_WITH_MPI_UINT to mbedtls_config.h 2023-07-31 10:57:16 +01:00
entropy.c Use MD-light in entropy.c 2023-03-24 10:43:40 +01:00
entropy_poll.c entropy_poll: Removed checks for windows versions < WINXP 2023-09-25 14:12:22 +01:00
entropy_poll.h Update spelling "mbed TLS" to "Mbed TLS" 2023-09-12 19:18:17 +02:00
gcm.c Merge remote-tracking branch 'upstream-public/development' into development-restricted-merge-20230925 2023-09-25 16:16:26 +02: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 Merge pull request #7935 from AgathiyanB/add-enum-casts 2023-07-26 11:27:27 +02:00
lmots.h Unify PSA to Mbed TLS error translation 2023-03-03 05:23:44 -05:00
lms.c Merge pull request #7933 from tom-cosgrove-arm/add-mbedtls_zeroize_and_free 2023-08-03 12:56:21 +00:00
Makefile Revert "Auto-generated files for v3.5.0" 2023-10-05 00:17:21 +01:00
md.c Update spelling "mbed TLS" to "Mbed TLS" 2023-09-12 19:18:17 +02:00
md5.c Ensure all md_<hash>_finish functions perform zeroization 2023-09-11 12:59:36 +01:00
md_psa.h Make MD<->PSA translation static inline 2023-06-08 12:10:03 +02:00
md_wrap.h Omit block_size when MD_C is not enabled 2023-06-21 12:02:07 +02:00
memory_buffer_alloc.c Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_common.h Update spelling "mbed TLS" to "Mbed TLS" 2023-09-12 19:18:17 +02:00
mps_error.h Update spelling "mbed TLS" to "Mbed TLS" 2023-09-12 19:18:17 +02:00
mps_reader.c Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_reader.h Update spelling "mbed TLS" to "Mbed TLS" 2023-09-12 19:18:17 +02:00
mps_trace.c Switch to the new code style 2023-01-11 14:50:10 +01:00
mps_trace.h Update spelling "mbed TLS" to "Mbed TLS" 2023-09-12 19:18:17 +02:00
net_sockets.c Merge pull request #7792 from robUx4/win32_winnt 2023-07-13 19:34:24 +01:00
nist_kw.c Use mbedtls_ct_error_if 2023-09-22 10:01:47 +01:00
oid.c Renaming all MBEDTLS_HAVE for curves to MBEDTLS_ECP_HAVE 2023-09-25 17:39:41 +02:00
padlock.c replace target arch macros in padlock 2023-08-23 17:15:35 +08:00
padlock.h improve various issues 2023-08-28 10:58:24 +08:00
pem.c Provide and use internal function mbedtls_zeroize_and_free() 2023-07-17 15:17:40 +01:00
pk.c Fix IAR pointless integer comparison 2023-09-28 17:19:50 +01:00
pk_internal.h Merge pull request #7861 from mpg/cleanup-pk-parse 2023-10-23 08:49:16 +00:00
pk_wrap.c Fix limitation in checking supported alg in pk_sign 2023-10-16 10:27:22 +02:00
pk_wrap.h library: replace PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_LEGACY symbols with proper ones 2023-07-11 14:06:00 +02:00
pkcs5.c Stop IAR warning about goto skipping variable definition 2023-10-13 16:03:25 +01:00
pkcs7.c Update wording in comments 2023-03-13 12:15:49 +00:00
pkcs12.c Stop IAR warning about goto skipping variable definition 2023-10-13 16:03:25 +01:00
pkparse.c pkparse: fix missing guards for pkcs5/12 functions 2023-10-25 12:03:36 +02:00
pkwrite.c Merge pull request #8062 from yanrayw/save_stack_usage_pkwrite 2023-10-13 14:27:13 +00:00
pkwrite.h pkwrite: add new internal symbol to properly size DER buffer 2023-08-10 06:43:23 +02:00
platform.c Switch to the new code style 2023-01-11 14:50:10 +01:00
platform_util.c Avoid error from old gcc version 2023-09-01 11:15:28 +01:00
poly1305.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto.c md: remove unnecessary inclusions of mbedtls/md.h 2023-10-11 13:15:58 +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 Include psa/build_info.h instead of mbedtls/build_info.h 2023-10-10 09:35:22 +02: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_no_static.h No need to include the 3rd party entry point head file 2023-09-26 09:09:20 +00:00
psa_crypto_ecp.c lib/test: replace BASIC_IMPORT_EXPORT internal symbol with BASIC,IMPORT,EXPORT 2023-06-30 10:16:22 +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 psa: replace DH_KEY_PAIR_LEGACY with new symbols 2023-07-27 09:15:34 +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 code style 2023-06-26 11:11:23 +01:00
psa_crypto_hash.h Remove useless extern declarations and includes 2023-06-21 09:45:36 +02:00
psa_crypto_invasive.h Include psa/build_info.h instead of mbedtls/build_info.h 2023-10-10 09:35:22 +02:00
psa_crypto_its.h Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_crypto_mac.c Fully replace mbedtls_psa_safer_memcmp 2023-08-29 14:20:18 +01:00
psa_crypto_mac.h Make \retval commands non-empty 2023-02-14 19:21:09 +01:00
psa_crypto_pake.c Correct styling of Mbed TLS in documentation 2023-10-06 17:07:24 +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 Use quotes include of psa_util_internal.h 2023-09-04 10:36:37 +02:00
psa_crypto_rsa.c Fix IAR pointless integer comparison 2023-09-28 17:19:50 +01: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 Include psa/build_info.h instead of mbedtls/build_info.h 2023-10-10 09:35:22 +02:00
psa_crypto_slot_management.c Change the extension type of the file psa_crypto_driver_wrapper 2023-09-26 09:09:20 +00:00
psa_crypto_slot_management.h Make \retval commands non-empty 2023-02-14 19:21:09 +01:00
psa_crypto_storage.c Provide and use internal function mbedtls_zeroize_and_free() 2023-07-17 15:17:40 +01:00
psa_crypto_storage.h Define all PSA_xxx macros to 1 rather than have them empty, for consistency 2023-08-31 17:06:58 +01:00
psa_its_file.c Switch to the new code style 2023-01-11 14:50:10 +01:00
psa_util.c Use quotes include of psa_util_internal.h 2023-09-04 10:36:37 +02:00
psa_util_internal.h psa: fix missed LEGACY symbols caused by the rebase 2023-07-11 16:59:21 +02:00
ripemd160.c Ensure all md_<hash>_finish functions perform zeroization 2023-09-11 12:59:36 +01:00
rsa.c md: remove unnecessary inclusions of mbedtls/md.h 2023-10-11 13:15:58 +02:00
rsa_alt_helpers.c Fix a few unchecked value issue 2023-08-01 22:41:17 +08:00
rsa_alt_helpers.h Switch to the new code style 2023-01-11 14:50:10 +01:00
sha1.c Ensure all md_<hash>_finish functions perform zeroization 2023-09-11 12:59:36 +01:00
sha3.c Remove always-false null pointer check in sha3.c that Coverity complains about 2023-09-11 09:03:01 +01:00
sha256.c Remove dependency on asm/hwcap.h 2023-10-23 15:12:32 +01:00
sha512.c Revert renaming of SHA512 options 2023-10-11 10:59:05 +01:00
ssl_cache.c Merge pull request #7210 from sergio-nsk/patch-2 2023-09-13 16:38:55 +02:00
ssl_ciphersuites.c ssl: use MBEDTLS_SSL_HAVE_[CCM/GCM/CHACHAPOLY/AEAD] macros for ssl code 2023-10-12 10:39:37 +02:00
ssl_client.c Merge pull request #7921 from valeriosetti/issue7613 2023-09-20 12:47:55 +00: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 Add not-received status 2023-10-12 15:02:01 +08:00
ssl_msg.c ssl: use MBEDTLS_SSL_HAVE_[CCM/GCM/CHACHAPOLY/AEAD] macros for ssl code 2023-10-12 10:39:37 +02:00
ssl_ticket.c Fix wrong array size calculation in error translation code 2023-06-13 05:46:47 -04:00
ssl_tls.c ssl: use MBEDTLS_SSL_HAVE_[CCM/GCM/CHACHAPOLY/AEAD] macros for ssl code 2023-10-12 10:39:37 +02:00
ssl_tls12_client.c Avoid compiler warning about size comparison 2023-10-02 16:11:05 +02:00
ssl_tls12_server.c Merge pull request #8320 from valeriosetti/issue8263 2023-10-18 10:03:46 +00:00
ssl_tls13_client.c Fix IAR warnings 2023-10-05 13:30:37 +01:00
ssl_tls13_generic.c Merge pull request #8309 from daverodgman/iar-warnings2 2023-10-06 13:24:12 +00:00
ssl_tls13_invasive.h Switch to the new code style 2023-01-11 14:50:10 +01:00
ssl_tls13_keys.c Add casting size_t to int 2023-10-11 15:28:06 +02: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: add more checks for server early data 2023-10-27 10:52:27 +08: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 Merge pull request #8025 from AgathiyanB/accept-numericoid-hexstring-x509 2023-09-13 08:54:33 +00:00
x509_create.c Stop IAR warning about goto skipping variable definition 2023-10-13 16:03:25 +01:00
x509_crl.c Provide and use internal function mbedtls_zeroize_and_free() 2023-07-17 15:17:40 +01:00
x509_crt.c x509_crt: Removed unused intsafe.h 2023-09-25 15:17:38 +01:00
x509_csr.c Provide and use internal function mbedtls_zeroize_and_free() 2023-07-17 15:17:40 +01:00
x509write.c md: remove unnecessary inclusions of mbedtls/md.h 2023-10-11 13:15:58 +02:00
x509write_crt.c md: restore md.h includes in source files directly using its elements 2023-10-16 14:39:38 +02:00
x509write_csr.c Merge pull request #7898 from AndrzejKurek/csr-rfc822-dn 2023-08-16 09:19:46 +00:00