RetroArch/deps/mbedtls/mbedtls
Eric Warmenhoven e8da8f8d29 minor mbedtls update
This brings it in line with 2.6.0. Previously it had been taken from a
development branch somewhere between 2.5.1 and 2.6.0.

Only return VERIFY_FAILED from a single point

Everything else is a fatal error. Also improve documentation about that for
the vrfy callback.

Improve comments

Update doc of return value of verify()

Fix potential integer overflow parsing DER CRL

This patch prevents a potential signed integer overflow during the
CRL version verification checks.

Fix potential integer overflow parsing DER CRT

This patch prevents a potential signed integer overflow during the
certificate version verification checks.

Prevent signed integer overflow in CSR parsing

Modify the function mbedtls_x509_csr_parse_der() so that it checks the
parsed CSR version integer before it increments the value. This prevents
a potential signed integer overflow, as these have undefined behaviour
in the C standard.

Rename time and index parameter to avoid name conflict.

As noted in #557, several functions use 'index' resp. 'time'
as parameter names in their declaration and/or definition, causing name
conflicts with the functions in the C standard library of the same
name some compilers warn about.

This commit renames the arguments accordingly.

Update version number to 2.6.0
2025-06-09 22:20:05 -04:00
..
aes.h (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
aesni.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
arc4.h (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
asn1.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
asn1write.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
base64.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
bignum.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
blowfish.h (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
bn_mul.h Fix #16023 - ssl fails on mac x86 with newer clang (#16032) 2023-12-23 01:22:05 -08:00
camellia.h (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
ccm.h (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
certs.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
check_config.h (Mbedtls) Assume HAVE_TIME 2020-07-01 05:27:36 +02:00
cipher.h (mbedtls) Remove MBEDTLS_CMAC_C 2020-07-01 01:43:50 +02:00
cipher_internal.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
cmac.h (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
compat-1.3.h (deps/mbedtls) Cleanups 2020-07-01 17:02:45 +02:00
config.h 3DS: enable mbedTLS 2025-04-06 18:48:10 +00:00
ctr_drbg.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
debug.h (mbedtls) Remove MBEDTLS_DEBUG_C 2020-07-01 01:29:27 +02:00
des.h (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
dhm.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
ecdh.h More C89_BUILD fixes for mbedtls 2018-08-07 04:48:05 +02:00
ecdsa.h (mbedtls) Get rid of deprecated functions 2020-07-01 04:33:16 +02:00
ecp.h minor mbedtls update 2025-06-09 22:20:05 -04:00
ecp_internal.h Clean up trailing whitespace 2017-12-12 00:24:18 -08:00
entropy.h (mbedtls) Cleanups 2020-07-01 03:23:46 +02:00
entropy_poll.h (mbedtls) Cleanups 2020-07-01 03:23:46 +02:00
gcm.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
hmac_drbg.h (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
md.h (mbedtls) Get rid of deprecated functions 2020-07-01 04:33:16 +02:00
md2.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
md4.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
md5.h (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
md_internal.h (mbedtls) Cleanups 2020-07-01 01:41:48 +02:00
net.h (mbedtls) Cleanups 2020-07-01 03:23:46 +02:00
net_sockets.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
oid.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
padlock.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
pem.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
pk.h More C89_BUILD fixes for mbedtls 2018-08-07 04:48:05 +02:00
pk_internal.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
pkcs5.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
pkcs12.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
platform.h (Mbedtls) Assume HAVE_TIME 2020-07-01 05:27:36 +02:00
ripemd160.h (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
rsa.h Clean up trailing whitespace 2017-12-12 00:24:18 -08:00
sha1.h (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
sha256.h (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
sha512.h (mbedtls) Silence warnings 2022-03-31 15:28:49 +02:00
ssl.h minor mbedtls update 2025-06-09 22:20:05 -04:00
ssl_cache.h (Mbedtls) Assume HAVE_TIME 2020-07-01 05:27:36 +02:00
ssl_ciphersuites.h More C89_BUILD fixes for mbedtls 2018-08-07 04:48:05 +02:00
ssl_cookie.h (Mbedtls) Assume HAVE_TIME 2020-07-01 05:27:36 +02:00
ssl_internal.h (mbedtls) Some C89_BUILD fixes - doesn't compile yet 2020-07-01 04:19:45 +02:00
ssl_ticket.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
threading.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
timing.h (deps/mbedtls) Cleanups 2020-07-01 17:02:45 +02:00
version.h minor mbedtls update 2025-06-09 22:20:05 -04:00
x509.h minor mbedtls update 2025-06-09 22:20:05 -04:00
x509_crl.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
x509_crt.h minor mbedtls update 2025-06-09 22:20:05 -04:00
x509_csr.h add SSL/TLS support 2017-07-26 09:18:17 -04:00
xtea.h (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00