Skip to content

Commit

Permalink
Downgrade mbedtls to 2.28.7
Browse files Browse the repository at this point in the history
On ios, we build statically linked executables. This means that if lime uses mbedtls 3, hxcpp is also forced to use it which can cause crashes and other problems, as hxcpp is currently written for 2.28
  • Loading branch information
tobil4sk authored and joshtynjala committed Mar 11, 2024
1 parent 0894d90 commit fc6b905
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 19 deletions.
2 changes: 1 addition & 1 deletion project/lib/mbedtls
Submodule mbedtls updated 1054 files
31 changes: 13 additions & 18 deletions project/lib/mbedtls-files.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/zlib/" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/aes.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/aesni.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/aria.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/arc4.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/asn1parse.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/asn1write.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/base64.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/bignum.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/bignum_core.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/bignum_mod.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/bignum_mod_raw.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/blowfish.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/camellia.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ccm.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/chacha20.c" />
Expand All @@ -36,12 +34,12 @@
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/entropy_poll.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/error.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/gcm.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/hash_info.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/havege.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/hkdf.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/hmac_drbg.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/lmots.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/lms.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/md.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/md2.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/md4.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/md5.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/memory_buffer_alloc.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/mps_reader.c" />
Expand All @@ -55,7 +53,6 @@
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/pk_wrap.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/pkcs12.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/pkcs5.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/pkcs7.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/pkparse.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/pkwrite.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/platform.c" />
Expand All @@ -69,36 +66,34 @@
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/psa_crypto_ecp.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/psa_crypto_hash.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/psa_crypto_mac.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/psa_crypto_pake.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/psa_crypto_rsa.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/psa_crypto_se.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/psa_crypto_slot_management.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/psa_crypto_storage.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/psa_its_file.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ripemd160.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/rsa.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/rsa_alt_helpers.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/rsa_internal.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/sha1.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/sha256.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/sha512.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_cache.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_ciphersuites.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_client.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_cli.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_cookie.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_debug_helpers_generated.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_msg.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_srv.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_ticket.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_tls.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_tls12_client.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_tls12_server.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_tls13_client.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_tls13_generic.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_tls13_keys.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/ssl_tls13_server.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/threading.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/timing.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/version.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/version_features.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/xtea.c" />

<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/certs.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/pkcs11.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/x509.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/x509_create.c" />
<file name="${NATIVE_TOOLKIT_PATH}/mbedtls/library/x509_crl.c" />
Expand All @@ -109,4 +104,4 @@

</files>

</xml>
</xml>

0 comments on commit fc6b905

Please sign in to comment.