RetroArch/deps/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
..
mbedtls minor mbedtls update 2025-06-09 22:20:05 -04:00
aes.c (mbedtls) Get rid of deprecated functions 2020-07-01 04:33:16 +02:00
aesni.c (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
arc4.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
arc4_alt.h (mbedtls) Add arc4_alt.h 2018-08-04 20:09:07 +02:00
asn1parse.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
asn1write.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
base64.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
bignum.c Some platforms need this, so can't remove it 2024-05-23 08:00:06 +02:00
blowfish.c CXX_BUILD fixes 2018-10-10 16:38:13 +02:00
camellia.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
ccm.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
certs.c add SSL/TLS support 2017-07-26 09:18:17 -04:00
cipher.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
cipher_wrap.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
ctr_drbg.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
debug.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
des.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
dhm.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
ecdh.c add SSL/TLS support 2017-07-26 09:18:17 -04:00
ecdsa.c (mbedtls) Get rid of deprecated functions 2020-07-01 04:33:16 +02:00
ecp.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
ecp_curves.c (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
entropy.c minor mbedtls update 2025-06-09 22:20:05 -04:00
entropy_poll.c (mbedtls) Cleanups 2020-07-01 03:23:46 +02:00
gcm.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
hmac_drbg.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
md.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
md5.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
md_wrap.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
net_sockets.c 3DS: enable mbedTLS 2025-04-06 18:48:10 +00:00
oid.c (mbedtls) Cleanups 2020-07-01 01:41:48 +02:00
padlock.c android: enable ssl 2025-06-05 22:53:33 -04:00
pem.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
pk.c (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
pk_wrap.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
pkcs5.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
pkcs12.c (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
pkparse.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
pkwrite.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
ripemd160.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
rsa.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
sha1.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
sha256.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
sha512.c (mbedtls) Silence warnings 2022-03-31 15:28:49 +02:00
ssl_cache.c (Mbedtls) Assume HAVE_TIME 2020-07-01 05:27:36 +02:00
ssl_ciphersuites.c (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
ssl_cli.c (Mbedtls) Assume HAVE_TIME 2020-07-01 05:27:36 +02:00
ssl_cookie.c (Mbedtls) Assume HAVE_TIME 2020-07-01 05:27:36 +02:00
ssl_parse_max_fragment_length_ext.h More changes needed for mbedtls/griffin 2018-08-05 01:10:05 +02:00
ssl_parse_renegotiation_info.h More changes needed for mbedtls/griffin 2018-08-05 01:10:05 +02:00
ssl_srv.c (Mbedtls) Assume HAVE_TIME 2020-07-01 05:27:36 +02:00
ssl_ticket.c (Mbedtls) Assume HAVE_TIME 2020-07-01 05:27:36 +02:00
ssl_tls.c (mbedtls) Silence warnings 2022-03-31 15:28:49 +02:00
threading.c add SSL/TLS support 2017-07-26 09:18:17 -04:00
timing.c (deps/mbedtls) Cleanups 2020-07-01 17:02:45 +02:00
x509.c minor mbedtls update 2025-06-09 22:20:05 -04:00
x509_create.c (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
x509_crl.c minor mbedtls update 2025-06-09 22:20:05 -04:00
x509_crt.c minor mbedtls update 2025-06-09 22:20:05 -04:00
x509_csr.c minor mbedtls update 2025-06-09 22:20:05 -04:00
x509write_crt.c minor mbedtls update 2025-06-09 22:20:05 -04:00
x509write_csr.c (mbedtls) Use arc4_alt.h 2018-08-04 20:54:11 +02:00
xtea.c (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00