From e875f5e86fd82d83264fe8ad68e507a44ed99ad7 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Wed, 9 Aug 2017 11:01:09 -0700 Subject: [PATCH] [mbedtls] apply patch to check-in source (#2074) This commit applies the patch directly to checked-in source files rather than at build time. This commit helps to simplify the build process. This commit also introduces a shell script that allows anyone to reproduce the patched mbedtls source. --- configure.ac | 4 +- etc/visual-studio/UnitTests.vcxproj | 2 +- etc/visual-studio/libopenthread-cli.vcxproj | 2 +- .../libopenthread-ncp-spi.vcxproj | 2 +- .../libopenthread-ncp-uart.vcxproj | 2 +- etc/visual-studio/libopenthread.vcxproj | 2 +- etc/visual-studio/libopenthread_k.vcxproj | 2 +- etc/visual-studio/mbedtls.vcxproj | 52 +- etc/visual-studio/mbedtls.vcxproj.filters | 100 ++-- etc/visual-studio/mbedtls_k.vcxproj | 52 +- etc/visual-studio/mbedtls_k.vcxproj.filters | 100 ++-- examples/Makefile-cc2650 | 2 +- examples/Makefile-cc2652 | 2 +- examples/Makefile-efr32 | 4 +- examples/Makefile-nrf52840 | 4 +- src/core/Makefile.am | 2 - tests/unit/Makefile.am | 4 - third_party/mbedtls/Makefile.am | 89 +--- third_party/mbedtls/README.md | 7 + third_party/mbedtls/patch.sh | 11 + ...sioning-problem-with-retransmissions.patch | 6 +- .../patch/0002-Fix-warning-dead-store.patch | 6 +- .../mbedtls/{repo => repo.patched}/.gitignore | 0 .../{repo => repo.patched}/.travis.yml | 0 .../{repo => repo.patched}/CMakeLists.txt | 0 .../mbedtls/{repo => repo.patched}/ChangeLog | 0 .../DartConfiguration.tcl | 0 .../mbedtls/{repo => repo.patched}/LICENSE | 0 .../mbedtls/{repo => repo.patched}/README.md | 0 .../{repo => repo.patched}/apache-2.0.txt | 0 .../mbedtls/{repo => repo.patched}/circle.yml | 0 .../{repo => repo.patched}/configs/README.txt | 0 .../configs/config-ccm-psk-tls1_2.h | 0 .../configs/config-mini-tls1_1.h | 0 .../configs/config-no-entropy.h | 0 .../configs/config-picocoin.h | 0 .../configs/config-suite-b.h | 0 .../configs/config-thread.h | 0 .../doxygen/input/doc_encdec.h | 0 .../doxygen/input/doc_hashing.h | 0 .../doxygen/input/doc_mainpage.h | 0 .../doxygen/input/doc_rng.h | 0 .../doxygen/input/doc_ssltls.h | 0 .../doxygen/input/doc_tcpip.h | 0 .../doxygen/input/doc_x509.h | 0 .../doxygen/mbedtls.doxyfile | 0 .../{repo => repo.patched}/include/.gitignore | 0 .../include/CMakeLists.txt | 0 .../include/mbedtls/aes.h | 0 .../include/mbedtls/aesni.h | 0 .../include/mbedtls/arc4.h | 0 .../include/mbedtls/asn1.h | 0 .../include/mbedtls/asn1write.h | 0 .../include/mbedtls/base64.h | 0 .../include/mbedtls/bignum.h | 0 .../include/mbedtls/blowfish.h | 0 .../include/mbedtls/bn_mul.h | 0 .../include/mbedtls/camellia.h | 0 .../include/mbedtls/ccm.h | 0 .../include/mbedtls/certs.h | 0 .../include/mbedtls/check_config.h | 0 .../include/mbedtls/cipher.h | 0 .../include/mbedtls/cipher_internal.h | 0 .../include/mbedtls/cmac.h | 0 .../include/mbedtls/compat-1.3.h | 0 .../include/mbedtls/config.h | 0 .../include/mbedtls/ctr_drbg.h | 0 .../include/mbedtls/debug.h | 0 .../include/mbedtls/des.h | 0 .../include/mbedtls/dhm.h | 0 .../include/mbedtls/ecdh.h | 0 .../include/mbedtls/ecdsa.h | 0 .../include/mbedtls/ecjpake.h | 0 .../include/mbedtls/ecp.h | 0 .../include/mbedtls/entropy.h | 0 .../include/mbedtls/entropy_poll.h | 0 .../include/mbedtls/error.h | 0 .../include/mbedtls/gcm.h | 0 .../include/mbedtls/havege.h | 0 .../include/mbedtls/hmac_drbg.h | 0 .../include/mbedtls/md.h | 0 .../include/mbedtls/md2.h | 0 .../include/mbedtls/md4.h | 0 .../include/mbedtls/md5.h | 0 .../include/mbedtls/md_internal.h | 0 .../include/mbedtls/memory_buffer_alloc.h | 0 .../include/mbedtls/net.h | 0 .../include/mbedtls/net_sockets.h | 0 .../include/mbedtls/oid.h | 0 .../include/mbedtls/padlock.h | 0 .../include/mbedtls/pem.h | 0 .../include/mbedtls/pk.h | 0 .../include/mbedtls/pk_internal.h | 0 .../include/mbedtls/pkcs11.h | 0 .../include/mbedtls/pkcs12.h | 0 .../include/mbedtls/pkcs5.h | 0 .../include/mbedtls/platform.h | 0 .../include/mbedtls/platform_time.h | 0 .../include/mbedtls/ripemd160.h | 0 .../include/mbedtls/rsa.h | 0 .../include/mbedtls/sha1.h | 0 .../include/mbedtls/sha256.h | 0 .../include/mbedtls/sha512.h | 0 .../include/mbedtls/ssl.h | 0 .../include/mbedtls/ssl_cache.h | 0 .../include/mbedtls/ssl_ciphersuites.h | 0 .../include/mbedtls/ssl_cookie.h | 0 .../include/mbedtls/ssl_internal.h | 0 .../include/mbedtls/ssl_ticket.h | 0 .../include/mbedtls/threading.h | 0 .../include/mbedtls/timing.h | 0 .../include/mbedtls/version.h | 0 .../include/mbedtls/x509.h | 0 .../include/mbedtls/x509_crl.h | 0 .../include/mbedtls/x509_crt.h | 0 .../include/mbedtls/x509_csr.h | 0 .../include/mbedtls/xtea.h | 0 .../{repo => repo.patched}/library/.gitignore | 0 .../library/CMakeLists.txt | 0 .../{repo => repo.patched}/library/aes.c | 0 .../{repo => repo.patched}/library/aesni.c | 0 .../{repo => repo.patched}/library/arc4.c | 0 .../library/asn1parse.c | 0 .../library/asn1write.c | 0 .../{repo => repo.patched}/library/base64.c | 0 .../{repo => repo.patched}/library/bignum.c | 0 .../{repo => repo.patched}/library/blowfish.c | 0 .../{repo => repo.patched}/library/camellia.c | 0 .../{repo => repo.patched}/library/ccm.c | 0 .../{repo => repo.patched}/library/certs.c | 0 .../{repo => repo.patched}/library/cipher.c | 0 .../library/cipher_wrap.c | 0 .../{repo => repo.patched}/library/cmac.c | 0 .../{repo => repo.patched}/library/ctr_drbg.c | 0 .../{repo => repo.patched}/library/debug.c | 0 .../{repo => repo.patched}/library/des.c | 0 .../{repo => repo.patched}/library/dhm.c | 0 .../{repo => repo.patched}/library/ecdh.c | 0 .../{repo => repo.patched}/library/ecdsa.c | 0 .../{repo => repo.patched}/library/ecjpake.c | 0 .../{repo => repo.patched}/library/ecp.c | 0 .../library/ecp_curves.c | 0 .../{repo => repo.patched}/library/entropy.c | 0 .../library/entropy_poll.c | 0 .../{repo => repo.patched}/library/error.c | 0 .../{repo => repo.patched}/library/gcm.c | 0 .../{repo => repo.patched}/library/havege.c | 0 .../library/hmac_drbg.c | 0 .../{repo => repo.patched}/library/md.c | 0 .../{repo => repo.patched}/library/md2.c | 0 .../{repo => repo.patched}/library/md4.c | 0 .../{repo => repo.patched}/library/md5.c | 0 .../{repo => repo.patched}/library/md_wrap.c | 0 .../library/memory_buffer_alloc.c | 0 .../library/net_sockets.c | 0 .../{repo => repo.patched}/library/oid.c | 0 .../{repo => repo.patched}/library/padlock.c | 0 .../{repo => repo.patched}/library/pem.c | 0 .../{repo => repo.patched}/library/pk.c | 0 .../{repo => repo.patched}/library/pk_wrap.c | 0 .../{repo => repo.patched}/library/pkcs11.c | 0 .../{repo => repo.patched}/library/pkcs12.c | 0 .../{repo => repo.patched}/library/pkcs5.c | 0 .../{repo => repo.patched}/library/pkparse.c | 0 .../{repo => repo.patched}/library/pkwrite.c | 0 .../{repo => repo.patched}/library/platform.c | 0 .../library/ripemd160.c | 0 .../{repo => repo.patched}/library/rsa.c | 0 .../{repo => repo.patched}/library/sha1.c | 0 .../{repo => repo.patched}/library/sha256.c | 0 .../{repo => repo.patched}/library/sha512.c | 0 .../library/ssl_cache.c | 0 .../library/ssl_ciphersuites.c | 0 .../{repo => repo.patched}/library/ssl_cli.c | 0 .../library/ssl_cookie.c | 0 .../{repo => repo.patched}/library/ssl_srv.c | 3 + .../library/ssl_ticket.c | 0 .../{repo => repo.patched}/library/ssl_tls.c | 21 +- .../library/threading.c | 0 .../{repo => repo.patched}/library/timing.c | 0 .../{repo => repo.patched}/library/version.c | 0 .../library/version_features.c | 0 .../{repo => repo.patched}/library/x509.c | 0 .../library/x509_create.c | 0 .../{repo => repo.patched}/library/x509_crl.c | 0 .../{repo => repo.patched}/library/x509_crt.c | 0 .../{repo => repo.patched}/library/x509_csr.c | 0 .../library/x509write_crt.c | 0 .../library/x509write_csr.c | 0 .../{repo => repo.patched}/library/xtea.c | 0 .../programs/.gitignore | 0 .../programs/CMakeLists.txt | 0 .../programs/aes/CMakeLists.txt | 0 .../programs/aes/aescrypt2.c | 0 .../programs/aes/crypt_and_hash.c | 0 .../programs/hash/CMakeLists.txt | 0 .../programs/hash/generic_sum.c | 0 .../programs/hash/hello.c | 0 .../programs/pkey/CMakeLists.txt | 0 .../programs/pkey/dh_client.c | 0 .../programs/pkey/dh_genprime.c | 0 .../programs/pkey/dh_prime.txt | 0 .../programs/pkey/dh_server.c | 0 .../programs/pkey/ecdh_curve25519.c | 0 .../programs/pkey/ecdsa.c | 0 .../programs/pkey/gen_key.c | 0 .../programs/pkey/key_app.c | 0 .../programs/pkey/key_app_writer.c | 0 .../programs/pkey/mpi_demo.c | 0 .../programs/pkey/pk_decrypt.c | 0 .../programs/pkey/pk_encrypt.c | 0 .../programs/pkey/pk_sign.c | 0 .../programs/pkey/pk_verify.c | 0 .../programs/pkey/rsa_decrypt.c | 0 .../programs/pkey/rsa_encrypt.c | 0 .../programs/pkey/rsa_genkey.c | 0 .../programs/pkey/rsa_priv.txt | 0 .../programs/pkey/rsa_pub.txt | 0 .../programs/pkey/rsa_sign.c | 0 .../programs/pkey/rsa_sign_pss.c | 0 .../programs/pkey/rsa_verify.c | 0 .../programs/pkey/rsa_verify_pss.c | 0 .../programs/random/CMakeLists.txt | 0 .../programs/random/gen_entropy.c | 0 .../programs/random/gen_random_ctr_drbg.c | 0 .../programs/random/gen_random_havege.c | 0 .../programs/ssl/CMakeLists.txt | 0 .../programs/ssl/dtls_client.c | 0 .../programs/ssl/dtls_server.c | 0 .../programs/ssl/mini_client.c | 0 .../programs/ssl/ssl_client1.c | 0 .../programs/ssl/ssl_client2.c | 0 .../programs/ssl/ssl_fork_server.c | 0 .../programs/ssl/ssl_mail_client.c | 0 .../programs/ssl/ssl_pthread_server.c | 0 .../programs/ssl/ssl_server.c | 0 .../programs/ssl/ssl_server2.c | 0 .../programs/test/CMakeLists.txt | 0 .../programs/test/benchmark.c | 0 .../programs/test/selftest.c | 0 .../programs/test/ssl_cert_test.c | 0 .../programs/test/udp_proxy.c | 0 .../programs/util/CMakeLists.txt | 0 .../programs/util/pem2der.c | 0 .../programs/util/strerror.c | 0 .../programs/wince_main.c | 0 .../programs/x509/CMakeLists.txt | 0 .../programs/x509/cert_app.c | 0 .../programs/x509/cert_req.c | 0 .../programs/x509/cert_write.c | 0 .../programs/x509/crl_app.c | 0 .../programs/x509/req_app.c | 0 .../scripts/apidoc_full.sh | 0 .../scripts/bump_version.sh | 0 .../{repo => repo.patched}/scripts/config.pl | 0 .../scripts/data_files/error.fmt | 0 .../scripts/data_files/rename-1.3-2.0.txt | 0 .../scripts/data_files/version_features.fmt | 0 .../data_files/vs2010-app-template.vcxproj | 0 .../data_files/vs2010-main-template.vcxproj | 0 .../data_files/vs2010-sln-template.sln | 0 .../scripts/data_files/vs6-app-template.dsp | 0 .../scripts/data_files/vs6-main-template.dsp | 0 .../data_files/vs6-workspace-template.dsw | 0 .../scripts/ecc-heap.sh | 0 .../scripts/find-mem-leak.cocci | 0 .../scripts/footprint.sh | 0 .../scripts/generate_errors.pl | 0 .../scripts/generate_features.pl | 0 .../scripts/generate_visualc_files.pl | 0 .../scripts/malloc-init.pl | 0 .../scripts/massif_max.pl | 0 .../{repo => repo.patched}/scripts/memory.sh | 0 .../scripts/output_env.sh | 0 .../{repo => repo.patched}/scripts/rename.pl | 0 .../scripts/rm-malloc-cast.cocci | 0 .../scripts/tmp_ignore_makefiles.sh | 0 .../{repo => repo.patched}/tests/.gitignore | 0 .../tests/CMakeLists.txt | 0 .../tests/Descriptions.txt | 0 .../{repo => repo.patched}/tests/compat.sh | 0 .../tests/data_files/Readme-x509.txt | 0 .../tests/data_files/bitstring-in-dn.pem | 0 .../tests/data_files/cert_example_multi.crt | 0 .../data_files/cert_example_multi_nocn.crt | 0 .../data_files/cert_example_wildcard.crt | 0 .../tests/data_files/cert_md2.crt | 0 .../tests/data_files/cert_md4.crt | 0 .../tests/data_files/cert_md5.crt | 0 .../tests/data_files/cert_sha1.crt | 0 .../tests/data_files/cert_sha224.crt | 0 .../tests/data_files/cert_sha256.crt | 0 .../tests/data_files/cert_sha384.crt | 0 .../tests/data_files/cert_sha512.crt | 0 .../tests/data_files/cert_v1_with_ext.crt | 0 .../tests/data_files/cli2.crt | 0 .../tests/data_files/cli2.key | 0 .../tests/data_files/crl-ec-sha1.pem | 0 .../tests/data_files/crl-ec-sha224.pem | 0 .../tests/data_files/crl-ec-sha256.pem | 0 .../tests/data_files/crl-ec-sha384.pem | 0 .../tests/data_files/crl-ec-sha512.pem | 0 .../tests/data_files/crl-future.pem | 0 .../data_files/crl-rsa-pss-sha1-badsign.pem | 0 .../tests/data_files/crl-rsa-pss-sha1.pem | 0 .../tests/data_files/crl-rsa-pss-sha224.pem | 0 .../tests/data_files/crl-rsa-pss-sha256.pem | 0 .../tests/data_files/crl-rsa-pss-sha384.pem | 0 .../tests/data_files/crl-rsa-pss-sha512.pem | 0 .../tests/data_files/crl.pem | 0 .../tests/data_files/crl_cat_ec-rsa.pem | 0 .../tests/data_files/crl_cat_ecfut-rsa.pem | 0 .../tests/data_files/crl_cat_rsa-ec.pem | 0 .../tests/data_files/crl_cat_rsabadpem-ec.pem | 0 .../tests/data_files/crl_expired.pem | 0 .../tests/data_files/crl_md2.pem | 0 .../tests/data_files/crl_md4.pem | 0 .../tests/data_files/crl_md5.pem | 0 .../tests/data_files/crl_sha1.pem | 0 .../tests/data_files/crl_sha224.pem | 0 .../tests/data_files/crl_sha256.pem | 0 .../tests/data_files/crl_sha384.pem | 0 .../tests/data_files/crl_sha512.pem | 0 .../tests/data_files/crt_cat_rsaexp-ec.pem | 0 .../tests/data_files/dh.1000.pem | 0 .../tests/data_files/dh.optlen.pem | 0 .../tests/data_files/dhparams.pem | 0 .../tests/data_files/dir1/test-ca.crt | 0 .../tests/data_files/dir2/test-ca.crt | 0 .../tests/data_files/dir2/test-ca2.crt | 0 .../tests/data_files/dir3/Readme | 0 .../tests/data_files/dir3/test-ca.crt | 0 .../tests/data_files/dir3/test-ca2.crt | 0 .../tests/data_files/dir4/Readme | 0 .../tests/data_files/dir4/cert11.crt | 0 .../tests/data_files/dir4/cert12.crt | 0 .../tests/data_files/dir4/cert13.crt | 0 .../tests/data_files/dir4/cert14.crt | 0 .../tests/data_files/dir4/cert21.crt | 0 .../tests/data_files/dir4/cert22.crt | 0 .../tests/data_files/dir4/cert23.crt | 0 .../tests/data_files/dir4/cert31.crt | 0 .../tests/data_files/dir4/cert32.crt | 0 .../tests/data_files/dir4/cert33.crt | 0 .../tests/data_files/dir4/cert34.crt | 0 .../tests/data_files/dir4/cert41.crt | 0 .../tests/data_files/dir4/cert42.crt | 0 .../tests/data_files/dir4/cert43.crt | 0 .../tests/data_files/dir4/cert44.crt | 0 .../tests/data_files/dir4/cert45.crt | 0 .../tests/data_files/dir4/cert51.crt | 0 .../tests/data_files/dir4/cert52.crt | 0 .../tests/data_files/dir4/cert53.crt | 0 .../tests/data_files/dir4/cert54.crt | 0 .../tests/data_files/dir4/cert61.crt | 0 .../tests/data_files/dir4/cert62.crt | 0 .../tests/data_files/dir4/cert63.crt | 0 .../tests/data_files/dir4/cert71.crt | 0 .../tests/data_files/dir4/cert72.crt | 0 .../tests/data_files/dir4/cert73.crt | 0 .../tests/data_files/dir4/cert74.crt | 0 .../tests/data_files/dir4/cert81.crt | 0 .../tests/data_files/dir4/cert82.crt | 0 .../tests/data_files/dir4/cert83.crt | 0 .../tests/data_files/dir4/cert91.crt | 0 .../tests/data_files/dir4/cert92.crt | 0 .../tests/data_files/ec_224_prv.pem | 0 .../tests/data_files/ec_224_pub.pem | 0 .../tests/data_files/ec_256_prv.pem | 0 .../tests/data_files/ec_256_pub.pem | 0 .../tests/data_files/ec_384_prv.pem | 0 .../tests/data_files/ec_384_pub.pem | 0 .../tests/data_files/ec_521_prv.pem | 0 .../tests/data_files/ec_521_pub.pem | 0 .../tests/data_files/ec_bp256_prv.pem | 0 .../tests/data_files/ec_bp256_pub.pem | 0 .../tests/data_files/ec_bp384_prv.pem | 0 .../tests/data_files/ec_bp384_pub.pem | 0 .../tests/data_files/ec_bp512_prv.pem | 0 .../tests/data_files/ec_bp512_pub.pem | 0 .../tests/data_files/ec_prv.noopt.der | Bin .../tests/data_files/ec_prv.pk8.der | Bin .../tests/data_files/ec_prv.pk8.pem | 0 .../tests/data_files/ec_prv.pk8.pw.der | Bin .../tests/data_files/ec_prv.pk8.pw.pem | 0 .../tests/data_files/ec_prv.sec1.der | Bin .../tests/data_files/ec_prv.sec1.pem | 0 .../tests/data_files/ec_prv.sec1.pw.pem | 0 .../tests/data_files/ec_prv.specdom.der | Bin .../tests/data_files/ec_pub.der | Bin .../tests/data_files/ec_pub.pem | 0 .../tests/data_files/enco-ca-prstr.pem | 0 .../tests/data_files/enco-cert-utf8str.pem | 0 .../tests/data_files/format_gen.key | 0 .../tests/data_files/format_gen.pub | 0 .../tests/data_files/format_pkcs12.fmt | Bin .../tests/data_files/format_rsa.key | 0 .../tests/data_files/hash_file_1 | Bin .../tests/data_files/hash_file_2 | 0 .../tests/data_files/hash_file_3 | Bin .../tests/data_files/hash_file_4 | 0 .../tests/data_files/hash_file_5 | 0 .../data_files/keyUsage.decipherOnly.crt | 0 .../tests/data_files/keyfile | 0 .../tests/data_files/keyfile.3des | 0 .../tests/data_files/keyfile.aes128 | 0 .../tests/data_files/keyfile.aes192 | 0 .../tests/data_files/keyfile.aes256 | 0 .../tests/data_files/keyfile.des | 0 .../tests/data_files/mpi_10 | 0 .../tests/data_files/mpi_too_big | 0 .../tests/data_files/passwd.psk | 0 .../tests/data_files/pkcs8_pbe_sha1_2des.key | 0 .../tests/data_files/pkcs8_pbe_sha1_3des.der | Bin .../tests/data_files/pkcs8_pbe_sha1_3des.key | 0 .../data_files/pkcs8_pbe_sha1_rc4_128.key | 0 .../data_files/pkcs8_pbes2_pbkdf2_3des.der | Bin .../data_files/pkcs8_pbes2_pbkdf2_3des.key | 0 .../data_files/pkcs8_pbes2_pbkdf2_des.key | 0 .../tests/data_files/rsa4096_prv.pem | 0 .../tests/data_files/rsa4096_pub.pem | 0 .../tests/data_files/server1-nospace.crt | 0 .../tests/data_files/server1-v1.crt | 0 .../tests/data_files/server1.cert_type.crt | 0 .../tests/data_files/server1.crt | 0 .../tests/data_files/server1.ext_ku.crt | 0 .../tests/data_files/server1.key | 0 .../tests/data_files/server1.key_usage.crt | 0 .../tests/data_files/server1.pubkey | 0 .../tests/data_files/server1.req.cert_type | 0 .../tests/data_files/server1.req.key_usage | 0 .../tests/data_files/server1.req.ku-ct | 0 .../tests/data_files/server1.req.md4 | 0 .../tests/data_files/server1.req.md5 | 0 .../tests/data_files/server1.req.sha1 | 0 .../tests/data_files/server1.req.sha224 | 0 .../tests/data_files/server1.req.sha256 | 0 .../tests/data_files/server1.req.sha384 | 0 .../tests/data_files/server1.req.sha512 | 0 .../tests/data_files/server1.v1.crt | 0 .../tests/data_files/server10.key | 0 .../data_files/server10_int3_int-ca2.crt | 0 .../data_files/server10_int3_int-ca2_ca.crt | 0 .../tests/data_files/server1_ca.crt | 0 .../tests/data_files/server2-badsign.crt | 0 .../tests/data_files/server2-v1-chain.crt | 0 .../tests/data_files/server2-v1.crt | 0 .../tests/data_files/server2.crt | 0 .../tests/data_files/server2.key | 0 .../tests/data_files/server2.ku-ds.crt | 0 .../tests/data_files/server2.ku-ds_ke.crt | 0 .../tests/data_files/server2.ku-ka.crt | 0 .../tests/data_files/server2.ku-ke.crt | 0 .../tests/data_files/server3.crt | 0 .../tests/data_files/server3.key | 0 .../tests/data_files/server4.crt | 0 .../tests/data_files/server4.key | 0 .../tests/data_files/server5-badsign.crt | 0 .../tests/data_files/server5-der0.crt | Bin .../tests/data_files/server5-der1a.crt | Bin .../tests/data_files/server5-der1b.crt | Bin .../tests/data_files/server5-der2.crt | Bin .../tests/data_files/server5-der4.crt | Bin .../tests/data_files/server5-der8.crt | Bin .../tests/data_files/server5-der9.crt | Bin .../tests/data_files/server5-expired.crt | 0 .../tests/data_files/server5-future.crt | 0 .../tests/data_files/server5-selfsigned.crt | 0 .../tests/data_files/server5-sha1.crt | 0 .../tests/data_files/server5-sha224.crt | 0 .../tests/data_files/server5-sha384.crt | 0 .../tests/data_files/server5-sha512.crt | 0 .../tests/data_files/server5.crt | 0 .../tests/data_files/server5.eku-cli.crt | 0 .../tests/data_files/server5.eku-cs.crt | 0 .../tests/data_files/server5.eku-cs_any.crt | 0 .../tests/data_files/server5.eku-srv.crt | 0 .../tests/data_files/server5.eku-srv_cli.crt | 0 .../tests/data_files/server5.key | 0 .../tests/data_files/server5.ku-ds.crt | 0 .../tests/data_files/server5.ku-ka.crt | 0 .../tests/data_files/server5.ku-ke.crt | 0 .../tests/data_files/server5.req.ku.sha1 | 0 .../tests/data_files/server5.req.sha1 | 0 .../tests/data_files/server5.req.sha224 | 0 .../tests/data_files/server5.req.sha256 | 0 .../tests/data_files/server5.req.sha384 | 0 .../tests/data_files/server5.req.sha512 | 0 .../tests/data_files/server6-ss-child.crt | 0 .../tests/data_files/server6.crt | 0 .../tests/data_files/server6.key | 0 .../tests/data_files/server7.crt | 0 .../tests/data_files/server7.key | 0 .../tests/data_files/server7_all_space.crt | 0 .../tests/data_files/server7_int-ca.crt | 0 .../tests/data_files/server7_int-ca_ca2.crt | 0 .../tests/data_files/server7_pem_space.crt | 0 .../data_files/server7_trailing_space.crt | 0 .../tests/data_files/server8.crt | 0 .../tests/data_files/server8.key | 0 .../tests/data_files/server8_int-ca2.crt | 0 .../tests/data_files/server9-bad-mgfhash.crt | 0 .../tests/data_files/server9-bad-saltlen.crt | 0 .../tests/data_files/server9-badsign.crt | 0 .../tests/data_files/server9-defaults.crt | 0 .../tests/data_files/server9-sha224.crt | 0 .../tests/data_files/server9-sha256.crt | 0 .../tests/data_files/server9-sha384.crt | 0 .../tests/data_files/server9-sha512.crt | 0 .../tests/data_files/server9-with-ca.crt | 0 .../tests/data_files/server9.crt | 0 .../tests/data_files/server9.key | 0 .../tests/data_files/server9.req.sha1 | 0 .../tests/data_files/server9.req.sha224 | 0 .../tests/data_files/server9.req.sha256 | 0 .../tests/data_files/server9.req.sha384 | 0 .../tests/data_files/server9.req.sha512 | 0 .../tests/data_files/test-ca-v1.crt | 0 .../tests/data_files/test-ca.crt | 0 .../tests/data_files/test-ca.key | 0 .../tests/data_files/test-ca2.crt | 0 .../tests/data_files/test-ca2.key | 0 .../tests/data_files/test-ca2.ku-crl.crt | 0 .../tests/data_files/test-ca2.ku-crt.crt | 0 .../tests/data_files/test-ca2.ku-crt_crl.crt | 0 .../tests/data_files/test-ca2.ku-ds.crt | 0 .../test-ca2_cat-future-present.crt | 0 .../data_files/test-ca2_cat-past-present.crt | 0 .../test-ca2_cat-present-future.crt | 0 .../data_files/test-ca2_cat-present-past.crt | 0 .../tests/data_files/test-ca_cat12.crt | 0 .../tests/data_files/test-ca_cat21.crt | 0 .../tests/data_files/test-int-ca.crt | 0 .../tests/data_files/test-int-ca.key | 0 .../tests/data_files/test-int-ca2.crt | 0 .../tests/data_files/test-int-ca2.key | 0 .../tests/data_files/test-int-ca3.crt | 0 .../tests/data_files/test-int-ca3.key | 0 .../tests/scripts/all.sh | 0 .../tests/scripts/basic-build-test.sh | 0 .../tests/scripts/check-doxy-blocks.pl | 0 .../tests/scripts/check-generated-files.sh | 0 .../tests/scripts/check-names.sh | 0 .../tests/scripts/curves.pl | 0 .../tests/scripts/doxygen.sh | 0 .../tests/scripts/gen_ctr_drbg.pl | 0 .../tests/scripts/gen_gcm_decrypt.pl | 0 .../tests/scripts/gen_gcm_encrypt.pl | 0 .../scripts/gen_pkcs1_v21_sign_verify.pl | 0 .../tests/scripts/generate-afl-tests.sh | 0 .../tests/scripts/generate_code.pl | 0 .../tests/scripts/key-exchanges.pl | 0 .../tests/scripts/list-enum-consts.pl | 0 .../tests/scripts/list-identifiers.sh | 0 .../tests/scripts/list-macros.sh | 0 .../tests/scripts/list-symbols.sh | 0 .../tests/scripts/recursion.pl | 0 .../tests/scripts/run-test-suites.pl | 0 .../tests/scripts/test-ref-configs.pl | 0 .../tests/scripts/travis-log-failure.sh | 0 .../tests/scripts/yotta-build.sh | 0 .../{repo => repo.patched}/tests/ssl-opt.sh | 0 .../tests/suites/helpers.function | 0 .../tests/suites/main_test.function | 0 .../tests/suites/test_suite_aes.cbc.data | 0 .../tests/suites/test_suite_aes.cfb.data | 0 .../tests/suites/test_suite_aes.ecb.data | 0 .../tests/suites/test_suite_aes.function | 0 .../tests/suites/test_suite_aes.rest.data | 0 .../tests/suites/test_suite_arc4.data | 0 .../tests/suites/test_suite_arc4.function | 0 .../tests/suites/test_suite_asn1write.data | 0 .../suites/test_suite_asn1write.function | 0 .../tests/suites/test_suite_base64.data | 0 .../tests/suites/test_suite_base64.function | 0 .../tests/suites/test_suite_blowfish.data | 0 .../tests/suites/test_suite_blowfish.function | 0 .../tests/suites/test_suite_camellia.data | 0 .../tests/suites/test_suite_camellia.function | 0 .../tests/suites/test_suite_ccm.data | 0 .../tests/suites/test_suite_ccm.function | 0 .../tests/suites/test_suite_cipher.aes.data | 0 .../tests/suites/test_suite_cipher.arc4.data | 0 .../suites/test_suite_cipher.blowfish.data | 0 .../suites/test_suite_cipher.camellia.data | 0 .../tests/suites/test_suite_cipher.ccm.data | 0 .../tests/suites/test_suite_cipher.des.data | 0 .../tests/suites/test_suite_cipher.function | 0 .../tests/suites/test_suite_cipher.gcm.data | 0 .../tests/suites/test_suite_cipher.null.data | 0 .../suites/test_suite_cipher.padding.data | 0 .../tests/suites/test_suite_cmac.data | 0 .../tests/suites/test_suite_cmac.function | 0 .../tests/suites/test_suite_ctr_drbg.data | 0 .../tests/suites/test_suite_ctr_drbg.function | 0 .../tests/suites/test_suite_debug.data | 0 .../tests/suites/test_suite_debug.function | 0 .../tests/suites/test_suite_des.data | 0 .../tests/suites/test_suite_des.function | 0 .../tests/suites/test_suite_dhm.data | 0 .../tests/suites/test_suite_dhm.function | 0 .../tests/suites/test_suite_ecdh.data | 0 .../tests/suites/test_suite_ecdh.function | 0 .../tests/suites/test_suite_ecdsa.data | 0 .../tests/suites/test_suite_ecdsa.function | 0 .../tests/suites/test_suite_ecjpake.data | 0 .../tests/suites/test_suite_ecjpake.function | 0 .../tests/suites/test_suite_ecp.data | 0 .../tests/suites/test_suite_ecp.function | 0 .../tests/suites/test_suite_entropy.data | 0 .../tests/suites/test_suite_entropy.function | 0 .../tests/suites/test_suite_error.data | 0 .../tests/suites/test_suite_error.function | 0 .../suites/test_suite_gcm.aes128_de.data | 0 .../suites/test_suite_gcm.aes128_en.data | 0 .../suites/test_suite_gcm.aes192_de.data | 0 .../suites/test_suite_gcm.aes192_en.data | 0 .../suites/test_suite_gcm.aes256_de.data | 0 .../suites/test_suite_gcm.aes256_en.data | 0 .../tests/suites/test_suite_gcm.camellia.data | 0 .../tests/suites/test_suite_gcm.function | 0 .../suites/test_suite_hmac_drbg.function | 0 .../suites/test_suite_hmac_drbg.misc.data | 0 .../test_suite_hmac_drbg.no_reseed.data | 0 .../suites/test_suite_hmac_drbg.nopr.data | 0 .../tests/suites/test_suite_hmac_drbg.pr.data | 0 .../tests/suites/test_suite_md.data | 0 .../tests/suites/test_suite_md.function | 0 .../tests/suites/test_suite_mdx.data | 0 .../tests/suites/test_suite_mdx.function | 0 .../test_suite_memory_buffer_alloc.data | 0 .../test_suite_memory_buffer_alloc.function | 0 .../tests/suites/test_suite_mpi.data | 0 .../tests/suites/test_suite_mpi.function | 0 .../tests/suites/test_suite_pem.data | 0 .../tests/suites/test_suite_pem.function | 0 .../tests/suites/test_suite_pk.data | 0 .../tests/suites/test_suite_pk.function | 0 .../tests/suites/test_suite_pkcs1_v15.data | 0 .../suites/test_suite_pkcs1_v15.function | 0 .../tests/suites/test_suite_pkcs1_v21.data | 0 .../suites/test_suite_pkcs1_v21.function | 0 .../tests/suites/test_suite_pkcs5.data | 0 .../tests/suites/test_suite_pkcs5.function | 0 .../tests/suites/test_suite_pkparse.data | 0 .../tests/suites/test_suite_pkparse.function | 0 .../tests/suites/test_suite_pkwrite.data | 0 .../tests/suites/test_suite_pkwrite.function | 0 .../tests/suites/test_suite_rsa.data | 0 .../tests/suites/test_suite_rsa.function | 0 .../tests/suites/test_suite_shax.data | 0 .../tests/suites/test_suite_shax.function | 0 .../tests/suites/test_suite_ssl.data | 0 .../tests/suites/test_suite_ssl.function | 0 .../tests/suites/test_suite_timing.data | 0 .../tests/suites/test_suite_timing.function | 0 .../tests/suites/test_suite_version.data | 0 .../tests/suites/test_suite_version.function | 0 .../tests/suites/test_suite_x509parse.data | 0 .../suites/test_suite_x509parse.function | 0 .../tests/suites/test_suite_x509write.data | 0 .../suites/test_suite_x509write.function | 0 .../tests/suites/test_suite_xtea.data | 0 .../tests/suites/test_suite_xtea.function | 0 .../visualc/VS2010/aescrypt2.vcxproj | 0 .../visualc/VS2010/benchmark.vcxproj | 0 .../visualc/VS2010/cert_app.vcxproj | 0 .../visualc/VS2010/cert_req.vcxproj | 0 .../visualc/VS2010/cert_write.vcxproj | 0 .../visualc/VS2010/crl_app.vcxproj | 0 .../visualc/VS2010/crypt_and_hash.vcxproj | 0 .../visualc/VS2010/dh_client.vcxproj | 0 .../visualc/VS2010/dh_genprime.vcxproj | 0 .../visualc/VS2010/dh_server.vcxproj | 0 .../visualc/VS2010/dtls_client.vcxproj | 0 .../visualc/VS2010/dtls_server.vcxproj | 0 .../visualc/VS2010/ecdsa.vcxproj | 0 .../visualc/VS2010/gen_entropy.vcxproj | 0 .../visualc/VS2010/gen_key.vcxproj | 0 .../VS2010/gen_random_ctr_drbg.vcxproj | 0 .../visualc/VS2010/gen_random_havege.vcxproj | 0 .../visualc/VS2010/generic_sum.vcxproj | 0 .../visualc/VS2010/hello.vcxproj | 0 .../visualc/VS2010/key_app.vcxproj | 0 .../visualc/VS2010/key_app_writer.vcxproj | 0 .../visualc/VS2010/mbedTLS.sln | 0 .../visualc/VS2010/mbedTLS.vcxproj | 0 .../visualc/VS2010/md5sum.vcxproj | 0 .../visualc/VS2010/mini_client.vcxproj | 0 .../visualc/VS2010/mpi_demo.vcxproj | 0 .../visualc/VS2010/pem2der.vcxproj | 0 .../visualc/VS2010/pk_decrypt.vcxproj | 0 .../visualc/VS2010/pk_encrypt.vcxproj | 0 .../visualc/VS2010/pk_sign.vcxproj | 0 .../visualc/VS2010/pk_verify.vcxproj | 0 .../visualc/VS2010/req_app.vcxproj | 0 .../visualc/VS2010/rsa_decrypt.vcxproj | 0 .../visualc/VS2010/rsa_encrypt.vcxproj | 0 .../visualc/VS2010/rsa_genkey.vcxproj | 0 .../visualc/VS2010/rsa_sign.vcxproj | 0 .../visualc/VS2010/rsa_sign_pss.vcxproj | 0 .../visualc/VS2010/rsa_verify.vcxproj | 0 .../visualc/VS2010/rsa_verify_pss.vcxproj | 0 .../visualc/VS2010/selftest.vcxproj | 0 .../visualc/VS2010/sha1sum.vcxproj | 0 .../visualc/VS2010/sha2sum.vcxproj | 0 .../visualc/VS2010/ssl_cert_test.vcxproj | 0 .../visualc/VS2010/ssl_client1.vcxproj | 0 .../visualc/VS2010/ssl_client2.vcxproj | 0 .../visualc/VS2010/ssl_fork_server.vcxproj | 0 .../visualc/VS2010/ssl_mail_client.vcxproj | 0 .../visualc/VS2010/ssl_server.vcxproj | 0 .../visualc/VS2010/ssl_server2.vcxproj | 0 .../visualc/VS2010/strerror.vcxproj | 0 .../visualc/VS2010/udp_proxy.vcxproj | 0 .../{repo => repo.patched}/yotta/.gitignore | 0 .../yotta/create-module.sh | 0 .../yotta/data/README.md | 0 .../yotta/data/adjust-config.sh | 0 .../yotta/data/entropy_hardware_poll.c | 0 .../yotta/data/example-authcrypt/README.md | 0 .../yotta/data/example-authcrypt/main.cpp | 0 .../yotta/data/example-benchmark/README.md | 0 .../yotta/data/example-benchmark/main.cpp | 0 .../yotta/data/example-hashing/README.md | 0 .../yotta/data/example-hashing/main.cpp | 0 .../yotta/data/example-selftest/README.md | 0 .../yotta/data/example-selftest/main.cpp | 0 .../yotta/data/module.json | 0 .../yotta/data/target_config.h | 0 third_party/mbedtls/repo/Makefile | 110 ----- third_party/mbedtls/repo/library/Makefile | 169 ------- third_party/mbedtls/repo/programs/Makefile | 288 ----------- third_party/mbedtls/repo/tests/Makefile | 450 ------------------ 734 files changed, 239 insertions(+), 1259 deletions(-) create mode 100755 third_party/mbedtls/patch.sh rename third_party/mbedtls/{repo => repo.patched}/.gitignore (100%) rename third_party/mbedtls/{repo => repo.patched}/.travis.yml (100%) rename third_party/mbedtls/{repo => repo.patched}/CMakeLists.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/ChangeLog (100%) rename third_party/mbedtls/{repo => repo.patched}/DartConfiguration.tcl (100%) rename third_party/mbedtls/{repo => repo.patched}/LICENSE (100%) rename third_party/mbedtls/{repo => repo.patched}/README.md (100%) rename third_party/mbedtls/{repo => repo.patched}/apache-2.0.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/circle.yml (100%) rename third_party/mbedtls/{repo => repo.patched}/configs/README.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/configs/config-ccm-psk-tls1_2.h (100%) rename third_party/mbedtls/{repo => repo.patched}/configs/config-mini-tls1_1.h (100%) rename third_party/mbedtls/{repo => repo.patched}/configs/config-no-entropy.h (100%) rename third_party/mbedtls/{repo => repo.patched}/configs/config-picocoin.h (100%) rename third_party/mbedtls/{repo => repo.patched}/configs/config-suite-b.h (100%) rename third_party/mbedtls/{repo => repo.patched}/configs/config-thread.h (100%) rename third_party/mbedtls/{repo => repo.patched}/doxygen/input/doc_encdec.h (100%) rename third_party/mbedtls/{repo => repo.patched}/doxygen/input/doc_hashing.h (100%) rename third_party/mbedtls/{repo => repo.patched}/doxygen/input/doc_mainpage.h (100%) rename third_party/mbedtls/{repo => repo.patched}/doxygen/input/doc_rng.h (100%) rename third_party/mbedtls/{repo => repo.patched}/doxygen/input/doc_ssltls.h (100%) rename third_party/mbedtls/{repo => repo.patched}/doxygen/input/doc_tcpip.h (100%) rename third_party/mbedtls/{repo => repo.patched}/doxygen/input/doc_x509.h (100%) rename third_party/mbedtls/{repo => repo.patched}/doxygen/mbedtls.doxyfile (100%) rename third_party/mbedtls/{repo => repo.patched}/include/.gitignore (100%) rename third_party/mbedtls/{repo => repo.patched}/include/CMakeLists.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/aes.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/aesni.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/arc4.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/asn1.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/asn1write.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/base64.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/bignum.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/blowfish.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/bn_mul.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/camellia.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/ccm.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/certs.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/check_config.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/cipher.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/cipher_internal.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/cmac.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/compat-1.3.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/config.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/ctr_drbg.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/debug.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/des.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/dhm.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/ecdh.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/ecdsa.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/ecjpake.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/ecp.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/entropy.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/entropy_poll.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/error.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/gcm.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/havege.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/hmac_drbg.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/md.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/md2.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/md4.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/md5.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/md_internal.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/memory_buffer_alloc.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/net.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/net_sockets.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/oid.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/padlock.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/pem.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/pk.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/pk_internal.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/pkcs11.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/pkcs12.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/pkcs5.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/platform.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/platform_time.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/ripemd160.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/rsa.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/sha1.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/sha256.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/sha512.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/ssl.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/ssl_cache.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/ssl_ciphersuites.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/ssl_cookie.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/ssl_internal.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/ssl_ticket.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/threading.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/timing.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/version.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/x509.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/x509_crl.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/x509_crt.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/x509_csr.h (100%) rename third_party/mbedtls/{repo => repo.patched}/include/mbedtls/xtea.h (100%) rename third_party/mbedtls/{repo => repo.patched}/library/.gitignore (100%) rename third_party/mbedtls/{repo => repo.patched}/library/CMakeLists.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/library/aes.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/aesni.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/arc4.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/asn1parse.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/asn1write.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/base64.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/bignum.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/blowfish.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/camellia.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ccm.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/certs.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/cipher.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/cipher_wrap.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/cmac.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ctr_drbg.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/debug.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/des.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/dhm.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ecdh.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ecdsa.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ecjpake.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ecp.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ecp_curves.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/entropy.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/entropy_poll.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/error.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/gcm.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/havege.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/hmac_drbg.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/md.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/md2.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/md4.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/md5.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/md_wrap.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/memory_buffer_alloc.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/net_sockets.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/oid.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/padlock.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/pem.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/pk.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/pk_wrap.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/pkcs11.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/pkcs12.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/pkcs5.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/pkparse.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/pkwrite.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/platform.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ripemd160.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/rsa.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/sha1.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/sha256.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/sha512.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ssl_cache.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ssl_ciphersuites.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ssl_cli.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ssl_cookie.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ssl_srv.c (99%) rename third_party/mbedtls/{repo => repo.patched}/library/ssl_ticket.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/ssl_tls.c (99%) rename third_party/mbedtls/{repo => repo.patched}/library/threading.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/timing.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/version.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/version_features.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/x509.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/x509_create.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/x509_crl.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/x509_crt.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/x509_csr.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/x509write_crt.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/x509write_csr.c (100%) rename third_party/mbedtls/{repo => repo.patched}/library/xtea.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/.gitignore (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/CMakeLists.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/aes/CMakeLists.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/aes/aescrypt2.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/aes/crypt_and_hash.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/hash/CMakeLists.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/hash/generic_sum.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/hash/hello.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/CMakeLists.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/dh_client.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/dh_genprime.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/dh_prime.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/dh_server.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/ecdh_curve25519.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/ecdsa.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/gen_key.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/key_app.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/key_app_writer.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/mpi_demo.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/pk_decrypt.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/pk_encrypt.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/pk_sign.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/pk_verify.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/rsa_decrypt.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/rsa_encrypt.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/rsa_genkey.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/rsa_priv.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/rsa_pub.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/rsa_sign.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/rsa_sign_pss.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/rsa_verify.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/pkey/rsa_verify_pss.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/random/CMakeLists.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/random/gen_entropy.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/random/gen_random_ctr_drbg.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/random/gen_random_havege.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/ssl/CMakeLists.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/ssl/dtls_client.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/ssl/dtls_server.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/ssl/mini_client.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/ssl/ssl_client1.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/ssl/ssl_client2.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/ssl/ssl_fork_server.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/ssl/ssl_mail_client.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/ssl/ssl_pthread_server.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/ssl/ssl_server.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/ssl/ssl_server2.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/test/CMakeLists.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/test/benchmark.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/test/selftest.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/test/ssl_cert_test.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/test/udp_proxy.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/util/CMakeLists.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/util/pem2der.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/util/strerror.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/wince_main.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/x509/CMakeLists.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/x509/cert_app.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/x509/cert_req.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/x509/cert_write.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/x509/crl_app.c (100%) rename third_party/mbedtls/{repo => repo.patched}/programs/x509/req_app.c (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/apidoc_full.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/bump_version.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/config.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/data_files/error.fmt (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/data_files/rename-1.3-2.0.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/data_files/version_features.fmt (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/data_files/vs2010-app-template.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/data_files/vs2010-main-template.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/data_files/vs2010-sln-template.sln (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/data_files/vs6-app-template.dsp (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/data_files/vs6-main-template.dsp (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/data_files/vs6-workspace-template.dsw (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/ecc-heap.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/find-mem-leak.cocci (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/footprint.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/generate_errors.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/generate_features.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/generate_visualc_files.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/malloc-init.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/massif_max.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/memory.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/output_env.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/rename.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/rm-malloc-cast.cocci (100%) rename third_party/mbedtls/{repo => repo.patched}/scripts/tmp_ignore_makefiles.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/.gitignore (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/CMakeLists.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/Descriptions.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/compat.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/Readme-x509.txt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/bitstring-in-dn.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cert_example_multi.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cert_example_multi_nocn.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cert_example_wildcard.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cert_md2.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cert_md4.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cert_md5.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cert_sha1.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cert_sha224.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cert_sha256.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cert_sha384.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cert_sha512.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cert_v1_with_ext.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cli2.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/cli2.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl-ec-sha1.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl-ec-sha224.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl-ec-sha256.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl-ec-sha384.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl-ec-sha512.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl-future.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl-rsa-pss-sha1-badsign.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl-rsa-pss-sha1.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl-rsa-pss-sha224.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl-rsa-pss-sha256.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl-rsa-pss-sha384.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl-rsa-pss-sha512.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl_cat_ec-rsa.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl_cat_ecfut-rsa.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl_cat_rsa-ec.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl_cat_rsabadpem-ec.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl_expired.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl_md2.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl_md4.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl_md5.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl_sha1.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl_sha224.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl_sha256.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl_sha384.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crl_sha512.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/crt_cat_rsaexp-ec.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dh.1000.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dh.optlen.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dhparams.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir1/test-ca.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir2/test-ca.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir2/test-ca2.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir3/Readme (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir3/test-ca.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir3/test-ca2.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/Readme (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert11.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert12.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert13.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert14.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert21.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert22.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert23.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert31.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert32.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert33.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert34.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert41.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert42.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert43.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert44.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert45.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert51.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert52.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert53.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert54.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert61.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert62.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert63.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert71.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert72.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert73.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert74.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert81.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert82.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert83.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert91.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/dir4/cert92.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_224_prv.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_224_pub.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_256_prv.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_256_pub.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_384_prv.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_384_pub.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_521_prv.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_521_pub.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_bp256_prv.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_bp256_pub.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_bp384_prv.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_bp384_pub.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_bp512_prv.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_bp512_pub.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_prv.noopt.der (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_prv.pk8.der (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_prv.pk8.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_prv.pk8.pw.der (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_prv.pk8.pw.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_prv.sec1.der (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_prv.sec1.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_prv.sec1.pw.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_prv.specdom.der (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_pub.der (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/ec_pub.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/enco-ca-prstr.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/enco-cert-utf8str.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/format_gen.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/format_gen.pub (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/format_pkcs12.fmt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/format_rsa.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/hash_file_1 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/hash_file_2 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/hash_file_3 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/hash_file_4 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/hash_file_5 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/keyUsage.decipherOnly.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/keyfile (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/keyfile.3des (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/keyfile.aes128 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/keyfile.aes192 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/keyfile.aes256 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/keyfile.des (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/mpi_10 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/mpi_too_big (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/passwd.psk (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/pkcs8_pbe_sha1_2des.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/pkcs8_pbe_sha1_3des.der (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/pkcs8_pbe_sha1_3des.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/pkcs8_pbe_sha1_rc4_128.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/pkcs8_pbes2_pbkdf2_3des.der (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/pkcs8_pbes2_pbkdf2_3des.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/pkcs8_pbes2_pbkdf2_des.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/rsa4096_prv.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/rsa4096_pub.pem (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1-nospace.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1-v1.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.cert_type.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.ext_ku.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.key_usage.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.pubkey (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.req.cert_type (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.req.key_usage (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.req.ku-ct (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.req.md4 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.req.md5 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.req.sha1 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.req.sha224 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.req.sha256 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.req.sha384 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.req.sha512 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1.v1.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server10.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server10_int3_int-ca2.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server10_int3_int-ca2_ca.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server1_ca.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server2-badsign.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server2-v1-chain.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server2-v1.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server2.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server2.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server2.ku-ds.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server2.ku-ds_ke.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server2.ku-ka.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server2.ku-ke.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server3.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server3.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server4.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server4.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-badsign.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-der0.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-der1a.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-der1b.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-der2.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-der4.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-der8.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-der9.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-expired.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-future.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-selfsigned.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-sha1.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-sha224.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-sha384.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5-sha512.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.eku-cli.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.eku-cs.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.eku-cs_any.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.eku-srv.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.eku-srv_cli.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.ku-ds.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.ku-ka.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.ku-ke.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.req.ku.sha1 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.req.sha1 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.req.sha224 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.req.sha256 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.req.sha384 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server5.req.sha512 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server6-ss-child.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server6.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server6.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server7.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server7.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server7_all_space.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server7_int-ca.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server7_int-ca_ca2.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server7_pem_space.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server7_trailing_space.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server8.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server8.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server8_int-ca2.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9-bad-mgfhash.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9-bad-saltlen.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9-badsign.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9-defaults.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9-sha224.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9-sha256.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9-sha384.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9-sha512.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9-with-ca.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9.req.sha1 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9.req.sha224 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9.req.sha256 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9.req.sha384 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/server9.req.sha512 (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca-v1.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca2.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca2.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca2.ku-crl.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca2.ku-crt.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca2.ku-crt_crl.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca2.ku-ds.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca2_cat-future-present.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca2_cat-past-present.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca2_cat-present-future.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca2_cat-present-past.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca_cat12.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-ca_cat21.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-int-ca.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-int-ca.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-int-ca2.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-int-ca2.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-int-ca3.crt (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/data_files/test-int-ca3.key (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/all.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/basic-build-test.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/check-doxy-blocks.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/check-generated-files.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/check-names.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/curves.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/doxygen.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/gen_ctr_drbg.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/gen_gcm_decrypt.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/gen_gcm_encrypt.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/gen_pkcs1_v21_sign_verify.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/generate-afl-tests.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/generate_code.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/key-exchanges.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/list-enum-consts.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/list-identifiers.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/list-macros.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/list-symbols.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/recursion.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/run-test-suites.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/test-ref-configs.pl (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/travis-log-failure.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/scripts/yotta-build.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/ssl-opt.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/helpers.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/main_test.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_aes.cbc.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_aes.cfb.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_aes.ecb.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_aes.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_aes.rest.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_arc4.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_arc4.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_asn1write.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_asn1write.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_base64.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_base64.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_blowfish.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_blowfish.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_camellia.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_camellia.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ccm.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ccm.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_cipher.aes.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_cipher.arc4.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_cipher.blowfish.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_cipher.camellia.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_cipher.ccm.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_cipher.des.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_cipher.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_cipher.gcm.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_cipher.null.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_cipher.padding.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_cmac.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_cmac.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ctr_drbg.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ctr_drbg.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_debug.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_debug.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_des.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_des.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_dhm.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_dhm.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ecdh.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ecdh.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ecdsa.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ecdsa.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ecjpake.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ecjpake.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ecp.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ecp.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_entropy.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_entropy.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_error.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_error.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_gcm.aes128_de.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_gcm.aes128_en.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_gcm.aes192_de.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_gcm.aes192_en.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_gcm.aes256_de.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_gcm.aes256_en.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_gcm.camellia.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_gcm.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_hmac_drbg.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_hmac_drbg.misc.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_hmac_drbg.no_reseed.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_hmac_drbg.nopr.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_hmac_drbg.pr.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_md.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_md.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_mdx.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_mdx.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_memory_buffer_alloc.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_memory_buffer_alloc.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_mpi.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_mpi.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pem.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pem.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pk.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pk.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pkcs1_v15.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pkcs1_v15.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pkcs1_v21.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pkcs1_v21.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pkcs5.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pkcs5.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pkparse.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pkparse.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pkwrite.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_pkwrite.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_rsa.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_rsa.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_shax.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_shax.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ssl.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_ssl.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_timing.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_timing.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_version.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_version.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_x509parse.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_x509parse.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_x509write.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_x509write.function (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_xtea.data (100%) rename third_party/mbedtls/{repo => repo.patched}/tests/suites/test_suite_xtea.function (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/aescrypt2.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/benchmark.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/cert_app.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/cert_req.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/cert_write.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/crl_app.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/crypt_and_hash.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/dh_client.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/dh_genprime.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/dh_server.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/dtls_client.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/dtls_server.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/ecdsa.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/gen_entropy.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/gen_key.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/gen_random_ctr_drbg.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/gen_random_havege.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/generic_sum.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/hello.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/key_app.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/key_app_writer.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/mbedTLS.sln (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/mbedTLS.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/md5sum.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/mini_client.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/mpi_demo.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/pem2der.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/pk_decrypt.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/pk_encrypt.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/pk_sign.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/pk_verify.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/req_app.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/rsa_decrypt.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/rsa_encrypt.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/rsa_genkey.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/rsa_sign.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/rsa_sign_pss.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/rsa_verify.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/rsa_verify_pss.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/selftest.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/sha1sum.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/sha2sum.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/ssl_cert_test.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/ssl_client1.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/ssl_client2.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/ssl_fork_server.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/ssl_mail_client.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/ssl_server.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/ssl_server2.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/strerror.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/visualc/VS2010/udp_proxy.vcxproj (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/.gitignore (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/create-module.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/data/README.md (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/data/adjust-config.sh (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/data/entropy_hardware_poll.c (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/data/example-authcrypt/README.md (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/data/example-authcrypt/main.cpp (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/data/example-benchmark/README.md (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/data/example-benchmark/main.cpp (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/data/example-hashing/README.md (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/data/example-hashing/main.cpp (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/data/example-selftest/README.md (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/data/example-selftest/main.cpp (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/data/module.json (100%) rename third_party/mbedtls/{repo => repo.patched}/yotta/data/target_config.h (100%) delete mode 100644 third_party/mbedtls/repo/Makefile delete mode 100644 third_party/mbedtls/repo/library/Makefile delete mode 100644 third_party/mbedtls/repo/programs/Makefile delete mode 100644 third_party/mbedtls/repo/tests/Makefile diff --git a/configure.ac b/configure.ac index f6d57cd97..b51d217cf 100644 --- a/configure.ac +++ b/configure.ac @@ -582,8 +582,8 @@ AC_ARG_ENABLE(builtin-mbedtls, if test "$enable_builtin_mbedtls" = "yes" -a ! "${MBEDTLS_CPPFLAGS}"; then MBEDTLS_CPPFLAGS="-I\${abs_top_srcdir}/third_party/mbedtls" - MBEDTLS_CPPFLAGS="${MBEDTLS_CPPFLAGS} -I\${abs_top_srcdir}/third_party/mbedtls/repo/include" - MBEDTLS_CPPFLAGS="${MBEDTLS_CPPFLAGS} -I\${abs_top_srcdir}/third_party/mbedtls/repo/include/mbedtls" + MBEDTLS_CPPFLAGS="${MBEDTLS_CPPFLAGS} -I\${abs_top_srcdir}/third_party/mbedtls/repo.patched/include" + MBEDTLS_CPPFLAGS="${MBEDTLS_CPPFLAGS} -I\${abs_top_srcdir}/third_party/mbedtls/repo.patched/include/mbedtls" MBEDTLS_CPPFLAGS="${MBEDTLS_CPPFLAGS} -DMBEDTLS_CONFIG_FILE=\\\"mbedtls-config.h\\\"" fi AC_MSG_CHECKING([whether mbed TLS should be enabled]) diff --git a/etc/visual-studio/UnitTests.vcxproj b/etc/visual-studio/UnitTests.vcxproj index f8a64483f..ae682df93 100644 --- a/etc/visual-studio/UnitTests.vcxproj +++ b/etc/visual-studio/UnitTests.vcxproj @@ -43,7 +43,7 @@ ..\..\src; ..\..\src\core; ..\..\third_party\mbedtls; - ..\..\third_party\mbedtls\repo\include; + ..\..\third_party\mbedtls\repo.patched\include; %(PreprocessorDefinitions) diff --git a/etc/visual-studio/libopenthread-cli.vcxproj b/etc/visual-studio/libopenthread-cli.vcxproj index 1f135ab98..31d75387e 100644 --- a/etc/visual-studio/libopenthread-cli.vcxproj +++ b/etc/visual-studio/libopenthread-cli.vcxproj @@ -49,7 +49,7 @@ ..\..\src; ..\..\src\core; ..\..\third_party\mbedtls; - ..\..\third_party\mbedtls\repo\include; + ..\..\third_party\mbedtls\repo.patched\include; Level3 true diff --git a/etc/visual-studio/libopenthread-ncp-spi.vcxproj b/etc/visual-studio/libopenthread-ncp-spi.vcxproj index 694b1b32e..9fd14d36d 100644 --- a/etc/visual-studio/libopenthread-ncp-spi.vcxproj +++ b/etc/visual-studio/libopenthread-ncp-spi.vcxproj @@ -51,7 +51,7 @@ ..\..\src; ..\..\src\core; ..\..\third_party\mbedtls; - ..\..\third_party\mbedtls\repo\include; + ..\..\third_party\mbedtls\repo.patched\include; Level3 true diff --git a/etc/visual-studio/libopenthread-ncp-uart.vcxproj b/etc/visual-studio/libopenthread-ncp-uart.vcxproj index 201bd4177..3ce3ab613 100644 --- a/etc/visual-studio/libopenthread-ncp-uart.vcxproj +++ b/etc/visual-studio/libopenthread-ncp-uart.vcxproj @@ -51,7 +51,7 @@ ..\..\src; ..\..\src\core; ..\..\third_party\mbedtls; - ..\..\third_party\mbedtls\repo\include; + ..\..\third_party\mbedtls\repo.patched\include; Level3 true diff --git a/etc/visual-studio/libopenthread.vcxproj b/etc/visual-studio/libopenthread.vcxproj index 1d7356a38..b787da997 100644 --- a/etc/visual-studio/libopenthread.vcxproj +++ b/etc/visual-studio/libopenthread.vcxproj @@ -48,7 +48,7 @@ ..\..\include; ..\..\src\core; ..\..\third_party\mbedtls; - ..\..\third_party\mbedtls\repo\include; + ..\..\third_party\mbedtls\repo.patched\include; Level3 true diff --git a/etc/visual-studio/libopenthread_k.vcxproj b/etc/visual-studio/libopenthread_k.vcxproj index db4763ee7..39610d017 100644 --- a/etc/visual-studio/libopenthread_k.vcxproj +++ b/etc/visual-studio/libopenthread_k.vcxproj @@ -53,7 +53,7 @@ ..\..\examples\drivers\windows\include; ..\..\src\core; ..\..\third_party\mbedtls; - ..\..\third_party\mbedtls\repo\include; + ..\..\third_party\mbedtls\repo.patched\include; ..\..\examples\drivers\windows\include_c99; 4100;4706;4748;%(DisableSpecificWarnings) diff --git a/etc/visual-studio/mbedtls.vcxproj b/etc/visual-studio/mbedtls.vcxproj index c81832eaf..997d506ca 100644 --- a/etc/visual-studio/mbedtls.vcxproj +++ b/etc/visual-studio/mbedtls.vcxproj @@ -45,8 +45,8 @@ ..\..\include; ..\..\src\core; ..\..\third_party\mbedtls; - ..\..\third_party\mbedtls\repo\include; - ..\..\third_party\mbedtls\repo\include\mbedtls + ..\..\third_party\mbedtls\repo.patched\include; + ..\..\third_party\mbedtls\repo.patched\include\mbedtls Level3 true @@ -55,30 +55,30 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/visual-studio/mbedtls.vcxproj.filters b/etc/visual-studio/mbedtls.vcxproj.filters index 7939941fd..ea9a869d6 100644 --- a/etc/visual-studio/mbedtls.vcxproj.filters +++ b/etc/visual-studio/mbedtls.vcxproj.filters @@ -5,10 +5,10 @@ {4FC737F1-C7A5-4376-A066-2A32D752A2FF} cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - + {0a2ce77e-dccf-408c-aea0-7a781284a936} - + {859819dc-e84e-4854-ad32-2819d60da38b} @@ -16,77 +16,77 @@ Source Files - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library diff --git a/etc/visual-studio/mbedtls_k.vcxproj b/etc/visual-studio/mbedtls_k.vcxproj index 51fd42d88..c4d2ad39a 100644 --- a/etc/visual-studio/mbedtls_k.vcxproj +++ b/etc/visual-studio/mbedtls_k.vcxproj @@ -40,8 +40,8 @@ ..\..\include; ..\..\src\core; ..\..\third_party\mbedtls; - ..\..\third_party\mbedtls\repo\include; - ..\..\third_party\mbedtls\repo\include\mbedtls; + ..\..\third_party\mbedtls\repo.patched\include; + ..\..\third_party\mbedtls\repo.patched\include\mbedtls; ..\..\examples\drivers\windows\include_c99; @@ -58,30 +58,30 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/visual-studio/mbedtls_k.vcxproj.filters b/etc/visual-studio/mbedtls_k.vcxproj.filters index 691803f13..9468d50ea 100644 --- a/etc/visual-studio/mbedtls_k.vcxproj.filters +++ b/etc/visual-studio/mbedtls_k.vcxproj.filters @@ -5,10 +5,10 @@ {4FC737F1-C7A5-4376-A066-2A32D752A2FF} cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - + {0a2ce77e-dccf-408c-aea0-7a781284a936} - + {87ec68b3-5bec-4c60-b764-c2daf3ffcfb2} @@ -16,77 +16,77 @@ Source Files - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library - - Source Files\repo\library + + Source Files\repo.patched\library diff --git a/examples/Makefile-cc2650 b/examples/Makefile-cc2650 index 906a54263..8eabaa024 100644 --- a/examples/Makefile-cc2650 +++ b/examples/Makefile-cc2650 @@ -56,7 +56,7 @@ CC2650_MBEDTLS_CPPFLAGS = -DMBEDTLS_CONFIG_FILE='\"cc2650-mbedtls-config.h\"' CC2650_MBEDTLS_CPPFLAGS += -I$(PWD)/examples/platforms/cc2650/crypto CC2650_MBEDTLS_CPPFLAGS += -I$(PWD)/third_party/ti/devices/cc26x0 CC2650_MBEDTLS_CPPFLAGS += -I$(PWD)/third_party/mbedtls -CC2650_MBEDTLS_CPPFLAGS += -I$(PWD)/third_party/mbedtls/repo/include +CC2650_MBEDTLS_CPPFLAGS += -I$(PWD)/third_party/mbedtls/repo.patched/include CC2650_CONFIG_FILE_CPPFLAGS = -DOPENTHREAD_PROJECT_CORE_CONFIG_FILE='\"openthread-core-cc2650-config.h\"' CC2650_CONFIG_FILE_CPPFLAGS += -I$(PWD)/examples/platforms/cc2650/ diff --git a/examples/Makefile-cc2652 b/examples/Makefile-cc2652 index 83155904c..0001c3aa1 100644 --- a/examples/Makefile-cc2652 +++ b/examples/Makefile-cc2652 @@ -58,7 +58,7 @@ CC2652_MBEDTLS_CPPFLAGS = \ -I$(PWD)/examples/platforms/cc2652/crypto \ -I$(PWD)/third_party/ti/devices/cc26x2 \ -I$(PWD)/third_party/mbedtls \ - -I$(PWD)/third_party/mbedtls/repo/include \ + -I$(PWD)/third_party/mbedtls/repo.patched/include \ $(NULL) CC2652_CONFIG_FILE_CPPFLAGS = \ diff --git a/examples/Makefile-efr32 b/examples/Makefile-efr32 index bb4f06e3e..ac7d301ab 100644 --- a/examples/Makefile-efr32 +++ b/examples/Makefile-efr32 @@ -66,8 +66,8 @@ EFR32_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/third_party/silabs/gecko_sdk_suit EFR32_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/third_party/silabs/gecko_sdk_suite/v1.1/platform/Device/SiliconLabs/EFR32MG12P/Include EFR32_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/third_party/silabs/gecko_sdk_suite/v1.1/platform/emlib/inc EFR32_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/third_party/mbedtls -EFR32_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/third_party/mbedtls/repo/include -EFR32_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/third_party/mbedtls/repo/include/mbedtls +EFR32_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/third_party/mbedtls/repo.patched/include +EFR32_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/third_party/mbedtls/repo.patched/include/mbedtls CONFIG_FILE = OPENTHREAD_PROJECT_CORE_CONFIG_FILE='\"openthread-core-efr32-config.h\"' CONFIG_FILE_PATH = $(AbsTopSourceDir)/examples/platforms/efr32/ diff --git a/examples/Makefile-nrf52840 b/examples/Makefile-nrf52840 index 1636843cf..ac8d6c498 100644 --- a/examples/Makefile-nrf52840 +++ b/examples/Makefile-nrf52840 @@ -64,8 +64,8 @@ NRF52840_MBEDTLS_CPPFLAGS = -DMBEDTLS_CONFIG_FILE='\"mbedtls-config.h\"' NRF52840_MBEDTLS_CPPFLAGS += -DMBEDTLS_USER_CONFIG_FILE='\"nrf52840-mbedtls-config.h\"' NRF52840_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/examples/platforms/nrf52840/crypto NRF52840_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/third_party/mbedtls -NRF52840_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/third_party/mbedtls/repo/include -NRF52840_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/third_party/mbedtls/repo/include/mbedtls +NRF52840_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/third_party/mbedtls/repo.patched/include +NRF52840_MBEDTLS_CPPFLAGS += -I$(AbsTopSourceDir)/third_party/mbedtls/repo.patched/include/mbedtls CONFIG_FILE = OPENTHREAD_PROJECT_CORE_CONFIG_FILE='\"openthread-core-nrf52840-config.h\"' CONFIG_FILE_PATH = $(AbsTopSourceDir)/examples/platforms/nrf52840/ diff --git a/src/core/Makefile.am b/src/core/Makefile.am index 0ca3b2083..8b1cb2cf5 100644 --- a/src/core/Makefile.am +++ b/src/core/Makefile.am @@ -35,8 +35,6 @@ lib_LIBRARIES = \ CPPFLAGS_COMMON = \ -I$(top_srcdir)/include \ - -I${abs_top_srcdir}/third_party/mbedtls/repo/include \ - $(MBEDTLS_CPPFLAGS) \ $(OPENTHREAD_TARGET_DEFINES) \ $(NULL) diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am index 44b4177b3..d9b4b75e3 100644 --- a/tests/unit/Makefile.am +++ b/tests/unit/Makefile.am @@ -74,10 +74,6 @@ COMMON_LDADD = \ endif # OPENTHREAD_ENABLE_NCP if OPENTHREAD_ENABLE_BUILTIN_MBEDTLS -AM_CPPFLAGS += \ - -I$(top_srcdir)/third_party/mbedtls/repo/include \ - $(NULL) - COMMON_LDADD += \ $(top_builddir)/third_party/mbedtls/libmbedcrypto.a \ $(NULL) diff --git a/third_party/mbedtls/Makefile.am b/third_party/mbedtls/Makefile.am index b3bf0b258..8adfc7a69 100644 --- a/third_party/mbedtls/Makefile.am +++ b/third_party/mbedtls/Makefile.am @@ -18,7 +18,7 @@ include $(abs_top_nlbuild_autotools_dir)/automake/pre.am EXTRA_DIST = \ mbedtls-config.h \ - repo/include \ + repo.patched/include \ $(NULL) lib_LIBRARIES = libmbedcrypto.a @@ -31,7 +31,7 @@ override CXXFLAGS := $(filter-out -Wconversion,$(CXXF override CFLAGS := $(filter-out -pedantic-errors,$(CFLAGS)) override CXXFLAGS := $(filter-out -pedantic-errors,$(CXXFLAGS)) -MBEDTLS_SRCDIR = $(top_srcdir)/third_party/mbedtls/repo +MBEDTLS_SRCDIR = $(top_srcdir)/third_party/mbedtls/repo.patched libmbedcrypto_a_CPPFLAGS = \ -I$(top_srcdir)/include \ @@ -42,11 +42,11 @@ libmbedcrypto_a_CPPFLAGS = \ libmbedcrypto_a_SOURCES = \ hardware_entropy.c \ - repo/library/md.c \ - repo/library/md_wrap.c \ - repo/library/memory_buffer_alloc.c \ - repo/library/platform.c \ - repo/library/sha256.c \ + repo.patched/library/md.c \ + repo.patched/library/md_wrap.c \ + repo.patched/library/memory_buffer_alloc.c \ + repo.patched/library/platform.c \ + repo.patched/library/sha256.c \ $(NULL) if OPENTHREAD_EXAMPLES_EFR32 @@ -55,29 +55,29 @@ nodist_libmbedcrypto_a_SOURCES = \ $(NULL) else libmbedcrypto_a_SOURCES += \ - repo/library/aes.c \ + repo.patched/library/aes.c \ $(NULL) endif # OPENTHREAD_EXAMPLES_EFR32 if OPENTHREAD_ENABLE_DTLS libmbedcrypto_a_SOURCES += \ - repo/library/bignum.c \ - repo/library/ccm.c \ - repo/library/cipher.c \ - repo/library/cipher_wrap.c \ - repo/library/cmac.c \ - repo/library/ctr_drbg.c \ - repo/library/debug.c \ - repo/library/ecjpake.c \ - repo/library/ecp_curves.c \ - repo/library/entropy.c \ - repo/library/entropy_poll.c \ - repo/library/ssl_cookie.c \ - repo/library/ssl_ciphersuites.c \ - repo/library/ssl_cli.c \ - repo/library/ssl_srv.c \ - repo/library/ssl_ticket.c \ - repo/library/ssl_tls.c \ + repo.patched/library/bignum.c \ + repo.patched/library/ccm.c \ + repo.patched/library/cipher.c \ + repo.patched/library/cipher_wrap.c \ + repo.patched/library/cmac.c \ + repo.patched/library/ctr_drbg.c \ + repo.patched/library/debug.c \ + repo.patched/library/ecjpake.c \ + repo.patched/library/ecp_curves.c \ + repo.patched/library/entropy.c \ + repo.patched/library/entropy_poll.c \ + repo.patched/library/ssl_cookie.c \ + repo.patched/library/ssl_ciphersuites.c \ + repo.patched/library/ssl_cli.c \ + repo.patched/library/ssl_srv.c \ + repo.patched/library/ssl_ticket.c \ + repo.patched/library/ssl_tls.c \ $(NULL) if OPENTHREAD_EXAMPLES_EFR32 @@ -87,47 +87,10 @@ nodist_libmbedcrypto_a_SOURCES += \ $(NULL) else libmbedcrypto_a_SOURCES += \ - repo/library/ecp.c \ + repo.patched/library/ecp.c \ $(NULL) endif # OPENTHREAD_EXAMPLES_EFR32 -# -# mbedtls patches -# - -MBEDTLS_ABS_SRCDIR := $(abspath $(top_srcdir)/third_party/mbedtls) - -EXTRA_DIST += \ - patch/0001-Fix-commissioning-problem-with-retransmissions.patch \ - patch/0002-Fix-warning-dead-store.patch \ - $(NULL) - -repo/library/libmbedcrypto_a-ssl_tls.$(OBJEXT): $(MBEDTLS_SRCDIR)/library/ssl_tls.c.patched - -$(MBEDTLS_SRCDIR)/library/ssl_tls.c.patched: $(MBEDTLS_ABS_SRCDIR)/patch/0001-Fix-commissioning-problem-with-retransmissions.patch - chmod u+w $(MBEDTLS_ABS_SRCDIR)/repo/library/ - chmod u+w $(MBEDTLS_ABS_SRCDIR)/repo/library/ssl_tls.c - if [ -e $@ ]; then patch -R $(MBEDTLS_ABS_SRCDIR)/repo/library/ssl_tls.c $@; fi - patch $(MBEDTLS_ABS_SRCDIR)/repo/library/ssl_tls.c $< - cp $(MBEDTLS_ABS_SRCDIR)/patch/0001-Fix-commissioning-problem-with-retransmissions.patch $@ - -repo/library/libmbedcrypto_a-ssl_srv.$(OBJEXT): $(MBEDTLS_SRCDIR)/library/ssl_srv.c.patched - -$(MBEDTLS_SRCDIR)/library/ssl_srv.c.patched: $(MBEDTLS_ABS_SRCDIR)/patch/0002-Fix-warning-dead-store.patch - chmod u+w $(MBEDTLS_ABS_SRCDIR)/repo/library/ - chmod u+w $(MBEDTLS_ABS_SRCDIR)/repo/library/ssl_srv.c - if [ -e $@ ]; then patch -R $(MBEDTLS_ABS_SRCDIR)/repo/library/ssl_srv.c $@; fi - patch $(MBEDTLS_ABS_SRCDIR)/repo/library/ssl_srv.c $< - cp $(MBEDTLS_ABS_SRCDIR)/patch/0002-Fix-warning-dead-store.patch $@ - -all-local: libmbedcrypto.a - if [ -e $(MBEDTLS_SRCDIR)/library/ssl_tls.c.patched ]; then patch -R $(MBEDTLS_ABS_SRCDIR)/repo/library/ssl_tls.c $(MBEDTLS_ABS_SRCDIR)/patch/0001-Fix-commissioning-problem-with-retransmissions.patch; rm -f $(MBEDTLS_SRCDIR)/library/ssl_tls.c.patched; fi - if [ -e $(MBEDTLS_SRCDIR)/library/ssl_srv.c.patched ]; then patch -R $(MBEDTLS_ABS_SRCDIR)/repo/library/ssl_srv.c $(MBEDTLS_ABS_SRCDIR)/patch/0002-Fix-warning-dead-store.patch; rm -f $(MBEDTLS_SRCDIR)/library/ssl_srv.c.patched; fi - -clean-local: - if [ -e $(MBEDTLS_SRCDIR)/library/ssl_tls.c.patched ]; then patch -R $(MBEDTLS_ABS_SRCDIR)/repo/library/ssl_tls.c $(MBEDTLS_ABS_SRCDIR)/patch/0001-Fix-commissioning-problem-with-retransmissions.patch; rm -f $(MBEDTLS_SRCDIR)/library/ssl_tls.c.patched; fi - if [ -e $(MBEDTLS_SRCDIR)/library/ssl_srv.c.patched ]; then patch -R $(MBEDTLS_ABS_SRCDIR)/repo/library/ssl_srv.c $(MBEDTLS_ABS_SRCDIR)/patch/0002-Fix-warning-dead-store.patch; rm -f $(MBEDTLS_SRCDIR)/library/ssl_srv.c.patched; fi - endif # OPENTHREAD_ENABLE_DTLS if OPENTHREAD_BUILD_COVERAGE diff --git a/third_party/mbedtls/README.md b/third_party/mbedtls/README.md index 84bde3762..6f0ce12c9 100644 --- a/third_party/mbedtls/README.md +++ b/third_party/mbedtls/README.md @@ -22,3 +22,10 @@ mbed TLS (formerly known as PolarSSL) makes it trivially easy for developers to include cryptographic and SSL/TLS capabilities in their (embedded) products, facilitating this functionality with a minimal coding footprint. + +## Modifications + +The patches in `third_party/mbedtls/patch` were applied to the +original mbed TLS source. The patched source in +`third_party/mbedtls/repo.patched` was generated by executing +`third_party/mbedtls/patch.sh`. diff --git a/third_party/mbedtls/patch.sh b/third_party/mbedtls/patch.sh new file mode 100755 index 000000000..e1be14769 --- /dev/null +++ b/third_party/mbedtls/patch.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +REPO_DIR=repo.patched + +rm -r ${REPO_DIR} +mkdir ${REPO_DIR} + +curl -L http://github.com/ARMmbed/mbedtls/archive/mbedtls-2.4.1.tar.gz | tar zx - -C ${REPO_DIR} --strip-components=1 + +patch ${REPO_DIR}/library/ssl_tls.c patch/0001-Fix-commissioning-problem-with-retransmissions.patch +patch ${REPO_DIR}/library/ssl_srv.c patch/0002-Fix-warning-dead-store.patch diff --git a/third_party/mbedtls/patch/0001-Fix-commissioning-problem-with-retransmissions.patch b/third_party/mbedtls/patch/0001-Fix-commissioning-problem-with-retransmissions.patch index b1e51aa81..257e105f7 100644 --- a/third_party/mbedtls/patch/0001-Fix-commissioning-problem-with-retransmissions.patch +++ b/third_party/mbedtls/patch/0001-Fix-commissioning-problem-with-retransmissions.patch @@ -1,7 +1,7 @@ -diff --git a/third_party/mbedtls/repo/library/ssl_tls.c b/third_party/mbedtls/repo/library/ssl_tls.c +diff --git a/third_party/mbedtls/repo.patched/library/ssl_tls.c b/third_party/mbedtls/repo.patched/library/ssl_tls.c index 84a04ae..2153c80 100644 ---- a/third_party/mbedtls/repo/library/ssl_tls.c -+++ b/third_party/mbedtls/repo/library/ssl_tls.c +--- a/third_party/mbedtls/repo.patched/library/ssl_tls.c ++++ b/third_party/mbedtls/repo.patched/library/ssl_tls.c @@ -3608,6 +3608,24 @@ static int ssl_parse_record_header( mbedtls_ssl_context *ssl ) "expected %d, received %d", ssl->in_epoch, rec_epoch ) ); diff --git a/third_party/mbedtls/patch/0002-Fix-warning-dead-store.patch b/third_party/mbedtls/patch/0002-Fix-warning-dead-store.patch index 1ac1ae37a..13c56e811 100644 --- a/third_party/mbedtls/patch/0002-Fix-warning-dead-store.patch +++ b/third_party/mbedtls/patch/0002-Fix-warning-dead-store.patch @@ -1,7 +1,7 @@ -diff --git a/third_party/mbedtls/repo/library/ssl_srv.c b/third_party/mbedtls/repo/library/ssl_srv.c +diff --git a/third_party/mbedtls/repo.patched/library/ssl_srv.c b/third_party/mbedtls/repo.patched/library/ssl_srv.c index fc0d2d7b..fad54dd8 100644 ---- a/third_party/mbedtls/repo/library/ssl_srv.c -+++ b/third_party/mbedtls/repo/library/ssl_srv.c +--- a/third_party/mbedtls/repo.patched/library/ssl_srv.c ++++ b/third_party/mbedtls/repo.patched/library/ssl_srv.c @@ -3017,6 +3017,9 @@ curve_matching_done: MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED || MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED */ diff --git a/third_party/mbedtls/repo/.gitignore b/third_party/mbedtls/repo.patched/.gitignore similarity index 100% rename from third_party/mbedtls/repo/.gitignore rename to third_party/mbedtls/repo.patched/.gitignore diff --git a/third_party/mbedtls/repo/.travis.yml b/third_party/mbedtls/repo.patched/.travis.yml similarity index 100% rename from third_party/mbedtls/repo/.travis.yml rename to third_party/mbedtls/repo.patched/.travis.yml diff --git a/third_party/mbedtls/repo/CMakeLists.txt b/third_party/mbedtls/repo.patched/CMakeLists.txt similarity index 100% rename from third_party/mbedtls/repo/CMakeLists.txt rename to third_party/mbedtls/repo.patched/CMakeLists.txt diff --git a/third_party/mbedtls/repo/ChangeLog b/third_party/mbedtls/repo.patched/ChangeLog similarity index 100% rename from third_party/mbedtls/repo/ChangeLog rename to third_party/mbedtls/repo.patched/ChangeLog diff --git a/third_party/mbedtls/repo/DartConfiguration.tcl b/third_party/mbedtls/repo.patched/DartConfiguration.tcl similarity index 100% rename from third_party/mbedtls/repo/DartConfiguration.tcl rename to third_party/mbedtls/repo.patched/DartConfiguration.tcl diff --git a/third_party/mbedtls/repo/LICENSE b/third_party/mbedtls/repo.patched/LICENSE similarity index 100% rename from third_party/mbedtls/repo/LICENSE rename to third_party/mbedtls/repo.patched/LICENSE diff --git a/third_party/mbedtls/repo/README.md b/third_party/mbedtls/repo.patched/README.md similarity index 100% rename from third_party/mbedtls/repo/README.md rename to third_party/mbedtls/repo.patched/README.md diff --git a/third_party/mbedtls/repo/apache-2.0.txt b/third_party/mbedtls/repo.patched/apache-2.0.txt similarity index 100% rename from third_party/mbedtls/repo/apache-2.0.txt rename to third_party/mbedtls/repo.patched/apache-2.0.txt diff --git a/third_party/mbedtls/repo/circle.yml b/third_party/mbedtls/repo.patched/circle.yml similarity index 100% rename from third_party/mbedtls/repo/circle.yml rename to third_party/mbedtls/repo.patched/circle.yml diff --git a/third_party/mbedtls/repo/configs/README.txt b/third_party/mbedtls/repo.patched/configs/README.txt similarity index 100% rename from third_party/mbedtls/repo/configs/README.txt rename to third_party/mbedtls/repo.patched/configs/README.txt diff --git a/third_party/mbedtls/repo/configs/config-ccm-psk-tls1_2.h b/third_party/mbedtls/repo.patched/configs/config-ccm-psk-tls1_2.h similarity index 100% rename from third_party/mbedtls/repo/configs/config-ccm-psk-tls1_2.h rename to third_party/mbedtls/repo.patched/configs/config-ccm-psk-tls1_2.h diff --git a/third_party/mbedtls/repo/configs/config-mini-tls1_1.h b/third_party/mbedtls/repo.patched/configs/config-mini-tls1_1.h similarity index 100% rename from third_party/mbedtls/repo/configs/config-mini-tls1_1.h rename to third_party/mbedtls/repo.patched/configs/config-mini-tls1_1.h diff --git a/third_party/mbedtls/repo/configs/config-no-entropy.h b/third_party/mbedtls/repo.patched/configs/config-no-entropy.h similarity index 100% rename from third_party/mbedtls/repo/configs/config-no-entropy.h rename to third_party/mbedtls/repo.patched/configs/config-no-entropy.h diff --git a/third_party/mbedtls/repo/configs/config-picocoin.h b/third_party/mbedtls/repo.patched/configs/config-picocoin.h similarity index 100% rename from third_party/mbedtls/repo/configs/config-picocoin.h rename to third_party/mbedtls/repo.patched/configs/config-picocoin.h diff --git a/third_party/mbedtls/repo/configs/config-suite-b.h b/third_party/mbedtls/repo.patched/configs/config-suite-b.h similarity index 100% rename from third_party/mbedtls/repo/configs/config-suite-b.h rename to third_party/mbedtls/repo.patched/configs/config-suite-b.h diff --git a/third_party/mbedtls/repo/configs/config-thread.h b/third_party/mbedtls/repo.patched/configs/config-thread.h similarity index 100% rename from third_party/mbedtls/repo/configs/config-thread.h rename to third_party/mbedtls/repo.patched/configs/config-thread.h diff --git a/third_party/mbedtls/repo/doxygen/input/doc_encdec.h b/third_party/mbedtls/repo.patched/doxygen/input/doc_encdec.h similarity index 100% rename from third_party/mbedtls/repo/doxygen/input/doc_encdec.h rename to third_party/mbedtls/repo.patched/doxygen/input/doc_encdec.h diff --git a/third_party/mbedtls/repo/doxygen/input/doc_hashing.h b/third_party/mbedtls/repo.patched/doxygen/input/doc_hashing.h similarity index 100% rename from third_party/mbedtls/repo/doxygen/input/doc_hashing.h rename to third_party/mbedtls/repo.patched/doxygen/input/doc_hashing.h diff --git a/third_party/mbedtls/repo/doxygen/input/doc_mainpage.h b/third_party/mbedtls/repo.patched/doxygen/input/doc_mainpage.h similarity index 100% rename from third_party/mbedtls/repo/doxygen/input/doc_mainpage.h rename to third_party/mbedtls/repo.patched/doxygen/input/doc_mainpage.h diff --git a/third_party/mbedtls/repo/doxygen/input/doc_rng.h b/third_party/mbedtls/repo.patched/doxygen/input/doc_rng.h similarity index 100% rename from third_party/mbedtls/repo/doxygen/input/doc_rng.h rename to third_party/mbedtls/repo.patched/doxygen/input/doc_rng.h diff --git a/third_party/mbedtls/repo/doxygen/input/doc_ssltls.h b/third_party/mbedtls/repo.patched/doxygen/input/doc_ssltls.h similarity index 100% rename from third_party/mbedtls/repo/doxygen/input/doc_ssltls.h rename to third_party/mbedtls/repo.patched/doxygen/input/doc_ssltls.h diff --git a/third_party/mbedtls/repo/doxygen/input/doc_tcpip.h b/third_party/mbedtls/repo.patched/doxygen/input/doc_tcpip.h similarity index 100% rename from third_party/mbedtls/repo/doxygen/input/doc_tcpip.h rename to third_party/mbedtls/repo.patched/doxygen/input/doc_tcpip.h diff --git a/third_party/mbedtls/repo/doxygen/input/doc_x509.h b/third_party/mbedtls/repo.patched/doxygen/input/doc_x509.h similarity index 100% rename from third_party/mbedtls/repo/doxygen/input/doc_x509.h rename to third_party/mbedtls/repo.patched/doxygen/input/doc_x509.h diff --git a/third_party/mbedtls/repo/doxygen/mbedtls.doxyfile b/third_party/mbedtls/repo.patched/doxygen/mbedtls.doxyfile similarity index 100% rename from third_party/mbedtls/repo/doxygen/mbedtls.doxyfile rename to third_party/mbedtls/repo.patched/doxygen/mbedtls.doxyfile diff --git a/third_party/mbedtls/repo/include/.gitignore b/third_party/mbedtls/repo.patched/include/.gitignore similarity index 100% rename from third_party/mbedtls/repo/include/.gitignore rename to third_party/mbedtls/repo.patched/include/.gitignore diff --git a/third_party/mbedtls/repo/include/CMakeLists.txt b/third_party/mbedtls/repo.patched/include/CMakeLists.txt similarity index 100% rename from third_party/mbedtls/repo/include/CMakeLists.txt rename to third_party/mbedtls/repo.patched/include/CMakeLists.txt diff --git a/third_party/mbedtls/repo/include/mbedtls/aes.h b/third_party/mbedtls/repo.patched/include/mbedtls/aes.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/aes.h rename to third_party/mbedtls/repo.patched/include/mbedtls/aes.h diff --git a/third_party/mbedtls/repo/include/mbedtls/aesni.h b/third_party/mbedtls/repo.patched/include/mbedtls/aesni.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/aesni.h rename to third_party/mbedtls/repo.patched/include/mbedtls/aesni.h diff --git a/third_party/mbedtls/repo/include/mbedtls/arc4.h b/third_party/mbedtls/repo.patched/include/mbedtls/arc4.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/arc4.h rename to third_party/mbedtls/repo.patched/include/mbedtls/arc4.h diff --git a/third_party/mbedtls/repo/include/mbedtls/asn1.h b/third_party/mbedtls/repo.patched/include/mbedtls/asn1.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/asn1.h rename to third_party/mbedtls/repo.patched/include/mbedtls/asn1.h diff --git a/third_party/mbedtls/repo/include/mbedtls/asn1write.h b/third_party/mbedtls/repo.patched/include/mbedtls/asn1write.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/asn1write.h rename to third_party/mbedtls/repo.patched/include/mbedtls/asn1write.h diff --git a/third_party/mbedtls/repo/include/mbedtls/base64.h b/third_party/mbedtls/repo.patched/include/mbedtls/base64.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/base64.h rename to third_party/mbedtls/repo.patched/include/mbedtls/base64.h diff --git a/third_party/mbedtls/repo/include/mbedtls/bignum.h b/third_party/mbedtls/repo.patched/include/mbedtls/bignum.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/bignum.h rename to third_party/mbedtls/repo.patched/include/mbedtls/bignum.h diff --git a/third_party/mbedtls/repo/include/mbedtls/blowfish.h b/third_party/mbedtls/repo.patched/include/mbedtls/blowfish.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/blowfish.h rename to third_party/mbedtls/repo.patched/include/mbedtls/blowfish.h diff --git a/third_party/mbedtls/repo/include/mbedtls/bn_mul.h b/third_party/mbedtls/repo.patched/include/mbedtls/bn_mul.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/bn_mul.h rename to third_party/mbedtls/repo.patched/include/mbedtls/bn_mul.h diff --git a/third_party/mbedtls/repo/include/mbedtls/camellia.h b/third_party/mbedtls/repo.patched/include/mbedtls/camellia.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/camellia.h rename to third_party/mbedtls/repo.patched/include/mbedtls/camellia.h diff --git a/third_party/mbedtls/repo/include/mbedtls/ccm.h b/third_party/mbedtls/repo.patched/include/mbedtls/ccm.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/ccm.h rename to third_party/mbedtls/repo.patched/include/mbedtls/ccm.h diff --git a/third_party/mbedtls/repo/include/mbedtls/certs.h b/third_party/mbedtls/repo.patched/include/mbedtls/certs.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/certs.h rename to third_party/mbedtls/repo.patched/include/mbedtls/certs.h diff --git a/third_party/mbedtls/repo/include/mbedtls/check_config.h b/third_party/mbedtls/repo.patched/include/mbedtls/check_config.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/check_config.h rename to third_party/mbedtls/repo.patched/include/mbedtls/check_config.h diff --git a/third_party/mbedtls/repo/include/mbedtls/cipher.h b/third_party/mbedtls/repo.patched/include/mbedtls/cipher.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/cipher.h rename to third_party/mbedtls/repo.patched/include/mbedtls/cipher.h diff --git a/third_party/mbedtls/repo/include/mbedtls/cipher_internal.h b/third_party/mbedtls/repo.patched/include/mbedtls/cipher_internal.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/cipher_internal.h rename to third_party/mbedtls/repo.patched/include/mbedtls/cipher_internal.h diff --git a/third_party/mbedtls/repo/include/mbedtls/cmac.h b/third_party/mbedtls/repo.patched/include/mbedtls/cmac.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/cmac.h rename to third_party/mbedtls/repo.patched/include/mbedtls/cmac.h diff --git a/third_party/mbedtls/repo/include/mbedtls/compat-1.3.h b/third_party/mbedtls/repo.patched/include/mbedtls/compat-1.3.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/compat-1.3.h rename to third_party/mbedtls/repo.patched/include/mbedtls/compat-1.3.h diff --git a/third_party/mbedtls/repo/include/mbedtls/config.h b/third_party/mbedtls/repo.patched/include/mbedtls/config.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/config.h rename to third_party/mbedtls/repo.patched/include/mbedtls/config.h diff --git a/third_party/mbedtls/repo/include/mbedtls/ctr_drbg.h b/third_party/mbedtls/repo.patched/include/mbedtls/ctr_drbg.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/ctr_drbg.h rename to third_party/mbedtls/repo.patched/include/mbedtls/ctr_drbg.h diff --git a/third_party/mbedtls/repo/include/mbedtls/debug.h b/third_party/mbedtls/repo.patched/include/mbedtls/debug.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/debug.h rename to third_party/mbedtls/repo.patched/include/mbedtls/debug.h diff --git a/third_party/mbedtls/repo/include/mbedtls/des.h b/third_party/mbedtls/repo.patched/include/mbedtls/des.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/des.h rename to third_party/mbedtls/repo.patched/include/mbedtls/des.h diff --git a/third_party/mbedtls/repo/include/mbedtls/dhm.h b/third_party/mbedtls/repo.patched/include/mbedtls/dhm.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/dhm.h rename to third_party/mbedtls/repo.patched/include/mbedtls/dhm.h diff --git a/third_party/mbedtls/repo/include/mbedtls/ecdh.h b/third_party/mbedtls/repo.patched/include/mbedtls/ecdh.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/ecdh.h rename to third_party/mbedtls/repo.patched/include/mbedtls/ecdh.h diff --git a/third_party/mbedtls/repo/include/mbedtls/ecdsa.h b/third_party/mbedtls/repo.patched/include/mbedtls/ecdsa.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/ecdsa.h rename to third_party/mbedtls/repo.patched/include/mbedtls/ecdsa.h diff --git a/third_party/mbedtls/repo/include/mbedtls/ecjpake.h b/third_party/mbedtls/repo.patched/include/mbedtls/ecjpake.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/ecjpake.h rename to third_party/mbedtls/repo.patched/include/mbedtls/ecjpake.h diff --git a/third_party/mbedtls/repo/include/mbedtls/ecp.h b/third_party/mbedtls/repo.patched/include/mbedtls/ecp.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/ecp.h rename to third_party/mbedtls/repo.patched/include/mbedtls/ecp.h diff --git a/third_party/mbedtls/repo/include/mbedtls/entropy.h b/third_party/mbedtls/repo.patched/include/mbedtls/entropy.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/entropy.h rename to third_party/mbedtls/repo.patched/include/mbedtls/entropy.h diff --git a/third_party/mbedtls/repo/include/mbedtls/entropy_poll.h b/third_party/mbedtls/repo.patched/include/mbedtls/entropy_poll.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/entropy_poll.h rename to third_party/mbedtls/repo.patched/include/mbedtls/entropy_poll.h diff --git a/third_party/mbedtls/repo/include/mbedtls/error.h b/third_party/mbedtls/repo.patched/include/mbedtls/error.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/error.h rename to third_party/mbedtls/repo.patched/include/mbedtls/error.h diff --git a/third_party/mbedtls/repo/include/mbedtls/gcm.h b/third_party/mbedtls/repo.patched/include/mbedtls/gcm.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/gcm.h rename to third_party/mbedtls/repo.patched/include/mbedtls/gcm.h diff --git a/third_party/mbedtls/repo/include/mbedtls/havege.h b/third_party/mbedtls/repo.patched/include/mbedtls/havege.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/havege.h rename to third_party/mbedtls/repo.patched/include/mbedtls/havege.h diff --git a/third_party/mbedtls/repo/include/mbedtls/hmac_drbg.h b/third_party/mbedtls/repo.patched/include/mbedtls/hmac_drbg.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/hmac_drbg.h rename to third_party/mbedtls/repo.patched/include/mbedtls/hmac_drbg.h diff --git a/third_party/mbedtls/repo/include/mbedtls/md.h b/third_party/mbedtls/repo.patched/include/mbedtls/md.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/md.h rename to third_party/mbedtls/repo.patched/include/mbedtls/md.h diff --git a/third_party/mbedtls/repo/include/mbedtls/md2.h b/third_party/mbedtls/repo.patched/include/mbedtls/md2.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/md2.h rename to third_party/mbedtls/repo.patched/include/mbedtls/md2.h diff --git a/third_party/mbedtls/repo/include/mbedtls/md4.h b/third_party/mbedtls/repo.patched/include/mbedtls/md4.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/md4.h rename to third_party/mbedtls/repo.patched/include/mbedtls/md4.h diff --git a/third_party/mbedtls/repo/include/mbedtls/md5.h b/third_party/mbedtls/repo.patched/include/mbedtls/md5.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/md5.h rename to third_party/mbedtls/repo.patched/include/mbedtls/md5.h diff --git a/third_party/mbedtls/repo/include/mbedtls/md_internal.h b/third_party/mbedtls/repo.patched/include/mbedtls/md_internal.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/md_internal.h rename to third_party/mbedtls/repo.patched/include/mbedtls/md_internal.h diff --git a/third_party/mbedtls/repo/include/mbedtls/memory_buffer_alloc.h b/third_party/mbedtls/repo.patched/include/mbedtls/memory_buffer_alloc.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/memory_buffer_alloc.h rename to third_party/mbedtls/repo.patched/include/mbedtls/memory_buffer_alloc.h diff --git a/third_party/mbedtls/repo/include/mbedtls/net.h b/third_party/mbedtls/repo.patched/include/mbedtls/net.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/net.h rename to third_party/mbedtls/repo.patched/include/mbedtls/net.h diff --git a/third_party/mbedtls/repo/include/mbedtls/net_sockets.h b/third_party/mbedtls/repo.patched/include/mbedtls/net_sockets.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/net_sockets.h rename to third_party/mbedtls/repo.patched/include/mbedtls/net_sockets.h diff --git a/third_party/mbedtls/repo/include/mbedtls/oid.h b/third_party/mbedtls/repo.patched/include/mbedtls/oid.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/oid.h rename to third_party/mbedtls/repo.patched/include/mbedtls/oid.h diff --git a/third_party/mbedtls/repo/include/mbedtls/padlock.h b/third_party/mbedtls/repo.patched/include/mbedtls/padlock.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/padlock.h rename to third_party/mbedtls/repo.patched/include/mbedtls/padlock.h diff --git a/third_party/mbedtls/repo/include/mbedtls/pem.h b/third_party/mbedtls/repo.patched/include/mbedtls/pem.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/pem.h rename to third_party/mbedtls/repo.patched/include/mbedtls/pem.h diff --git a/third_party/mbedtls/repo/include/mbedtls/pk.h b/third_party/mbedtls/repo.patched/include/mbedtls/pk.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/pk.h rename to third_party/mbedtls/repo.patched/include/mbedtls/pk.h diff --git a/third_party/mbedtls/repo/include/mbedtls/pk_internal.h b/third_party/mbedtls/repo.patched/include/mbedtls/pk_internal.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/pk_internal.h rename to third_party/mbedtls/repo.patched/include/mbedtls/pk_internal.h diff --git a/third_party/mbedtls/repo/include/mbedtls/pkcs11.h b/third_party/mbedtls/repo.patched/include/mbedtls/pkcs11.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/pkcs11.h rename to third_party/mbedtls/repo.patched/include/mbedtls/pkcs11.h diff --git a/third_party/mbedtls/repo/include/mbedtls/pkcs12.h b/third_party/mbedtls/repo.patched/include/mbedtls/pkcs12.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/pkcs12.h rename to third_party/mbedtls/repo.patched/include/mbedtls/pkcs12.h diff --git a/third_party/mbedtls/repo/include/mbedtls/pkcs5.h b/third_party/mbedtls/repo.patched/include/mbedtls/pkcs5.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/pkcs5.h rename to third_party/mbedtls/repo.patched/include/mbedtls/pkcs5.h diff --git a/third_party/mbedtls/repo/include/mbedtls/platform.h b/third_party/mbedtls/repo.patched/include/mbedtls/platform.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/platform.h rename to third_party/mbedtls/repo.patched/include/mbedtls/platform.h diff --git a/third_party/mbedtls/repo/include/mbedtls/platform_time.h b/third_party/mbedtls/repo.patched/include/mbedtls/platform_time.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/platform_time.h rename to third_party/mbedtls/repo.patched/include/mbedtls/platform_time.h diff --git a/third_party/mbedtls/repo/include/mbedtls/ripemd160.h b/third_party/mbedtls/repo.patched/include/mbedtls/ripemd160.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/ripemd160.h rename to third_party/mbedtls/repo.patched/include/mbedtls/ripemd160.h diff --git a/third_party/mbedtls/repo/include/mbedtls/rsa.h b/third_party/mbedtls/repo.patched/include/mbedtls/rsa.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/rsa.h rename to third_party/mbedtls/repo.patched/include/mbedtls/rsa.h diff --git a/third_party/mbedtls/repo/include/mbedtls/sha1.h b/third_party/mbedtls/repo.patched/include/mbedtls/sha1.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/sha1.h rename to third_party/mbedtls/repo.patched/include/mbedtls/sha1.h diff --git a/third_party/mbedtls/repo/include/mbedtls/sha256.h b/third_party/mbedtls/repo.patched/include/mbedtls/sha256.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/sha256.h rename to third_party/mbedtls/repo.patched/include/mbedtls/sha256.h diff --git a/third_party/mbedtls/repo/include/mbedtls/sha512.h b/third_party/mbedtls/repo.patched/include/mbedtls/sha512.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/sha512.h rename to third_party/mbedtls/repo.patched/include/mbedtls/sha512.h diff --git a/third_party/mbedtls/repo/include/mbedtls/ssl.h b/third_party/mbedtls/repo.patched/include/mbedtls/ssl.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/ssl.h rename to third_party/mbedtls/repo.patched/include/mbedtls/ssl.h diff --git a/third_party/mbedtls/repo/include/mbedtls/ssl_cache.h b/third_party/mbedtls/repo.patched/include/mbedtls/ssl_cache.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/ssl_cache.h rename to third_party/mbedtls/repo.patched/include/mbedtls/ssl_cache.h diff --git a/third_party/mbedtls/repo/include/mbedtls/ssl_ciphersuites.h b/third_party/mbedtls/repo.patched/include/mbedtls/ssl_ciphersuites.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/ssl_ciphersuites.h rename to third_party/mbedtls/repo.patched/include/mbedtls/ssl_ciphersuites.h diff --git a/third_party/mbedtls/repo/include/mbedtls/ssl_cookie.h b/third_party/mbedtls/repo.patched/include/mbedtls/ssl_cookie.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/ssl_cookie.h rename to third_party/mbedtls/repo.patched/include/mbedtls/ssl_cookie.h diff --git a/third_party/mbedtls/repo/include/mbedtls/ssl_internal.h b/third_party/mbedtls/repo.patched/include/mbedtls/ssl_internal.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/ssl_internal.h rename to third_party/mbedtls/repo.patched/include/mbedtls/ssl_internal.h diff --git a/third_party/mbedtls/repo/include/mbedtls/ssl_ticket.h b/third_party/mbedtls/repo.patched/include/mbedtls/ssl_ticket.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/ssl_ticket.h rename to third_party/mbedtls/repo.patched/include/mbedtls/ssl_ticket.h diff --git a/third_party/mbedtls/repo/include/mbedtls/threading.h b/third_party/mbedtls/repo.patched/include/mbedtls/threading.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/threading.h rename to third_party/mbedtls/repo.patched/include/mbedtls/threading.h diff --git a/third_party/mbedtls/repo/include/mbedtls/timing.h b/third_party/mbedtls/repo.patched/include/mbedtls/timing.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/timing.h rename to third_party/mbedtls/repo.patched/include/mbedtls/timing.h diff --git a/third_party/mbedtls/repo/include/mbedtls/version.h b/third_party/mbedtls/repo.patched/include/mbedtls/version.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/version.h rename to third_party/mbedtls/repo.patched/include/mbedtls/version.h diff --git a/third_party/mbedtls/repo/include/mbedtls/x509.h b/third_party/mbedtls/repo.patched/include/mbedtls/x509.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/x509.h rename to third_party/mbedtls/repo.patched/include/mbedtls/x509.h diff --git a/third_party/mbedtls/repo/include/mbedtls/x509_crl.h b/third_party/mbedtls/repo.patched/include/mbedtls/x509_crl.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/x509_crl.h rename to third_party/mbedtls/repo.patched/include/mbedtls/x509_crl.h diff --git a/third_party/mbedtls/repo/include/mbedtls/x509_crt.h b/third_party/mbedtls/repo.patched/include/mbedtls/x509_crt.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/x509_crt.h rename to third_party/mbedtls/repo.patched/include/mbedtls/x509_crt.h diff --git a/third_party/mbedtls/repo/include/mbedtls/x509_csr.h b/third_party/mbedtls/repo.patched/include/mbedtls/x509_csr.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/x509_csr.h rename to third_party/mbedtls/repo.patched/include/mbedtls/x509_csr.h diff --git a/third_party/mbedtls/repo/include/mbedtls/xtea.h b/third_party/mbedtls/repo.patched/include/mbedtls/xtea.h similarity index 100% rename from third_party/mbedtls/repo/include/mbedtls/xtea.h rename to third_party/mbedtls/repo.patched/include/mbedtls/xtea.h diff --git a/third_party/mbedtls/repo/library/.gitignore b/third_party/mbedtls/repo.patched/library/.gitignore similarity index 100% rename from third_party/mbedtls/repo/library/.gitignore rename to third_party/mbedtls/repo.patched/library/.gitignore diff --git a/third_party/mbedtls/repo/library/CMakeLists.txt b/third_party/mbedtls/repo.patched/library/CMakeLists.txt similarity index 100% rename from third_party/mbedtls/repo/library/CMakeLists.txt rename to third_party/mbedtls/repo.patched/library/CMakeLists.txt diff --git a/third_party/mbedtls/repo/library/aes.c b/third_party/mbedtls/repo.patched/library/aes.c similarity index 100% rename from third_party/mbedtls/repo/library/aes.c rename to third_party/mbedtls/repo.patched/library/aes.c diff --git a/third_party/mbedtls/repo/library/aesni.c b/third_party/mbedtls/repo.patched/library/aesni.c similarity index 100% rename from third_party/mbedtls/repo/library/aesni.c rename to third_party/mbedtls/repo.patched/library/aesni.c diff --git a/third_party/mbedtls/repo/library/arc4.c b/third_party/mbedtls/repo.patched/library/arc4.c similarity index 100% rename from third_party/mbedtls/repo/library/arc4.c rename to third_party/mbedtls/repo.patched/library/arc4.c diff --git a/third_party/mbedtls/repo/library/asn1parse.c b/third_party/mbedtls/repo.patched/library/asn1parse.c similarity index 100% rename from third_party/mbedtls/repo/library/asn1parse.c rename to third_party/mbedtls/repo.patched/library/asn1parse.c diff --git a/third_party/mbedtls/repo/library/asn1write.c b/third_party/mbedtls/repo.patched/library/asn1write.c similarity index 100% rename from third_party/mbedtls/repo/library/asn1write.c rename to third_party/mbedtls/repo.patched/library/asn1write.c diff --git a/third_party/mbedtls/repo/library/base64.c b/third_party/mbedtls/repo.patched/library/base64.c similarity index 100% rename from third_party/mbedtls/repo/library/base64.c rename to third_party/mbedtls/repo.patched/library/base64.c diff --git a/third_party/mbedtls/repo/library/bignum.c b/third_party/mbedtls/repo.patched/library/bignum.c similarity index 100% rename from third_party/mbedtls/repo/library/bignum.c rename to third_party/mbedtls/repo.patched/library/bignum.c diff --git a/third_party/mbedtls/repo/library/blowfish.c b/third_party/mbedtls/repo.patched/library/blowfish.c similarity index 100% rename from third_party/mbedtls/repo/library/blowfish.c rename to third_party/mbedtls/repo.patched/library/blowfish.c diff --git a/third_party/mbedtls/repo/library/camellia.c b/third_party/mbedtls/repo.patched/library/camellia.c similarity index 100% rename from third_party/mbedtls/repo/library/camellia.c rename to third_party/mbedtls/repo.patched/library/camellia.c diff --git a/third_party/mbedtls/repo/library/ccm.c b/third_party/mbedtls/repo.patched/library/ccm.c similarity index 100% rename from third_party/mbedtls/repo/library/ccm.c rename to third_party/mbedtls/repo.patched/library/ccm.c diff --git a/third_party/mbedtls/repo/library/certs.c b/third_party/mbedtls/repo.patched/library/certs.c similarity index 100% rename from third_party/mbedtls/repo/library/certs.c rename to third_party/mbedtls/repo.patched/library/certs.c diff --git a/third_party/mbedtls/repo/library/cipher.c b/third_party/mbedtls/repo.patched/library/cipher.c similarity index 100% rename from third_party/mbedtls/repo/library/cipher.c rename to third_party/mbedtls/repo.patched/library/cipher.c diff --git a/third_party/mbedtls/repo/library/cipher_wrap.c b/third_party/mbedtls/repo.patched/library/cipher_wrap.c similarity index 100% rename from third_party/mbedtls/repo/library/cipher_wrap.c rename to third_party/mbedtls/repo.patched/library/cipher_wrap.c diff --git a/third_party/mbedtls/repo/library/cmac.c b/third_party/mbedtls/repo.patched/library/cmac.c similarity index 100% rename from third_party/mbedtls/repo/library/cmac.c rename to third_party/mbedtls/repo.patched/library/cmac.c diff --git a/third_party/mbedtls/repo/library/ctr_drbg.c b/third_party/mbedtls/repo.patched/library/ctr_drbg.c similarity index 100% rename from third_party/mbedtls/repo/library/ctr_drbg.c rename to third_party/mbedtls/repo.patched/library/ctr_drbg.c diff --git a/third_party/mbedtls/repo/library/debug.c b/third_party/mbedtls/repo.patched/library/debug.c similarity index 100% rename from third_party/mbedtls/repo/library/debug.c rename to third_party/mbedtls/repo.patched/library/debug.c diff --git a/third_party/mbedtls/repo/library/des.c b/third_party/mbedtls/repo.patched/library/des.c similarity index 100% rename from third_party/mbedtls/repo/library/des.c rename to third_party/mbedtls/repo.patched/library/des.c diff --git a/third_party/mbedtls/repo/library/dhm.c b/third_party/mbedtls/repo.patched/library/dhm.c similarity index 100% rename from third_party/mbedtls/repo/library/dhm.c rename to third_party/mbedtls/repo.patched/library/dhm.c diff --git a/third_party/mbedtls/repo/library/ecdh.c b/third_party/mbedtls/repo.patched/library/ecdh.c similarity index 100% rename from third_party/mbedtls/repo/library/ecdh.c rename to third_party/mbedtls/repo.patched/library/ecdh.c diff --git a/third_party/mbedtls/repo/library/ecdsa.c b/third_party/mbedtls/repo.patched/library/ecdsa.c similarity index 100% rename from third_party/mbedtls/repo/library/ecdsa.c rename to third_party/mbedtls/repo.patched/library/ecdsa.c diff --git a/third_party/mbedtls/repo/library/ecjpake.c b/third_party/mbedtls/repo.patched/library/ecjpake.c similarity index 100% rename from third_party/mbedtls/repo/library/ecjpake.c rename to third_party/mbedtls/repo.patched/library/ecjpake.c diff --git a/third_party/mbedtls/repo/library/ecp.c b/third_party/mbedtls/repo.patched/library/ecp.c similarity index 100% rename from third_party/mbedtls/repo/library/ecp.c rename to third_party/mbedtls/repo.patched/library/ecp.c diff --git a/third_party/mbedtls/repo/library/ecp_curves.c b/third_party/mbedtls/repo.patched/library/ecp_curves.c similarity index 100% rename from third_party/mbedtls/repo/library/ecp_curves.c rename to third_party/mbedtls/repo.patched/library/ecp_curves.c diff --git a/third_party/mbedtls/repo/library/entropy.c b/third_party/mbedtls/repo.patched/library/entropy.c similarity index 100% rename from third_party/mbedtls/repo/library/entropy.c rename to third_party/mbedtls/repo.patched/library/entropy.c diff --git a/third_party/mbedtls/repo/library/entropy_poll.c b/third_party/mbedtls/repo.patched/library/entropy_poll.c similarity index 100% rename from third_party/mbedtls/repo/library/entropy_poll.c rename to third_party/mbedtls/repo.patched/library/entropy_poll.c diff --git a/third_party/mbedtls/repo/library/error.c b/third_party/mbedtls/repo.patched/library/error.c similarity index 100% rename from third_party/mbedtls/repo/library/error.c rename to third_party/mbedtls/repo.patched/library/error.c diff --git a/third_party/mbedtls/repo/library/gcm.c b/third_party/mbedtls/repo.patched/library/gcm.c similarity index 100% rename from third_party/mbedtls/repo/library/gcm.c rename to third_party/mbedtls/repo.patched/library/gcm.c diff --git a/third_party/mbedtls/repo/library/havege.c b/third_party/mbedtls/repo.patched/library/havege.c similarity index 100% rename from third_party/mbedtls/repo/library/havege.c rename to third_party/mbedtls/repo.patched/library/havege.c diff --git a/third_party/mbedtls/repo/library/hmac_drbg.c b/third_party/mbedtls/repo.patched/library/hmac_drbg.c similarity index 100% rename from third_party/mbedtls/repo/library/hmac_drbg.c rename to third_party/mbedtls/repo.patched/library/hmac_drbg.c diff --git a/third_party/mbedtls/repo/library/md.c b/third_party/mbedtls/repo.patched/library/md.c similarity index 100% rename from third_party/mbedtls/repo/library/md.c rename to third_party/mbedtls/repo.patched/library/md.c diff --git a/third_party/mbedtls/repo/library/md2.c b/third_party/mbedtls/repo.patched/library/md2.c similarity index 100% rename from third_party/mbedtls/repo/library/md2.c rename to third_party/mbedtls/repo.patched/library/md2.c diff --git a/third_party/mbedtls/repo/library/md4.c b/third_party/mbedtls/repo.patched/library/md4.c similarity index 100% rename from third_party/mbedtls/repo/library/md4.c rename to third_party/mbedtls/repo.patched/library/md4.c diff --git a/third_party/mbedtls/repo/library/md5.c b/third_party/mbedtls/repo.patched/library/md5.c similarity index 100% rename from third_party/mbedtls/repo/library/md5.c rename to third_party/mbedtls/repo.patched/library/md5.c diff --git a/third_party/mbedtls/repo/library/md_wrap.c b/third_party/mbedtls/repo.patched/library/md_wrap.c similarity index 100% rename from third_party/mbedtls/repo/library/md_wrap.c rename to third_party/mbedtls/repo.patched/library/md_wrap.c diff --git a/third_party/mbedtls/repo/library/memory_buffer_alloc.c b/third_party/mbedtls/repo.patched/library/memory_buffer_alloc.c similarity index 100% rename from third_party/mbedtls/repo/library/memory_buffer_alloc.c rename to third_party/mbedtls/repo.patched/library/memory_buffer_alloc.c diff --git a/third_party/mbedtls/repo/library/net_sockets.c b/third_party/mbedtls/repo.patched/library/net_sockets.c similarity index 100% rename from third_party/mbedtls/repo/library/net_sockets.c rename to third_party/mbedtls/repo.patched/library/net_sockets.c diff --git a/third_party/mbedtls/repo/library/oid.c b/third_party/mbedtls/repo.patched/library/oid.c similarity index 100% rename from third_party/mbedtls/repo/library/oid.c rename to third_party/mbedtls/repo.patched/library/oid.c diff --git a/third_party/mbedtls/repo/library/padlock.c b/third_party/mbedtls/repo.patched/library/padlock.c similarity index 100% rename from third_party/mbedtls/repo/library/padlock.c rename to third_party/mbedtls/repo.patched/library/padlock.c diff --git a/third_party/mbedtls/repo/library/pem.c b/third_party/mbedtls/repo.patched/library/pem.c similarity index 100% rename from third_party/mbedtls/repo/library/pem.c rename to third_party/mbedtls/repo.patched/library/pem.c diff --git a/third_party/mbedtls/repo/library/pk.c b/third_party/mbedtls/repo.patched/library/pk.c similarity index 100% rename from third_party/mbedtls/repo/library/pk.c rename to third_party/mbedtls/repo.patched/library/pk.c diff --git a/third_party/mbedtls/repo/library/pk_wrap.c b/third_party/mbedtls/repo.patched/library/pk_wrap.c similarity index 100% rename from third_party/mbedtls/repo/library/pk_wrap.c rename to third_party/mbedtls/repo.patched/library/pk_wrap.c diff --git a/third_party/mbedtls/repo/library/pkcs11.c b/third_party/mbedtls/repo.patched/library/pkcs11.c similarity index 100% rename from third_party/mbedtls/repo/library/pkcs11.c rename to third_party/mbedtls/repo.patched/library/pkcs11.c diff --git a/third_party/mbedtls/repo/library/pkcs12.c b/third_party/mbedtls/repo.patched/library/pkcs12.c similarity index 100% rename from third_party/mbedtls/repo/library/pkcs12.c rename to third_party/mbedtls/repo.patched/library/pkcs12.c diff --git a/third_party/mbedtls/repo/library/pkcs5.c b/third_party/mbedtls/repo.patched/library/pkcs5.c similarity index 100% rename from third_party/mbedtls/repo/library/pkcs5.c rename to third_party/mbedtls/repo.patched/library/pkcs5.c diff --git a/third_party/mbedtls/repo/library/pkparse.c b/third_party/mbedtls/repo.patched/library/pkparse.c similarity index 100% rename from third_party/mbedtls/repo/library/pkparse.c rename to third_party/mbedtls/repo.patched/library/pkparse.c diff --git a/third_party/mbedtls/repo/library/pkwrite.c b/third_party/mbedtls/repo.patched/library/pkwrite.c similarity index 100% rename from third_party/mbedtls/repo/library/pkwrite.c rename to third_party/mbedtls/repo.patched/library/pkwrite.c diff --git a/third_party/mbedtls/repo/library/platform.c b/third_party/mbedtls/repo.patched/library/platform.c similarity index 100% rename from third_party/mbedtls/repo/library/platform.c rename to third_party/mbedtls/repo.patched/library/platform.c diff --git a/third_party/mbedtls/repo/library/ripemd160.c b/third_party/mbedtls/repo.patched/library/ripemd160.c similarity index 100% rename from third_party/mbedtls/repo/library/ripemd160.c rename to third_party/mbedtls/repo.patched/library/ripemd160.c diff --git a/third_party/mbedtls/repo/library/rsa.c b/third_party/mbedtls/repo.patched/library/rsa.c similarity index 100% rename from third_party/mbedtls/repo/library/rsa.c rename to third_party/mbedtls/repo.patched/library/rsa.c diff --git a/third_party/mbedtls/repo/library/sha1.c b/third_party/mbedtls/repo.patched/library/sha1.c similarity index 100% rename from third_party/mbedtls/repo/library/sha1.c rename to third_party/mbedtls/repo.patched/library/sha1.c diff --git a/third_party/mbedtls/repo/library/sha256.c b/third_party/mbedtls/repo.patched/library/sha256.c similarity index 100% rename from third_party/mbedtls/repo/library/sha256.c rename to third_party/mbedtls/repo.patched/library/sha256.c diff --git a/third_party/mbedtls/repo/library/sha512.c b/third_party/mbedtls/repo.patched/library/sha512.c similarity index 100% rename from third_party/mbedtls/repo/library/sha512.c rename to third_party/mbedtls/repo.patched/library/sha512.c diff --git a/third_party/mbedtls/repo/library/ssl_cache.c b/third_party/mbedtls/repo.patched/library/ssl_cache.c similarity index 100% rename from third_party/mbedtls/repo/library/ssl_cache.c rename to third_party/mbedtls/repo.patched/library/ssl_cache.c diff --git a/third_party/mbedtls/repo/library/ssl_ciphersuites.c b/third_party/mbedtls/repo.patched/library/ssl_ciphersuites.c similarity index 100% rename from third_party/mbedtls/repo/library/ssl_ciphersuites.c rename to third_party/mbedtls/repo.patched/library/ssl_ciphersuites.c diff --git a/third_party/mbedtls/repo/library/ssl_cli.c b/third_party/mbedtls/repo.patched/library/ssl_cli.c similarity index 100% rename from third_party/mbedtls/repo/library/ssl_cli.c rename to third_party/mbedtls/repo.patched/library/ssl_cli.c diff --git a/third_party/mbedtls/repo/library/ssl_cookie.c b/third_party/mbedtls/repo.patched/library/ssl_cookie.c similarity index 100% rename from third_party/mbedtls/repo/library/ssl_cookie.c rename to third_party/mbedtls/repo.patched/library/ssl_cookie.c diff --git a/third_party/mbedtls/repo/library/ssl_srv.c b/third_party/mbedtls/repo.patched/library/ssl_srv.c similarity index 99% rename from third_party/mbedtls/repo/library/ssl_srv.c rename to third_party/mbedtls/repo.patched/library/ssl_srv.c index fc0d2d7b4..fad54dd89 100644 --- a/third_party/mbedtls/repo/library/ssl_srv.c +++ b/third_party/mbedtls/repo.patched/library/ssl_srv.c @@ -3017,6 +3017,9 @@ curve_matching_done: MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED || MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED */ + // mask dead store of p + (void)p; + ssl->out_msglen = 4 + n; ssl->out_msgtype = MBEDTLS_SSL_MSG_HANDSHAKE; ssl->out_msg[0] = MBEDTLS_SSL_HS_SERVER_KEY_EXCHANGE; diff --git a/third_party/mbedtls/repo/library/ssl_ticket.c b/third_party/mbedtls/repo.patched/library/ssl_ticket.c similarity index 100% rename from third_party/mbedtls/repo/library/ssl_ticket.c rename to third_party/mbedtls/repo.patched/library/ssl_ticket.c diff --git a/third_party/mbedtls/repo/library/ssl_tls.c b/third_party/mbedtls/repo.patched/library/ssl_tls.c similarity index 99% rename from third_party/mbedtls/repo/library/ssl_tls.c rename to third_party/mbedtls/repo.patched/library/ssl_tls.c index 84a04ae53..2153c80ab 100644 --- a/third_party/mbedtls/repo/library/ssl_tls.c +++ b/third_party/mbedtls/repo.patched/library/ssl_tls.c @@ -3608,6 +3608,24 @@ static int ssl_parse_record_header( mbedtls_ssl_context *ssl ) "expected %d, received %d", ssl->in_epoch, rec_epoch ) ); +#if defined(MBEDTLS_SSL_SRV_C) + /* + * Check for an epoch 0 Change Cipher Spec retransmission. + */ + if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && + ssl->state == MBEDTLS_SSL_HANDSHAKE_OVER && + rec_epoch == 0 && + ssl->in_epoch == 1 && + ssl->in_msgtype == MBEDTLS_SSL_MSG_HANDSHAKE && + ssl->in_left > 13 && + ssl->in_buf[13] == MBEDTLS_SSL_HS_CLIENT_KEY_EXCHANGE ) + { + MBEDTLS_SSL_DEBUG_MSG( 1, ( "possible Client Key Exchange " + "retransmission" ) ); + return( mbedtls_ssl_resend( ssl ) ); + } +#endif + #if defined(MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE) && defined(MBEDTLS_SSL_SRV_C) /* * Check for an epoch 0 ClientHello. We can't use in_msg here to @@ -3737,7 +3755,8 @@ int mbedtls_ssl_read_record( mbedtls_ssl_context *ssl ) ret = mbedtls_ssl_handle_message_type( ssl ); - } while( MBEDTLS_ERR_SSL_NON_FATAL == ret ); + } while( MBEDTLS_ERR_SSL_NON_FATAL == ret || + ( MBEDTLS_ERR_SSL_WANT_READ == ret && ssl->in_msglen ) ); if( 0 != ret ) { diff --git a/third_party/mbedtls/repo/library/threading.c b/third_party/mbedtls/repo.patched/library/threading.c similarity index 100% rename from third_party/mbedtls/repo/library/threading.c rename to third_party/mbedtls/repo.patched/library/threading.c diff --git a/third_party/mbedtls/repo/library/timing.c b/third_party/mbedtls/repo.patched/library/timing.c similarity index 100% rename from third_party/mbedtls/repo/library/timing.c rename to third_party/mbedtls/repo.patched/library/timing.c diff --git a/third_party/mbedtls/repo/library/version.c b/third_party/mbedtls/repo.patched/library/version.c similarity index 100% rename from third_party/mbedtls/repo/library/version.c rename to third_party/mbedtls/repo.patched/library/version.c diff --git a/third_party/mbedtls/repo/library/version_features.c b/third_party/mbedtls/repo.patched/library/version_features.c similarity index 100% rename from third_party/mbedtls/repo/library/version_features.c rename to third_party/mbedtls/repo.patched/library/version_features.c diff --git a/third_party/mbedtls/repo/library/x509.c b/third_party/mbedtls/repo.patched/library/x509.c similarity index 100% rename from third_party/mbedtls/repo/library/x509.c rename to third_party/mbedtls/repo.patched/library/x509.c diff --git a/third_party/mbedtls/repo/library/x509_create.c b/third_party/mbedtls/repo.patched/library/x509_create.c similarity index 100% rename from third_party/mbedtls/repo/library/x509_create.c rename to third_party/mbedtls/repo.patched/library/x509_create.c diff --git a/third_party/mbedtls/repo/library/x509_crl.c b/third_party/mbedtls/repo.patched/library/x509_crl.c similarity index 100% rename from third_party/mbedtls/repo/library/x509_crl.c rename to third_party/mbedtls/repo.patched/library/x509_crl.c diff --git a/third_party/mbedtls/repo/library/x509_crt.c b/third_party/mbedtls/repo.patched/library/x509_crt.c similarity index 100% rename from third_party/mbedtls/repo/library/x509_crt.c rename to third_party/mbedtls/repo.patched/library/x509_crt.c diff --git a/third_party/mbedtls/repo/library/x509_csr.c b/third_party/mbedtls/repo.patched/library/x509_csr.c similarity index 100% rename from third_party/mbedtls/repo/library/x509_csr.c rename to third_party/mbedtls/repo.patched/library/x509_csr.c diff --git a/third_party/mbedtls/repo/library/x509write_crt.c b/third_party/mbedtls/repo.patched/library/x509write_crt.c similarity index 100% rename from third_party/mbedtls/repo/library/x509write_crt.c rename to third_party/mbedtls/repo.patched/library/x509write_crt.c diff --git a/third_party/mbedtls/repo/library/x509write_csr.c b/third_party/mbedtls/repo.patched/library/x509write_csr.c similarity index 100% rename from third_party/mbedtls/repo/library/x509write_csr.c rename to third_party/mbedtls/repo.patched/library/x509write_csr.c diff --git a/third_party/mbedtls/repo/library/xtea.c b/third_party/mbedtls/repo.patched/library/xtea.c similarity index 100% rename from third_party/mbedtls/repo/library/xtea.c rename to third_party/mbedtls/repo.patched/library/xtea.c diff --git a/third_party/mbedtls/repo/programs/.gitignore b/third_party/mbedtls/repo.patched/programs/.gitignore similarity index 100% rename from third_party/mbedtls/repo/programs/.gitignore rename to third_party/mbedtls/repo.patched/programs/.gitignore diff --git a/third_party/mbedtls/repo/programs/CMakeLists.txt b/third_party/mbedtls/repo.patched/programs/CMakeLists.txt similarity index 100% rename from third_party/mbedtls/repo/programs/CMakeLists.txt rename to third_party/mbedtls/repo.patched/programs/CMakeLists.txt diff --git a/third_party/mbedtls/repo/programs/aes/CMakeLists.txt b/third_party/mbedtls/repo.patched/programs/aes/CMakeLists.txt similarity index 100% rename from third_party/mbedtls/repo/programs/aes/CMakeLists.txt rename to third_party/mbedtls/repo.patched/programs/aes/CMakeLists.txt diff --git a/third_party/mbedtls/repo/programs/aes/aescrypt2.c b/third_party/mbedtls/repo.patched/programs/aes/aescrypt2.c similarity index 100% rename from third_party/mbedtls/repo/programs/aes/aescrypt2.c rename to third_party/mbedtls/repo.patched/programs/aes/aescrypt2.c diff --git a/third_party/mbedtls/repo/programs/aes/crypt_and_hash.c b/third_party/mbedtls/repo.patched/programs/aes/crypt_and_hash.c similarity index 100% rename from third_party/mbedtls/repo/programs/aes/crypt_and_hash.c rename to third_party/mbedtls/repo.patched/programs/aes/crypt_and_hash.c diff --git a/third_party/mbedtls/repo/programs/hash/CMakeLists.txt b/third_party/mbedtls/repo.patched/programs/hash/CMakeLists.txt similarity index 100% rename from third_party/mbedtls/repo/programs/hash/CMakeLists.txt rename to third_party/mbedtls/repo.patched/programs/hash/CMakeLists.txt diff --git a/third_party/mbedtls/repo/programs/hash/generic_sum.c b/third_party/mbedtls/repo.patched/programs/hash/generic_sum.c similarity index 100% rename from third_party/mbedtls/repo/programs/hash/generic_sum.c rename to third_party/mbedtls/repo.patched/programs/hash/generic_sum.c diff --git a/third_party/mbedtls/repo/programs/hash/hello.c b/third_party/mbedtls/repo.patched/programs/hash/hello.c similarity index 100% rename from third_party/mbedtls/repo/programs/hash/hello.c rename to third_party/mbedtls/repo.patched/programs/hash/hello.c diff --git a/third_party/mbedtls/repo/programs/pkey/CMakeLists.txt b/third_party/mbedtls/repo.patched/programs/pkey/CMakeLists.txt similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/CMakeLists.txt rename to third_party/mbedtls/repo.patched/programs/pkey/CMakeLists.txt diff --git a/third_party/mbedtls/repo/programs/pkey/dh_client.c b/third_party/mbedtls/repo.patched/programs/pkey/dh_client.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/dh_client.c rename to third_party/mbedtls/repo.patched/programs/pkey/dh_client.c diff --git a/third_party/mbedtls/repo/programs/pkey/dh_genprime.c b/third_party/mbedtls/repo.patched/programs/pkey/dh_genprime.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/dh_genprime.c rename to third_party/mbedtls/repo.patched/programs/pkey/dh_genprime.c diff --git a/third_party/mbedtls/repo/programs/pkey/dh_prime.txt b/third_party/mbedtls/repo.patched/programs/pkey/dh_prime.txt similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/dh_prime.txt rename to third_party/mbedtls/repo.patched/programs/pkey/dh_prime.txt diff --git a/third_party/mbedtls/repo/programs/pkey/dh_server.c b/third_party/mbedtls/repo.patched/programs/pkey/dh_server.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/dh_server.c rename to third_party/mbedtls/repo.patched/programs/pkey/dh_server.c diff --git a/third_party/mbedtls/repo/programs/pkey/ecdh_curve25519.c b/third_party/mbedtls/repo.patched/programs/pkey/ecdh_curve25519.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/ecdh_curve25519.c rename to third_party/mbedtls/repo.patched/programs/pkey/ecdh_curve25519.c diff --git a/third_party/mbedtls/repo/programs/pkey/ecdsa.c b/third_party/mbedtls/repo.patched/programs/pkey/ecdsa.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/ecdsa.c rename to third_party/mbedtls/repo.patched/programs/pkey/ecdsa.c diff --git a/third_party/mbedtls/repo/programs/pkey/gen_key.c b/third_party/mbedtls/repo.patched/programs/pkey/gen_key.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/gen_key.c rename to third_party/mbedtls/repo.patched/programs/pkey/gen_key.c diff --git a/third_party/mbedtls/repo/programs/pkey/key_app.c b/third_party/mbedtls/repo.patched/programs/pkey/key_app.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/key_app.c rename to third_party/mbedtls/repo.patched/programs/pkey/key_app.c diff --git a/third_party/mbedtls/repo/programs/pkey/key_app_writer.c b/third_party/mbedtls/repo.patched/programs/pkey/key_app_writer.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/key_app_writer.c rename to third_party/mbedtls/repo.patched/programs/pkey/key_app_writer.c diff --git a/third_party/mbedtls/repo/programs/pkey/mpi_demo.c b/third_party/mbedtls/repo.patched/programs/pkey/mpi_demo.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/mpi_demo.c rename to third_party/mbedtls/repo.patched/programs/pkey/mpi_demo.c diff --git a/third_party/mbedtls/repo/programs/pkey/pk_decrypt.c b/third_party/mbedtls/repo.patched/programs/pkey/pk_decrypt.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/pk_decrypt.c rename to third_party/mbedtls/repo.patched/programs/pkey/pk_decrypt.c diff --git a/third_party/mbedtls/repo/programs/pkey/pk_encrypt.c b/third_party/mbedtls/repo.patched/programs/pkey/pk_encrypt.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/pk_encrypt.c rename to third_party/mbedtls/repo.patched/programs/pkey/pk_encrypt.c diff --git a/third_party/mbedtls/repo/programs/pkey/pk_sign.c b/third_party/mbedtls/repo.patched/programs/pkey/pk_sign.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/pk_sign.c rename to third_party/mbedtls/repo.patched/programs/pkey/pk_sign.c diff --git a/third_party/mbedtls/repo/programs/pkey/pk_verify.c b/third_party/mbedtls/repo.patched/programs/pkey/pk_verify.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/pk_verify.c rename to third_party/mbedtls/repo.patched/programs/pkey/pk_verify.c diff --git a/third_party/mbedtls/repo/programs/pkey/rsa_decrypt.c b/third_party/mbedtls/repo.patched/programs/pkey/rsa_decrypt.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/rsa_decrypt.c rename to third_party/mbedtls/repo.patched/programs/pkey/rsa_decrypt.c diff --git a/third_party/mbedtls/repo/programs/pkey/rsa_encrypt.c b/third_party/mbedtls/repo.patched/programs/pkey/rsa_encrypt.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/rsa_encrypt.c rename to third_party/mbedtls/repo.patched/programs/pkey/rsa_encrypt.c diff --git a/third_party/mbedtls/repo/programs/pkey/rsa_genkey.c b/third_party/mbedtls/repo.patched/programs/pkey/rsa_genkey.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/rsa_genkey.c rename to third_party/mbedtls/repo.patched/programs/pkey/rsa_genkey.c diff --git a/third_party/mbedtls/repo/programs/pkey/rsa_priv.txt b/third_party/mbedtls/repo.patched/programs/pkey/rsa_priv.txt similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/rsa_priv.txt rename to third_party/mbedtls/repo.patched/programs/pkey/rsa_priv.txt diff --git a/third_party/mbedtls/repo/programs/pkey/rsa_pub.txt b/third_party/mbedtls/repo.patched/programs/pkey/rsa_pub.txt similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/rsa_pub.txt rename to third_party/mbedtls/repo.patched/programs/pkey/rsa_pub.txt diff --git a/third_party/mbedtls/repo/programs/pkey/rsa_sign.c b/third_party/mbedtls/repo.patched/programs/pkey/rsa_sign.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/rsa_sign.c rename to third_party/mbedtls/repo.patched/programs/pkey/rsa_sign.c diff --git a/third_party/mbedtls/repo/programs/pkey/rsa_sign_pss.c b/third_party/mbedtls/repo.patched/programs/pkey/rsa_sign_pss.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/rsa_sign_pss.c rename to third_party/mbedtls/repo.patched/programs/pkey/rsa_sign_pss.c diff --git a/third_party/mbedtls/repo/programs/pkey/rsa_verify.c b/third_party/mbedtls/repo.patched/programs/pkey/rsa_verify.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/rsa_verify.c rename to third_party/mbedtls/repo.patched/programs/pkey/rsa_verify.c diff --git a/third_party/mbedtls/repo/programs/pkey/rsa_verify_pss.c b/third_party/mbedtls/repo.patched/programs/pkey/rsa_verify_pss.c similarity index 100% rename from third_party/mbedtls/repo/programs/pkey/rsa_verify_pss.c rename to third_party/mbedtls/repo.patched/programs/pkey/rsa_verify_pss.c diff --git a/third_party/mbedtls/repo/programs/random/CMakeLists.txt b/third_party/mbedtls/repo.patched/programs/random/CMakeLists.txt similarity index 100% rename from third_party/mbedtls/repo/programs/random/CMakeLists.txt rename to third_party/mbedtls/repo.patched/programs/random/CMakeLists.txt diff --git a/third_party/mbedtls/repo/programs/random/gen_entropy.c b/third_party/mbedtls/repo.patched/programs/random/gen_entropy.c similarity index 100% rename from third_party/mbedtls/repo/programs/random/gen_entropy.c rename to third_party/mbedtls/repo.patched/programs/random/gen_entropy.c diff --git a/third_party/mbedtls/repo/programs/random/gen_random_ctr_drbg.c b/third_party/mbedtls/repo.patched/programs/random/gen_random_ctr_drbg.c similarity index 100% rename from third_party/mbedtls/repo/programs/random/gen_random_ctr_drbg.c rename to third_party/mbedtls/repo.patched/programs/random/gen_random_ctr_drbg.c diff --git a/third_party/mbedtls/repo/programs/random/gen_random_havege.c b/third_party/mbedtls/repo.patched/programs/random/gen_random_havege.c similarity index 100% rename from third_party/mbedtls/repo/programs/random/gen_random_havege.c rename to third_party/mbedtls/repo.patched/programs/random/gen_random_havege.c diff --git a/third_party/mbedtls/repo/programs/ssl/CMakeLists.txt b/third_party/mbedtls/repo.patched/programs/ssl/CMakeLists.txt similarity index 100% rename from third_party/mbedtls/repo/programs/ssl/CMakeLists.txt rename to third_party/mbedtls/repo.patched/programs/ssl/CMakeLists.txt diff --git a/third_party/mbedtls/repo/programs/ssl/dtls_client.c b/third_party/mbedtls/repo.patched/programs/ssl/dtls_client.c similarity index 100% rename from third_party/mbedtls/repo/programs/ssl/dtls_client.c rename to third_party/mbedtls/repo.patched/programs/ssl/dtls_client.c diff --git a/third_party/mbedtls/repo/programs/ssl/dtls_server.c b/third_party/mbedtls/repo.patched/programs/ssl/dtls_server.c similarity index 100% rename from third_party/mbedtls/repo/programs/ssl/dtls_server.c rename to third_party/mbedtls/repo.patched/programs/ssl/dtls_server.c diff --git a/third_party/mbedtls/repo/programs/ssl/mini_client.c b/third_party/mbedtls/repo.patched/programs/ssl/mini_client.c similarity index 100% rename from third_party/mbedtls/repo/programs/ssl/mini_client.c rename to third_party/mbedtls/repo.patched/programs/ssl/mini_client.c diff --git a/third_party/mbedtls/repo/programs/ssl/ssl_client1.c b/third_party/mbedtls/repo.patched/programs/ssl/ssl_client1.c similarity index 100% rename from third_party/mbedtls/repo/programs/ssl/ssl_client1.c rename to third_party/mbedtls/repo.patched/programs/ssl/ssl_client1.c diff --git a/third_party/mbedtls/repo/programs/ssl/ssl_client2.c b/third_party/mbedtls/repo.patched/programs/ssl/ssl_client2.c similarity index 100% rename from third_party/mbedtls/repo/programs/ssl/ssl_client2.c rename to third_party/mbedtls/repo.patched/programs/ssl/ssl_client2.c diff --git a/third_party/mbedtls/repo/programs/ssl/ssl_fork_server.c b/third_party/mbedtls/repo.patched/programs/ssl/ssl_fork_server.c similarity index 100% rename from third_party/mbedtls/repo/programs/ssl/ssl_fork_server.c rename to third_party/mbedtls/repo.patched/programs/ssl/ssl_fork_server.c diff --git a/third_party/mbedtls/repo/programs/ssl/ssl_mail_client.c b/third_party/mbedtls/repo.patched/programs/ssl/ssl_mail_client.c similarity index 100% rename from third_party/mbedtls/repo/programs/ssl/ssl_mail_client.c rename to third_party/mbedtls/repo.patched/programs/ssl/ssl_mail_client.c diff --git a/third_party/mbedtls/repo/programs/ssl/ssl_pthread_server.c b/third_party/mbedtls/repo.patched/programs/ssl/ssl_pthread_server.c similarity index 100% rename from third_party/mbedtls/repo/programs/ssl/ssl_pthread_server.c rename to third_party/mbedtls/repo.patched/programs/ssl/ssl_pthread_server.c diff --git a/third_party/mbedtls/repo/programs/ssl/ssl_server.c b/third_party/mbedtls/repo.patched/programs/ssl/ssl_server.c similarity index 100% rename from third_party/mbedtls/repo/programs/ssl/ssl_server.c rename to third_party/mbedtls/repo.patched/programs/ssl/ssl_server.c diff --git a/third_party/mbedtls/repo/programs/ssl/ssl_server2.c b/third_party/mbedtls/repo.patched/programs/ssl/ssl_server2.c similarity index 100% rename from third_party/mbedtls/repo/programs/ssl/ssl_server2.c rename to third_party/mbedtls/repo.patched/programs/ssl/ssl_server2.c diff --git a/third_party/mbedtls/repo/programs/test/CMakeLists.txt b/third_party/mbedtls/repo.patched/programs/test/CMakeLists.txt similarity index 100% rename from third_party/mbedtls/repo/programs/test/CMakeLists.txt rename to third_party/mbedtls/repo.patched/programs/test/CMakeLists.txt diff --git a/third_party/mbedtls/repo/programs/test/benchmark.c b/third_party/mbedtls/repo.patched/programs/test/benchmark.c similarity index 100% rename from third_party/mbedtls/repo/programs/test/benchmark.c rename to third_party/mbedtls/repo.patched/programs/test/benchmark.c diff --git a/third_party/mbedtls/repo/programs/test/selftest.c b/third_party/mbedtls/repo.patched/programs/test/selftest.c similarity index 100% rename from third_party/mbedtls/repo/programs/test/selftest.c rename to third_party/mbedtls/repo.patched/programs/test/selftest.c diff --git a/third_party/mbedtls/repo/programs/test/ssl_cert_test.c b/third_party/mbedtls/repo.patched/programs/test/ssl_cert_test.c similarity index 100% rename from third_party/mbedtls/repo/programs/test/ssl_cert_test.c rename to third_party/mbedtls/repo.patched/programs/test/ssl_cert_test.c diff --git a/third_party/mbedtls/repo/programs/test/udp_proxy.c b/third_party/mbedtls/repo.patched/programs/test/udp_proxy.c similarity index 100% rename from third_party/mbedtls/repo/programs/test/udp_proxy.c rename to third_party/mbedtls/repo.patched/programs/test/udp_proxy.c diff --git a/third_party/mbedtls/repo/programs/util/CMakeLists.txt b/third_party/mbedtls/repo.patched/programs/util/CMakeLists.txt similarity index 100% rename from third_party/mbedtls/repo/programs/util/CMakeLists.txt rename to third_party/mbedtls/repo.patched/programs/util/CMakeLists.txt diff --git a/third_party/mbedtls/repo/programs/util/pem2der.c b/third_party/mbedtls/repo.patched/programs/util/pem2der.c similarity index 100% rename from third_party/mbedtls/repo/programs/util/pem2der.c rename to third_party/mbedtls/repo.patched/programs/util/pem2der.c diff --git a/third_party/mbedtls/repo/programs/util/strerror.c b/third_party/mbedtls/repo.patched/programs/util/strerror.c similarity index 100% rename from third_party/mbedtls/repo/programs/util/strerror.c rename to third_party/mbedtls/repo.patched/programs/util/strerror.c diff --git a/third_party/mbedtls/repo/programs/wince_main.c b/third_party/mbedtls/repo.patched/programs/wince_main.c similarity index 100% rename from third_party/mbedtls/repo/programs/wince_main.c rename to third_party/mbedtls/repo.patched/programs/wince_main.c diff --git a/third_party/mbedtls/repo/programs/x509/CMakeLists.txt b/third_party/mbedtls/repo.patched/programs/x509/CMakeLists.txt similarity index 100% rename from third_party/mbedtls/repo/programs/x509/CMakeLists.txt rename to third_party/mbedtls/repo.patched/programs/x509/CMakeLists.txt diff --git a/third_party/mbedtls/repo/programs/x509/cert_app.c b/third_party/mbedtls/repo.patched/programs/x509/cert_app.c similarity index 100% rename from third_party/mbedtls/repo/programs/x509/cert_app.c rename to third_party/mbedtls/repo.patched/programs/x509/cert_app.c diff --git a/third_party/mbedtls/repo/programs/x509/cert_req.c b/third_party/mbedtls/repo.patched/programs/x509/cert_req.c similarity index 100% rename from third_party/mbedtls/repo/programs/x509/cert_req.c rename to third_party/mbedtls/repo.patched/programs/x509/cert_req.c diff --git a/third_party/mbedtls/repo/programs/x509/cert_write.c b/third_party/mbedtls/repo.patched/programs/x509/cert_write.c similarity index 100% rename from third_party/mbedtls/repo/programs/x509/cert_write.c rename to third_party/mbedtls/repo.patched/programs/x509/cert_write.c diff --git a/third_party/mbedtls/repo/programs/x509/crl_app.c b/third_party/mbedtls/repo.patched/programs/x509/crl_app.c similarity index 100% rename from third_party/mbedtls/repo/programs/x509/crl_app.c rename to third_party/mbedtls/repo.patched/programs/x509/crl_app.c diff --git a/third_party/mbedtls/repo/programs/x509/req_app.c b/third_party/mbedtls/repo.patched/programs/x509/req_app.c similarity index 100% rename from third_party/mbedtls/repo/programs/x509/req_app.c rename to third_party/mbedtls/repo.patched/programs/x509/req_app.c diff --git a/third_party/mbedtls/repo/scripts/apidoc_full.sh b/third_party/mbedtls/repo.patched/scripts/apidoc_full.sh similarity index 100% rename from third_party/mbedtls/repo/scripts/apidoc_full.sh rename to third_party/mbedtls/repo.patched/scripts/apidoc_full.sh diff --git a/third_party/mbedtls/repo/scripts/bump_version.sh b/third_party/mbedtls/repo.patched/scripts/bump_version.sh similarity index 100% rename from third_party/mbedtls/repo/scripts/bump_version.sh rename to third_party/mbedtls/repo.patched/scripts/bump_version.sh diff --git a/third_party/mbedtls/repo/scripts/config.pl b/third_party/mbedtls/repo.patched/scripts/config.pl similarity index 100% rename from third_party/mbedtls/repo/scripts/config.pl rename to third_party/mbedtls/repo.patched/scripts/config.pl diff --git a/third_party/mbedtls/repo/scripts/data_files/error.fmt b/third_party/mbedtls/repo.patched/scripts/data_files/error.fmt similarity index 100% rename from third_party/mbedtls/repo/scripts/data_files/error.fmt rename to third_party/mbedtls/repo.patched/scripts/data_files/error.fmt diff --git a/third_party/mbedtls/repo/scripts/data_files/rename-1.3-2.0.txt b/third_party/mbedtls/repo.patched/scripts/data_files/rename-1.3-2.0.txt similarity index 100% rename from third_party/mbedtls/repo/scripts/data_files/rename-1.3-2.0.txt rename to third_party/mbedtls/repo.patched/scripts/data_files/rename-1.3-2.0.txt diff --git a/third_party/mbedtls/repo/scripts/data_files/version_features.fmt b/third_party/mbedtls/repo.patched/scripts/data_files/version_features.fmt similarity index 100% rename from third_party/mbedtls/repo/scripts/data_files/version_features.fmt rename to third_party/mbedtls/repo.patched/scripts/data_files/version_features.fmt diff --git a/third_party/mbedtls/repo/scripts/data_files/vs2010-app-template.vcxproj b/third_party/mbedtls/repo.patched/scripts/data_files/vs2010-app-template.vcxproj similarity index 100% rename from third_party/mbedtls/repo/scripts/data_files/vs2010-app-template.vcxproj rename to third_party/mbedtls/repo.patched/scripts/data_files/vs2010-app-template.vcxproj diff --git a/third_party/mbedtls/repo/scripts/data_files/vs2010-main-template.vcxproj b/third_party/mbedtls/repo.patched/scripts/data_files/vs2010-main-template.vcxproj similarity index 100% rename from third_party/mbedtls/repo/scripts/data_files/vs2010-main-template.vcxproj rename to third_party/mbedtls/repo.patched/scripts/data_files/vs2010-main-template.vcxproj diff --git a/third_party/mbedtls/repo/scripts/data_files/vs2010-sln-template.sln b/third_party/mbedtls/repo.patched/scripts/data_files/vs2010-sln-template.sln similarity index 100% rename from third_party/mbedtls/repo/scripts/data_files/vs2010-sln-template.sln rename to third_party/mbedtls/repo.patched/scripts/data_files/vs2010-sln-template.sln diff --git a/third_party/mbedtls/repo/scripts/data_files/vs6-app-template.dsp b/third_party/mbedtls/repo.patched/scripts/data_files/vs6-app-template.dsp similarity index 100% rename from third_party/mbedtls/repo/scripts/data_files/vs6-app-template.dsp rename to third_party/mbedtls/repo.patched/scripts/data_files/vs6-app-template.dsp diff --git a/third_party/mbedtls/repo/scripts/data_files/vs6-main-template.dsp b/third_party/mbedtls/repo.patched/scripts/data_files/vs6-main-template.dsp similarity index 100% rename from third_party/mbedtls/repo/scripts/data_files/vs6-main-template.dsp rename to third_party/mbedtls/repo.patched/scripts/data_files/vs6-main-template.dsp diff --git a/third_party/mbedtls/repo/scripts/data_files/vs6-workspace-template.dsw b/third_party/mbedtls/repo.patched/scripts/data_files/vs6-workspace-template.dsw similarity index 100% rename from third_party/mbedtls/repo/scripts/data_files/vs6-workspace-template.dsw rename to third_party/mbedtls/repo.patched/scripts/data_files/vs6-workspace-template.dsw diff --git a/third_party/mbedtls/repo/scripts/ecc-heap.sh b/third_party/mbedtls/repo.patched/scripts/ecc-heap.sh similarity index 100% rename from third_party/mbedtls/repo/scripts/ecc-heap.sh rename to third_party/mbedtls/repo.patched/scripts/ecc-heap.sh diff --git a/third_party/mbedtls/repo/scripts/find-mem-leak.cocci b/third_party/mbedtls/repo.patched/scripts/find-mem-leak.cocci similarity index 100% rename from third_party/mbedtls/repo/scripts/find-mem-leak.cocci rename to third_party/mbedtls/repo.patched/scripts/find-mem-leak.cocci diff --git a/third_party/mbedtls/repo/scripts/footprint.sh b/third_party/mbedtls/repo.patched/scripts/footprint.sh similarity index 100% rename from third_party/mbedtls/repo/scripts/footprint.sh rename to third_party/mbedtls/repo.patched/scripts/footprint.sh diff --git a/third_party/mbedtls/repo/scripts/generate_errors.pl b/third_party/mbedtls/repo.patched/scripts/generate_errors.pl similarity index 100% rename from third_party/mbedtls/repo/scripts/generate_errors.pl rename to third_party/mbedtls/repo.patched/scripts/generate_errors.pl diff --git a/third_party/mbedtls/repo/scripts/generate_features.pl b/third_party/mbedtls/repo.patched/scripts/generate_features.pl similarity index 100% rename from third_party/mbedtls/repo/scripts/generate_features.pl rename to third_party/mbedtls/repo.patched/scripts/generate_features.pl diff --git a/third_party/mbedtls/repo/scripts/generate_visualc_files.pl b/third_party/mbedtls/repo.patched/scripts/generate_visualc_files.pl similarity index 100% rename from third_party/mbedtls/repo/scripts/generate_visualc_files.pl rename to third_party/mbedtls/repo.patched/scripts/generate_visualc_files.pl diff --git a/third_party/mbedtls/repo/scripts/malloc-init.pl b/third_party/mbedtls/repo.patched/scripts/malloc-init.pl similarity index 100% rename from third_party/mbedtls/repo/scripts/malloc-init.pl rename to third_party/mbedtls/repo.patched/scripts/malloc-init.pl diff --git a/third_party/mbedtls/repo/scripts/massif_max.pl b/third_party/mbedtls/repo.patched/scripts/massif_max.pl similarity index 100% rename from third_party/mbedtls/repo/scripts/massif_max.pl rename to third_party/mbedtls/repo.patched/scripts/massif_max.pl diff --git a/third_party/mbedtls/repo/scripts/memory.sh b/third_party/mbedtls/repo.patched/scripts/memory.sh similarity index 100% rename from third_party/mbedtls/repo/scripts/memory.sh rename to third_party/mbedtls/repo.patched/scripts/memory.sh diff --git a/third_party/mbedtls/repo/scripts/output_env.sh b/third_party/mbedtls/repo.patched/scripts/output_env.sh similarity index 100% rename from third_party/mbedtls/repo/scripts/output_env.sh rename to third_party/mbedtls/repo.patched/scripts/output_env.sh diff --git a/third_party/mbedtls/repo/scripts/rename.pl b/third_party/mbedtls/repo.patched/scripts/rename.pl similarity index 100% rename from third_party/mbedtls/repo/scripts/rename.pl rename to third_party/mbedtls/repo.patched/scripts/rename.pl diff --git a/third_party/mbedtls/repo/scripts/rm-malloc-cast.cocci b/third_party/mbedtls/repo.patched/scripts/rm-malloc-cast.cocci similarity index 100% rename from third_party/mbedtls/repo/scripts/rm-malloc-cast.cocci rename to third_party/mbedtls/repo.patched/scripts/rm-malloc-cast.cocci diff --git a/third_party/mbedtls/repo/scripts/tmp_ignore_makefiles.sh b/third_party/mbedtls/repo.patched/scripts/tmp_ignore_makefiles.sh similarity index 100% rename from third_party/mbedtls/repo/scripts/tmp_ignore_makefiles.sh rename to third_party/mbedtls/repo.patched/scripts/tmp_ignore_makefiles.sh diff --git a/third_party/mbedtls/repo/tests/.gitignore b/third_party/mbedtls/repo.patched/tests/.gitignore similarity index 100% rename from third_party/mbedtls/repo/tests/.gitignore rename to third_party/mbedtls/repo.patched/tests/.gitignore diff --git a/third_party/mbedtls/repo/tests/CMakeLists.txt b/third_party/mbedtls/repo.patched/tests/CMakeLists.txt similarity index 100% rename from third_party/mbedtls/repo/tests/CMakeLists.txt rename to third_party/mbedtls/repo.patched/tests/CMakeLists.txt diff --git a/third_party/mbedtls/repo/tests/Descriptions.txt b/third_party/mbedtls/repo.patched/tests/Descriptions.txt similarity index 100% rename from third_party/mbedtls/repo/tests/Descriptions.txt rename to third_party/mbedtls/repo.patched/tests/Descriptions.txt diff --git a/third_party/mbedtls/repo/tests/compat.sh b/third_party/mbedtls/repo.patched/tests/compat.sh similarity index 100% rename from third_party/mbedtls/repo/tests/compat.sh rename to third_party/mbedtls/repo.patched/tests/compat.sh diff --git a/third_party/mbedtls/repo/tests/data_files/Readme-x509.txt b/third_party/mbedtls/repo.patched/tests/data_files/Readme-x509.txt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/Readme-x509.txt rename to third_party/mbedtls/repo.patched/tests/data_files/Readme-x509.txt diff --git a/third_party/mbedtls/repo/tests/data_files/bitstring-in-dn.pem b/third_party/mbedtls/repo.patched/tests/data_files/bitstring-in-dn.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/bitstring-in-dn.pem rename to third_party/mbedtls/repo.patched/tests/data_files/bitstring-in-dn.pem diff --git a/third_party/mbedtls/repo/tests/data_files/cert_example_multi.crt b/third_party/mbedtls/repo.patched/tests/data_files/cert_example_multi.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cert_example_multi.crt rename to third_party/mbedtls/repo.patched/tests/data_files/cert_example_multi.crt diff --git a/third_party/mbedtls/repo/tests/data_files/cert_example_multi_nocn.crt b/third_party/mbedtls/repo.patched/tests/data_files/cert_example_multi_nocn.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cert_example_multi_nocn.crt rename to third_party/mbedtls/repo.patched/tests/data_files/cert_example_multi_nocn.crt diff --git a/third_party/mbedtls/repo/tests/data_files/cert_example_wildcard.crt b/third_party/mbedtls/repo.patched/tests/data_files/cert_example_wildcard.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cert_example_wildcard.crt rename to third_party/mbedtls/repo.patched/tests/data_files/cert_example_wildcard.crt diff --git a/third_party/mbedtls/repo/tests/data_files/cert_md2.crt b/third_party/mbedtls/repo.patched/tests/data_files/cert_md2.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cert_md2.crt rename to third_party/mbedtls/repo.patched/tests/data_files/cert_md2.crt diff --git a/third_party/mbedtls/repo/tests/data_files/cert_md4.crt b/third_party/mbedtls/repo.patched/tests/data_files/cert_md4.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cert_md4.crt rename to third_party/mbedtls/repo.patched/tests/data_files/cert_md4.crt diff --git a/third_party/mbedtls/repo/tests/data_files/cert_md5.crt b/third_party/mbedtls/repo.patched/tests/data_files/cert_md5.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cert_md5.crt rename to third_party/mbedtls/repo.patched/tests/data_files/cert_md5.crt diff --git a/third_party/mbedtls/repo/tests/data_files/cert_sha1.crt b/third_party/mbedtls/repo.patched/tests/data_files/cert_sha1.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cert_sha1.crt rename to third_party/mbedtls/repo.patched/tests/data_files/cert_sha1.crt diff --git a/third_party/mbedtls/repo/tests/data_files/cert_sha224.crt b/third_party/mbedtls/repo.patched/tests/data_files/cert_sha224.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cert_sha224.crt rename to third_party/mbedtls/repo.patched/tests/data_files/cert_sha224.crt diff --git a/third_party/mbedtls/repo/tests/data_files/cert_sha256.crt b/third_party/mbedtls/repo.patched/tests/data_files/cert_sha256.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cert_sha256.crt rename to third_party/mbedtls/repo.patched/tests/data_files/cert_sha256.crt diff --git a/third_party/mbedtls/repo/tests/data_files/cert_sha384.crt b/third_party/mbedtls/repo.patched/tests/data_files/cert_sha384.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cert_sha384.crt rename to third_party/mbedtls/repo.patched/tests/data_files/cert_sha384.crt diff --git a/third_party/mbedtls/repo/tests/data_files/cert_sha512.crt b/third_party/mbedtls/repo.patched/tests/data_files/cert_sha512.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cert_sha512.crt rename to third_party/mbedtls/repo.patched/tests/data_files/cert_sha512.crt diff --git a/third_party/mbedtls/repo/tests/data_files/cert_v1_with_ext.crt b/third_party/mbedtls/repo.patched/tests/data_files/cert_v1_with_ext.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cert_v1_with_ext.crt rename to third_party/mbedtls/repo.patched/tests/data_files/cert_v1_with_ext.crt diff --git a/third_party/mbedtls/repo/tests/data_files/cli2.crt b/third_party/mbedtls/repo.patched/tests/data_files/cli2.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cli2.crt rename to third_party/mbedtls/repo.patched/tests/data_files/cli2.crt diff --git a/third_party/mbedtls/repo/tests/data_files/cli2.key b/third_party/mbedtls/repo.patched/tests/data_files/cli2.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/cli2.key rename to third_party/mbedtls/repo.patched/tests/data_files/cli2.key diff --git a/third_party/mbedtls/repo/tests/data_files/crl-ec-sha1.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl-ec-sha1.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl-ec-sha1.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl-ec-sha1.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl-ec-sha224.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl-ec-sha224.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl-ec-sha224.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl-ec-sha224.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl-ec-sha256.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl-ec-sha256.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl-ec-sha256.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl-ec-sha256.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl-ec-sha384.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl-ec-sha384.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl-ec-sha384.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl-ec-sha384.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl-ec-sha512.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl-ec-sha512.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl-ec-sha512.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl-ec-sha512.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl-future.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl-future.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl-future.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl-future.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl-rsa-pss-sha1-badsign.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl-rsa-pss-sha1-badsign.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl-rsa-pss-sha1-badsign.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl-rsa-pss-sha1-badsign.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl-rsa-pss-sha1.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl-rsa-pss-sha1.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl-rsa-pss-sha1.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl-rsa-pss-sha1.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl-rsa-pss-sha224.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl-rsa-pss-sha224.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl-rsa-pss-sha224.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl-rsa-pss-sha224.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl-rsa-pss-sha256.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl-rsa-pss-sha256.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl-rsa-pss-sha256.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl-rsa-pss-sha256.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl-rsa-pss-sha384.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl-rsa-pss-sha384.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl-rsa-pss-sha384.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl-rsa-pss-sha384.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl-rsa-pss-sha512.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl-rsa-pss-sha512.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl-rsa-pss-sha512.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl-rsa-pss-sha512.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl_cat_ec-rsa.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl_cat_ec-rsa.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl_cat_ec-rsa.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl_cat_ec-rsa.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl_cat_ecfut-rsa.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl_cat_ecfut-rsa.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl_cat_ecfut-rsa.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl_cat_ecfut-rsa.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl_cat_rsa-ec.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl_cat_rsa-ec.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl_cat_rsa-ec.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl_cat_rsa-ec.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl_cat_rsabadpem-ec.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl_cat_rsabadpem-ec.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl_cat_rsabadpem-ec.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl_cat_rsabadpem-ec.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl_expired.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl_expired.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl_expired.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl_expired.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl_md2.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl_md2.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl_md2.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl_md2.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl_md4.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl_md4.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl_md4.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl_md4.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl_md5.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl_md5.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl_md5.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl_md5.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl_sha1.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl_sha1.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl_sha1.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl_sha1.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl_sha224.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl_sha224.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl_sha224.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl_sha224.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl_sha256.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl_sha256.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl_sha256.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl_sha256.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl_sha384.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl_sha384.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl_sha384.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl_sha384.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crl_sha512.pem b/third_party/mbedtls/repo.patched/tests/data_files/crl_sha512.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crl_sha512.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crl_sha512.pem diff --git a/third_party/mbedtls/repo/tests/data_files/crt_cat_rsaexp-ec.pem b/third_party/mbedtls/repo.patched/tests/data_files/crt_cat_rsaexp-ec.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/crt_cat_rsaexp-ec.pem rename to third_party/mbedtls/repo.patched/tests/data_files/crt_cat_rsaexp-ec.pem diff --git a/third_party/mbedtls/repo/tests/data_files/dh.1000.pem b/third_party/mbedtls/repo.patched/tests/data_files/dh.1000.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dh.1000.pem rename to third_party/mbedtls/repo.patched/tests/data_files/dh.1000.pem diff --git a/third_party/mbedtls/repo/tests/data_files/dh.optlen.pem b/third_party/mbedtls/repo.patched/tests/data_files/dh.optlen.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dh.optlen.pem rename to third_party/mbedtls/repo.patched/tests/data_files/dh.optlen.pem diff --git a/third_party/mbedtls/repo/tests/data_files/dhparams.pem b/third_party/mbedtls/repo.patched/tests/data_files/dhparams.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dhparams.pem rename to third_party/mbedtls/repo.patched/tests/data_files/dhparams.pem diff --git a/third_party/mbedtls/repo/tests/data_files/dir1/test-ca.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir1/test-ca.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir1/test-ca.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir1/test-ca.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir2/test-ca.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir2/test-ca.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir2/test-ca.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir2/test-ca.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir2/test-ca2.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir2/test-ca2.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir2/test-ca2.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir2/test-ca2.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir3/Readme b/third_party/mbedtls/repo.patched/tests/data_files/dir3/Readme similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir3/Readme rename to third_party/mbedtls/repo.patched/tests/data_files/dir3/Readme diff --git a/third_party/mbedtls/repo/tests/data_files/dir3/test-ca.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir3/test-ca.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir3/test-ca.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir3/test-ca.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir3/test-ca2.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir3/test-ca2.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir3/test-ca2.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir3/test-ca2.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/Readme b/third_party/mbedtls/repo.patched/tests/data_files/dir4/Readme similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/Readme rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/Readme diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert11.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert11.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert11.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert11.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert12.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert12.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert12.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert12.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert13.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert13.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert13.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert13.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert14.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert14.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert14.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert14.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert21.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert21.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert21.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert21.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert22.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert22.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert22.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert22.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert23.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert23.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert23.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert23.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert31.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert31.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert31.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert31.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert32.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert32.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert32.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert32.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert33.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert33.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert33.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert33.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert34.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert34.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert34.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert34.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert41.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert41.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert41.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert41.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert42.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert42.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert42.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert42.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert43.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert43.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert43.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert43.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert44.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert44.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert44.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert44.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert45.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert45.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert45.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert45.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert51.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert51.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert51.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert51.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert52.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert52.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert52.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert52.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert53.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert53.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert53.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert53.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert54.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert54.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert54.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert54.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert61.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert61.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert61.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert61.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert62.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert62.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert62.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert62.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert63.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert63.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert63.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert63.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert71.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert71.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert71.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert71.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert72.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert72.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert72.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert72.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert73.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert73.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert73.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert73.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert74.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert74.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert74.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert74.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert81.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert81.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert81.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert81.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert82.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert82.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert82.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert82.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert83.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert83.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert83.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert83.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert91.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert91.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert91.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert91.crt diff --git a/third_party/mbedtls/repo/tests/data_files/dir4/cert92.crt b/third_party/mbedtls/repo.patched/tests/data_files/dir4/cert92.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/dir4/cert92.crt rename to third_party/mbedtls/repo.patched/tests/data_files/dir4/cert92.crt diff --git a/third_party/mbedtls/repo/tests/data_files/ec_224_prv.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_224_prv.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_224_prv.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_224_prv.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_224_pub.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_224_pub.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_224_pub.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_224_pub.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_256_prv.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_256_prv.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_256_prv.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_256_prv.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_256_pub.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_256_pub.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_256_pub.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_256_pub.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_384_prv.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_384_prv.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_384_prv.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_384_prv.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_384_pub.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_384_pub.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_384_pub.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_384_pub.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_521_prv.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_521_prv.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_521_prv.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_521_prv.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_521_pub.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_521_pub.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_521_pub.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_521_pub.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_bp256_prv.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_bp256_prv.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_bp256_prv.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_bp256_prv.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_bp256_pub.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_bp256_pub.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_bp256_pub.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_bp256_pub.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_bp384_prv.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_bp384_prv.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_bp384_prv.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_bp384_prv.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_bp384_pub.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_bp384_pub.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_bp384_pub.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_bp384_pub.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_bp512_prv.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_bp512_prv.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_bp512_prv.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_bp512_prv.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_bp512_pub.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_bp512_pub.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_bp512_pub.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_bp512_pub.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_prv.noopt.der b/third_party/mbedtls/repo.patched/tests/data_files/ec_prv.noopt.der similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_prv.noopt.der rename to third_party/mbedtls/repo.patched/tests/data_files/ec_prv.noopt.der diff --git a/third_party/mbedtls/repo/tests/data_files/ec_prv.pk8.der b/third_party/mbedtls/repo.patched/tests/data_files/ec_prv.pk8.der similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_prv.pk8.der rename to third_party/mbedtls/repo.patched/tests/data_files/ec_prv.pk8.der diff --git a/third_party/mbedtls/repo/tests/data_files/ec_prv.pk8.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_prv.pk8.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_prv.pk8.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_prv.pk8.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_prv.pk8.pw.der b/third_party/mbedtls/repo.patched/tests/data_files/ec_prv.pk8.pw.der similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_prv.pk8.pw.der rename to third_party/mbedtls/repo.patched/tests/data_files/ec_prv.pk8.pw.der diff --git a/third_party/mbedtls/repo/tests/data_files/ec_prv.pk8.pw.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_prv.pk8.pw.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_prv.pk8.pw.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_prv.pk8.pw.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_prv.sec1.der b/third_party/mbedtls/repo.patched/tests/data_files/ec_prv.sec1.der similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_prv.sec1.der rename to third_party/mbedtls/repo.patched/tests/data_files/ec_prv.sec1.der diff --git a/third_party/mbedtls/repo/tests/data_files/ec_prv.sec1.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_prv.sec1.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_prv.sec1.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_prv.sec1.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_prv.sec1.pw.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_prv.sec1.pw.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_prv.sec1.pw.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_prv.sec1.pw.pem diff --git a/third_party/mbedtls/repo/tests/data_files/ec_prv.specdom.der b/third_party/mbedtls/repo.patched/tests/data_files/ec_prv.specdom.der similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_prv.specdom.der rename to third_party/mbedtls/repo.patched/tests/data_files/ec_prv.specdom.der diff --git a/third_party/mbedtls/repo/tests/data_files/ec_pub.der b/third_party/mbedtls/repo.patched/tests/data_files/ec_pub.der similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_pub.der rename to third_party/mbedtls/repo.patched/tests/data_files/ec_pub.der diff --git a/third_party/mbedtls/repo/tests/data_files/ec_pub.pem b/third_party/mbedtls/repo.patched/tests/data_files/ec_pub.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/ec_pub.pem rename to third_party/mbedtls/repo.patched/tests/data_files/ec_pub.pem diff --git a/third_party/mbedtls/repo/tests/data_files/enco-ca-prstr.pem b/third_party/mbedtls/repo.patched/tests/data_files/enco-ca-prstr.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/enco-ca-prstr.pem rename to third_party/mbedtls/repo.patched/tests/data_files/enco-ca-prstr.pem diff --git a/third_party/mbedtls/repo/tests/data_files/enco-cert-utf8str.pem b/third_party/mbedtls/repo.patched/tests/data_files/enco-cert-utf8str.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/enco-cert-utf8str.pem rename to third_party/mbedtls/repo.patched/tests/data_files/enco-cert-utf8str.pem diff --git a/third_party/mbedtls/repo/tests/data_files/format_gen.key b/third_party/mbedtls/repo.patched/tests/data_files/format_gen.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/format_gen.key rename to third_party/mbedtls/repo.patched/tests/data_files/format_gen.key diff --git a/third_party/mbedtls/repo/tests/data_files/format_gen.pub b/third_party/mbedtls/repo.patched/tests/data_files/format_gen.pub similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/format_gen.pub rename to third_party/mbedtls/repo.patched/tests/data_files/format_gen.pub diff --git a/third_party/mbedtls/repo/tests/data_files/format_pkcs12.fmt b/third_party/mbedtls/repo.patched/tests/data_files/format_pkcs12.fmt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/format_pkcs12.fmt rename to third_party/mbedtls/repo.patched/tests/data_files/format_pkcs12.fmt diff --git a/third_party/mbedtls/repo/tests/data_files/format_rsa.key b/third_party/mbedtls/repo.patched/tests/data_files/format_rsa.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/format_rsa.key rename to third_party/mbedtls/repo.patched/tests/data_files/format_rsa.key diff --git a/third_party/mbedtls/repo/tests/data_files/hash_file_1 b/third_party/mbedtls/repo.patched/tests/data_files/hash_file_1 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/hash_file_1 rename to third_party/mbedtls/repo.patched/tests/data_files/hash_file_1 diff --git a/third_party/mbedtls/repo/tests/data_files/hash_file_2 b/third_party/mbedtls/repo.patched/tests/data_files/hash_file_2 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/hash_file_2 rename to third_party/mbedtls/repo.patched/tests/data_files/hash_file_2 diff --git a/third_party/mbedtls/repo/tests/data_files/hash_file_3 b/third_party/mbedtls/repo.patched/tests/data_files/hash_file_3 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/hash_file_3 rename to third_party/mbedtls/repo.patched/tests/data_files/hash_file_3 diff --git a/third_party/mbedtls/repo/tests/data_files/hash_file_4 b/third_party/mbedtls/repo.patched/tests/data_files/hash_file_4 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/hash_file_4 rename to third_party/mbedtls/repo.patched/tests/data_files/hash_file_4 diff --git a/third_party/mbedtls/repo/tests/data_files/hash_file_5 b/third_party/mbedtls/repo.patched/tests/data_files/hash_file_5 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/hash_file_5 rename to third_party/mbedtls/repo.patched/tests/data_files/hash_file_5 diff --git a/third_party/mbedtls/repo/tests/data_files/keyUsage.decipherOnly.crt b/third_party/mbedtls/repo.patched/tests/data_files/keyUsage.decipherOnly.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/keyUsage.decipherOnly.crt rename to third_party/mbedtls/repo.patched/tests/data_files/keyUsage.decipherOnly.crt diff --git a/third_party/mbedtls/repo/tests/data_files/keyfile b/third_party/mbedtls/repo.patched/tests/data_files/keyfile similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/keyfile rename to third_party/mbedtls/repo.patched/tests/data_files/keyfile diff --git a/third_party/mbedtls/repo/tests/data_files/keyfile.3des b/third_party/mbedtls/repo.patched/tests/data_files/keyfile.3des similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/keyfile.3des rename to third_party/mbedtls/repo.patched/tests/data_files/keyfile.3des diff --git a/third_party/mbedtls/repo/tests/data_files/keyfile.aes128 b/third_party/mbedtls/repo.patched/tests/data_files/keyfile.aes128 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/keyfile.aes128 rename to third_party/mbedtls/repo.patched/tests/data_files/keyfile.aes128 diff --git a/third_party/mbedtls/repo/tests/data_files/keyfile.aes192 b/third_party/mbedtls/repo.patched/tests/data_files/keyfile.aes192 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/keyfile.aes192 rename to third_party/mbedtls/repo.patched/tests/data_files/keyfile.aes192 diff --git a/third_party/mbedtls/repo/tests/data_files/keyfile.aes256 b/third_party/mbedtls/repo.patched/tests/data_files/keyfile.aes256 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/keyfile.aes256 rename to third_party/mbedtls/repo.patched/tests/data_files/keyfile.aes256 diff --git a/third_party/mbedtls/repo/tests/data_files/keyfile.des b/third_party/mbedtls/repo.patched/tests/data_files/keyfile.des similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/keyfile.des rename to third_party/mbedtls/repo.patched/tests/data_files/keyfile.des diff --git a/third_party/mbedtls/repo/tests/data_files/mpi_10 b/third_party/mbedtls/repo.patched/tests/data_files/mpi_10 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/mpi_10 rename to third_party/mbedtls/repo.patched/tests/data_files/mpi_10 diff --git a/third_party/mbedtls/repo/tests/data_files/mpi_too_big b/third_party/mbedtls/repo.patched/tests/data_files/mpi_too_big similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/mpi_too_big rename to third_party/mbedtls/repo.patched/tests/data_files/mpi_too_big diff --git a/third_party/mbedtls/repo/tests/data_files/passwd.psk b/third_party/mbedtls/repo.patched/tests/data_files/passwd.psk similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/passwd.psk rename to third_party/mbedtls/repo.patched/tests/data_files/passwd.psk diff --git a/third_party/mbedtls/repo/tests/data_files/pkcs8_pbe_sha1_2des.key b/third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbe_sha1_2des.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/pkcs8_pbe_sha1_2des.key rename to third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbe_sha1_2des.key diff --git a/third_party/mbedtls/repo/tests/data_files/pkcs8_pbe_sha1_3des.der b/third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbe_sha1_3des.der similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/pkcs8_pbe_sha1_3des.der rename to third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbe_sha1_3des.der diff --git a/third_party/mbedtls/repo/tests/data_files/pkcs8_pbe_sha1_3des.key b/third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbe_sha1_3des.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/pkcs8_pbe_sha1_3des.key rename to third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbe_sha1_3des.key diff --git a/third_party/mbedtls/repo/tests/data_files/pkcs8_pbe_sha1_rc4_128.key b/third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbe_sha1_rc4_128.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/pkcs8_pbe_sha1_rc4_128.key rename to third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbe_sha1_rc4_128.key diff --git a/third_party/mbedtls/repo/tests/data_files/pkcs8_pbes2_pbkdf2_3des.der b/third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbes2_pbkdf2_3des.der similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/pkcs8_pbes2_pbkdf2_3des.der rename to third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbes2_pbkdf2_3des.der diff --git a/third_party/mbedtls/repo/tests/data_files/pkcs8_pbes2_pbkdf2_3des.key b/third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbes2_pbkdf2_3des.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/pkcs8_pbes2_pbkdf2_3des.key rename to third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbes2_pbkdf2_3des.key diff --git a/third_party/mbedtls/repo/tests/data_files/pkcs8_pbes2_pbkdf2_des.key b/third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbes2_pbkdf2_des.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/pkcs8_pbes2_pbkdf2_des.key rename to third_party/mbedtls/repo.patched/tests/data_files/pkcs8_pbes2_pbkdf2_des.key diff --git a/third_party/mbedtls/repo/tests/data_files/rsa4096_prv.pem b/third_party/mbedtls/repo.patched/tests/data_files/rsa4096_prv.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/rsa4096_prv.pem rename to third_party/mbedtls/repo.patched/tests/data_files/rsa4096_prv.pem diff --git a/third_party/mbedtls/repo/tests/data_files/rsa4096_pub.pem b/third_party/mbedtls/repo.patched/tests/data_files/rsa4096_pub.pem similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/rsa4096_pub.pem rename to third_party/mbedtls/repo.patched/tests/data_files/rsa4096_pub.pem diff --git a/third_party/mbedtls/repo/tests/data_files/server1-nospace.crt b/third_party/mbedtls/repo.patched/tests/data_files/server1-nospace.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1-nospace.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server1-nospace.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server1-v1.crt b/third_party/mbedtls/repo.patched/tests/data_files/server1-v1.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1-v1.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server1-v1.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server1.cert_type.crt b/third_party/mbedtls/repo.patched/tests/data_files/server1.cert_type.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.cert_type.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server1.cert_type.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server1.crt b/third_party/mbedtls/repo.patched/tests/data_files/server1.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server1.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server1.ext_ku.crt b/third_party/mbedtls/repo.patched/tests/data_files/server1.ext_ku.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.ext_ku.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server1.ext_ku.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server1.key b/third_party/mbedtls/repo.patched/tests/data_files/server1.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.key rename to third_party/mbedtls/repo.patched/tests/data_files/server1.key diff --git a/third_party/mbedtls/repo/tests/data_files/server1.key_usage.crt b/third_party/mbedtls/repo.patched/tests/data_files/server1.key_usage.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.key_usage.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server1.key_usage.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server1.pubkey b/third_party/mbedtls/repo.patched/tests/data_files/server1.pubkey similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.pubkey rename to third_party/mbedtls/repo.patched/tests/data_files/server1.pubkey diff --git a/third_party/mbedtls/repo/tests/data_files/server1.req.cert_type b/third_party/mbedtls/repo.patched/tests/data_files/server1.req.cert_type similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.req.cert_type rename to third_party/mbedtls/repo.patched/tests/data_files/server1.req.cert_type diff --git a/third_party/mbedtls/repo/tests/data_files/server1.req.key_usage b/third_party/mbedtls/repo.patched/tests/data_files/server1.req.key_usage similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.req.key_usage rename to third_party/mbedtls/repo.patched/tests/data_files/server1.req.key_usage diff --git a/third_party/mbedtls/repo/tests/data_files/server1.req.ku-ct b/third_party/mbedtls/repo.patched/tests/data_files/server1.req.ku-ct similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.req.ku-ct rename to third_party/mbedtls/repo.patched/tests/data_files/server1.req.ku-ct diff --git a/third_party/mbedtls/repo/tests/data_files/server1.req.md4 b/third_party/mbedtls/repo.patched/tests/data_files/server1.req.md4 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.req.md4 rename to third_party/mbedtls/repo.patched/tests/data_files/server1.req.md4 diff --git a/third_party/mbedtls/repo/tests/data_files/server1.req.md5 b/third_party/mbedtls/repo.patched/tests/data_files/server1.req.md5 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.req.md5 rename to third_party/mbedtls/repo.patched/tests/data_files/server1.req.md5 diff --git a/third_party/mbedtls/repo/tests/data_files/server1.req.sha1 b/third_party/mbedtls/repo.patched/tests/data_files/server1.req.sha1 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.req.sha1 rename to third_party/mbedtls/repo.patched/tests/data_files/server1.req.sha1 diff --git a/third_party/mbedtls/repo/tests/data_files/server1.req.sha224 b/third_party/mbedtls/repo.patched/tests/data_files/server1.req.sha224 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.req.sha224 rename to third_party/mbedtls/repo.patched/tests/data_files/server1.req.sha224 diff --git a/third_party/mbedtls/repo/tests/data_files/server1.req.sha256 b/third_party/mbedtls/repo.patched/tests/data_files/server1.req.sha256 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.req.sha256 rename to third_party/mbedtls/repo.patched/tests/data_files/server1.req.sha256 diff --git a/third_party/mbedtls/repo/tests/data_files/server1.req.sha384 b/third_party/mbedtls/repo.patched/tests/data_files/server1.req.sha384 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.req.sha384 rename to third_party/mbedtls/repo.patched/tests/data_files/server1.req.sha384 diff --git a/third_party/mbedtls/repo/tests/data_files/server1.req.sha512 b/third_party/mbedtls/repo.patched/tests/data_files/server1.req.sha512 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.req.sha512 rename to third_party/mbedtls/repo.patched/tests/data_files/server1.req.sha512 diff --git a/third_party/mbedtls/repo/tests/data_files/server1.v1.crt b/third_party/mbedtls/repo.patched/tests/data_files/server1.v1.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1.v1.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server1.v1.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server10.key b/third_party/mbedtls/repo.patched/tests/data_files/server10.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server10.key rename to third_party/mbedtls/repo.patched/tests/data_files/server10.key diff --git a/third_party/mbedtls/repo/tests/data_files/server10_int3_int-ca2.crt b/third_party/mbedtls/repo.patched/tests/data_files/server10_int3_int-ca2.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server10_int3_int-ca2.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server10_int3_int-ca2.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server10_int3_int-ca2_ca.crt b/third_party/mbedtls/repo.patched/tests/data_files/server10_int3_int-ca2_ca.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server10_int3_int-ca2_ca.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server10_int3_int-ca2_ca.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server1_ca.crt b/third_party/mbedtls/repo.patched/tests/data_files/server1_ca.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server1_ca.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server1_ca.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server2-badsign.crt b/third_party/mbedtls/repo.patched/tests/data_files/server2-badsign.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server2-badsign.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server2-badsign.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server2-v1-chain.crt b/third_party/mbedtls/repo.patched/tests/data_files/server2-v1-chain.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server2-v1-chain.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server2-v1-chain.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server2-v1.crt b/third_party/mbedtls/repo.patched/tests/data_files/server2-v1.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server2-v1.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server2-v1.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server2.crt b/third_party/mbedtls/repo.patched/tests/data_files/server2.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server2.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server2.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server2.key b/third_party/mbedtls/repo.patched/tests/data_files/server2.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server2.key rename to third_party/mbedtls/repo.patched/tests/data_files/server2.key diff --git a/third_party/mbedtls/repo/tests/data_files/server2.ku-ds.crt b/third_party/mbedtls/repo.patched/tests/data_files/server2.ku-ds.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server2.ku-ds.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server2.ku-ds.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server2.ku-ds_ke.crt b/third_party/mbedtls/repo.patched/tests/data_files/server2.ku-ds_ke.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server2.ku-ds_ke.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server2.ku-ds_ke.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server2.ku-ka.crt b/third_party/mbedtls/repo.patched/tests/data_files/server2.ku-ka.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server2.ku-ka.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server2.ku-ka.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server2.ku-ke.crt b/third_party/mbedtls/repo.patched/tests/data_files/server2.ku-ke.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server2.ku-ke.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server2.ku-ke.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server3.crt b/third_party/mbedtls/repo.patched/tests/data_files/server3.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server3.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server3.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server3.key b/third_party/mbedtls/repo.patched/tests/data_files/server3.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server3.key rename to third_party/mbedtls/repo.patched/tests/data_files/server3.key diff --git a/third_party/mbedtls/repo/tests/data_files/server4.crt b/third_party/mbedtls/repo.patched/tests/data_files/server4.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server4.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server4.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server4.key b/third_party/mbedtls/repo.patched/tests/data_files/server4.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server4.key rename to third_party/mbedtls/repo.patched/tests/data_files/server4.key diff --git a/third_party/mbedtls/repo/tests/data_files/server5-badsign.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-badsign.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-badsign.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-badsign.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-der0.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-der0.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-der0.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-der0.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-der1a.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-der1a.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-der1a.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-der1a.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-der1b.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-der1b.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-der1b.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-der1b.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-der2.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-der2.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-der2.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-der2.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-der4.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-der4.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-der4.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-der4.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-der8.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-der8.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-der8.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-der8.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-der9.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-der9.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-der9.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-der9.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-expired.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-expired.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-expired.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-expired.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-future.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-future.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-future.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-future.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-selfsigned.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-selfsigned.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-selfsigned.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-selfsigned.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-sha1.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-sha1.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-sha1.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-sha1.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-sha224.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-sha224.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-sha224.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-sha224.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-sha384.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-sha384.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-sha384.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-sha384.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5-sha512.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5-sha512.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5-sha512.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5-sha512.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5.eku-cli.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5.eku-cli.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.eku-cli.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5.eku-cli.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5.eku-cs.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5.eku-cs.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.eku-cs.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5.eku-cs.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5.eku-cs_any.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5.eku-cs_any.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.eku-cs_any.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5.eku-cs_any.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5.eku-srv.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5.eku-srv.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.eku-srv.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5.eku-srv.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5.eku-srv_cli.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5.eku-srv_cli.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.eku-srv_cli.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5.eku-srv_cli.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5.key b/third_party/mbedtls/repo.patched/tests/data_files/server5.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.key rename to third_party/mbedtls/repo.patched/tests/data_files/server5.key diff --git a/third_party/mbedtls/repo/tests/data_files/server5.ku-ds.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5.ku-ds.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.ku-ds.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5.ku-ds.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5.ku-ka.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5.ku-ka.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.ku-ka.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5.ku-ka.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5.ku-ke.crt b/third_party/mbedtls/repo.patched/tests/data_files/server5.ku-ke.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.ku-ke.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server5.ku-ke.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server5.req.ku.sha1 b/third_party/mbedtls/repo.patched/tests/data_files/server5.req.ku.sha1 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.req.ku.sha1 rename to third_party/mbedtls/repo.patched/tests/data_files/server5.req.ku.sha1 diff --git a/third_party/mbedtls/repo/tests/data_files/server5.req.sha1 b/third_party/mbedtls/repo.patched/tests/data_files/server5.req.sha1 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.req.sha1 rename to third_party/mbedtls/repo.patched/tests/data_files/server5.req.sha1 diff --git a/third_party/mbedtls/repo/tests/data_files/server5.req.sha224 b/third_party/mbedtls/repo.patched/tests/data_files/server5.req.sha224 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.req.sha224 rename to third_party/mbedtls/repo.patched/tests/data_files/server5.req.sha224 diff --git a/third_party/mbedtls/repo/tests/data_files/server5.req.sha256 b/third_party/mbedtls/repo.patched/tests/data_files/server5.req.sha256 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.req.sha256 rename to third_party/mbedtls/repo.patched/tests/data_files/server5.req.sha256 diff --git a/third_party/mbedtls/repo/tests/data_files/server5.req.sha384 b/third_party/mbedtls/repo.patched/tests/data_files/server5.req.sha384 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.req.sha384 rename to third_party/mbedtls/repo.patched/tests/data_files/server5.req.sha384 diff --git a/third_party/mbedtls/repo/tests/data_files/server5.req.sha512 b/third_party/mbedtls/repo.patched/tests/data_files/server5.req.sha512 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server5.req.sha512 rename to third_party/mbedtls/repo.patched/tests/data_files/server5.req.sha512 diff --git a/third_party/mbedtls/repo/tests/data_files/server6-ss-child.crt b/third_party/mbedtls/repo.patched/tests/data_files/server6-ss-child.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server6-ss-child.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server6-ss-child.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server6.crt b/third_party/mbedtls/repo.patched/tests/data_files/server6.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server6.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server6.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server6.key b/third_party/mbedtls/repo.patched/tests/data_files/server6.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server6.key rename to third_party/mbedtls/repo.patched/tests/data_files/server6.key diff --git a/third_party/mbedtls/repo/tests/data_files/server7.crt b/third_party/mbedtls/repo.patched/tests/data_files/server7.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server7.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server7.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server7.key b/third_party/mbedtls/repo.patched/tests/data_files/server7.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server7.key rename to third_party/mbedtls/repo.patched/tests/data_files/server7.key diff --git a/third_party/mbedtls/repo/tests/data_files/server7_all_space.crt b/third_party/mbedtls/repo.patched/tests/data_files/server7_all_space.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server7_all_space.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server7_all_space.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server7_int-ca.crt b/third_party/mbedtls/repo.patched/tests/data_files/server7_int-ca.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server7_int-ca.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server7_int-ca.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server7_int-ca_ca2.crt b/third_party/mbedtls/repo.patched/tests/data_files/server7_int-ca_ca2.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server7_int-ca_ca2.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server7_int-ca_ca2.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server7_pem_space.crt b/third_party/mbedtls/repo.patched/tests/data_files/server7_pem_space.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server7_pem_space.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server7_pem_space.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server7_trailing_space.crt b/third_party/mbedtls/repo.patched/tests/data_files/server7_trailing_space.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server7_trailing_space.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server7_trailing_space.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server8.crt b/third_party/mbedtls/repo.patched/tests/data_files/server8.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server8.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server8.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server8.key b/third_party/mbedtls/repo.patched/tests/data_files/server8.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server8.key rename to third_party/mbedtls/repo.patched/tests/data_files/server8.key diff --git a/third_party/mbedtls/repo/tests/data_files/server8_int-ca2.crt b/third_party/mbedtls/repo.patched/tests/data_files/server8_int-ca2.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server8_int-ca2.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server8_int-ca2.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server9-bad-mgfhash.crt b/third_party/mbedtls/repo.patched/tests/data_files/server9-bad-mgfhash.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9-bad-mgfhash.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server9-bad-mgfhash.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server9-bad-saltlen.crt b/third_party/mbedtls/repo.patched/tests/data_files/server9-bad-saltlen.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9-bad-saltlen.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server9-bad-saltlen.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server9-badsign.crt b/third_party/mbedtls/repo.patched/tests/data_files/server9-badsign.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9-badsign.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server9-badsign.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server9-defaults.crt b/third_party/mbedtls/repo.patched/tests/data_files/server9-defaults.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9-defaults.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server9-defaults.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server9-sha224.crt b/third_party/mbedtls/repo.patched/tests/data_files/server9-sha224.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9-sha224.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server9-sha224.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server9-sha256.crt b/third_party/mbedtls/repo.patched/tests/data_files/server9-sha256.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9-sha256.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server9-sha256.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server9-sha384.crt b/third_party/mbedtls/repo.patched/tests/data_files/server9-sha384.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9-sha384.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server9-sha384.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server9-sha512.crt b/third_party/mbedtls/repo.patched/tests/data_files/server9-sha512.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9-sha512.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server9-sha512.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server9-with-ca.crt b/third_party/mbedtls/repo.patched/tests/data_files/server9-with-ca.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9-with-ca.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server9-with-ca.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server9.crt b/third_party/mbedtls/repo.patched/tests/data_files/server9.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9.crt rename to third_party/mbedtls/repo.patched/tests/data_files/server9.crt diff --git a/third_party/mbedtls/repo/tests/data_files/server9.key b/third_party/mbedtls/repo.patched/tests/data_files/server9.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9.key rename to third_party/mbedtls/repo.patched/tests/data_files/server9.key diff --git a/third_party/mbedtls/repo/tests/data_files/server9.req.sha1 b/third_party/mbedtls/repo.patched/tests/data_files/server9.req.sha1 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9.req.sha1 rename to third_party/mbedtls/repo.patched/tests/data_files/server9.req.sha1 diff --git a/third_party/mbedtls/repo/tests/data_files/server9.req.sha224 b/third_party/mbedtls/repo.patched/tests/data_files/server9.req.sha224 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9.req.sha224 rename to third_party/mbedtls/repo.patched/tests/data_files/server9.req.sha224 diff --git a/third_party/mbedtls/repo/tests/data_files/server9.req.sha256 b/third_party/mbedtls/repo.patched/tests/data_files/server9.req.sha256 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9.req.sha256 rename to third_party/mbedtls/repo.patched/tests/data_files/server9.req.sha256 diff --git a/third_party/mbedtls/repo/tests/data_files/server9.req.sha384 b/third_party/mbedtls/repo.patched/tests/data_files/server9.req.sha384 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9.req.sha384 rename to third_party/mbedtls/repo.patched/tests/data_files/server9.req.sha384 diff --git a/third_party/mbedtls/repo/tests/data_files/server9.req.sha512 b/third_party/mbedtls/repo.patched/tests/data_files/server9.req.sha512 similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/server9.req.sha512 rename to third_party/mbedtls/repo.patched/tests/data_files/server9.req.sha512 diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca-v1.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-ca-v1.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca-v1.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca-v1.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-ca.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca.key b/third_party/mbedtls/repo.patched/tests/data_files/test-ca.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca.key rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca.key diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca2.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-ca2.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca2.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca2.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca2.key b/third_party/mbedtls/repo.patched/tests/data_files/test-ca2.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca2.key rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca2.key diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca2.ku-crl.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-ca2.ku-crl.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca2.ku-crl.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca2.ku-crl.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca2.ku-crt.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-ca2.ku-crt.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca2.ku-crt.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca2.ku-crt.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca2.ku-crt_crl.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-ca2.ku-crt_crl.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca2.ku-crt_crl.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca2.ku-crt_crl.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca2.ku-ds.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-ca2.ku-ds.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca2.ku-ds.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca2.ku-ds.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca2_cat-future-present.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-ca2_cat-future-present.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca2_cat-future-present.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca2_cat-future-present.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca2_cat-past-present.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-ca2_cat-past-present.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca2_cat-past-present.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca2_cat-past-present.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca2_cat-present-future.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-ca2_cat-present-future.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca2_cat-present-future.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca2_cat-present-future.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca2_cat-present-past.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-ca2_cat-present-past.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca2_cat-present-past.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca2_cat-present-past.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca_cat12.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-ca_cat12.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca_cat12.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca_cat12.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-ca_cat21.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-ca_cat21.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-ca_cat21.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-ca_cat21.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-int-ca.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-int-ca.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-int-ca.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-int-ca.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-int-ca.key b/third_party/mbedtls/repo.patched/tests/data_files/test-int-ca.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-int-ca.key rename to third_party/mbedtls/repo.patched/tests/data_files/test-int-ca.key diff --git a/third_party/mbedtls/repo/tests/data_files/test-int-ca2.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-int-ca2.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-int-ca2.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-int-ca2.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-int-ca2.key b/third_party/mbedtls/repo.patched/tests/data_files/test-int-ca2.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-int-ca2.key rename to third_party/mbedtls/repo.patched/tests/data_files/test-int-ca2.key diff --git a/third_party/mbedtls/repo/tests/data_files/test-int-ca3.crt b/third_party/mbedtls/repo.patched/tests/data_files/test-int-ca3.crt similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-int-ca3.crt rename to third_party/mbedtls/repo.patched/tests/data_files/test-int-ca3.crt diff --git a/third_party/mbedtls/repo/tests/data_files/test-int-ca3.key b/third_party/mbedtls/repo.patched/tests/data_files/test-int-ca3.key similarity index 100% rename from third_party/mbedtls/repo/tests/data_files/test-int-ca3.key rename to third_party/mbedtls/repo.patched/tests/data_files/test-int-ca3.key diff --git a/third_party/mbedtls/repo/tests/scripts/all.sh b/third_party/mbedtls/repo.patched/tests/scripts/all.sh similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/all.sh rename to third_party/mbedtls/repo.patched/tests/scripts/all.sh diff --git a/third_party/mbedtls/repo/tests/scripts/basic-build-test.sh b/third_party/mbedtls/repo.patched/tests/scripts/basic-build-test.sh similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/basic-build-test.sh rename to third_party/mbedtls/repo.patched/tests/scripts/basic-build-test.sh diff --git a/third_party/mbedtls/repo/tests/scripts/check-doxy-blocks.pl b/third_party/mbedtls/repo.patched/tests/scripts/check-doxy-blocks.pl similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/check-doxy-blocks.pl rename to third_party/mbedtls/repo.patched/tests/scripts/check-doxy-blocks.pl diff --git a/third_party/mbedtls/repo/tests/scripts/check-generated-files.sh b/third_party/mbedtls/repo.patched/tests/scripts/check-generated-files.sh similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/check-generated-files.sh rename to third_party/mbedtls/repo.patched/tests/scripts/check-generated-files.sh diff --git a/third_party/mbedtls/repo/tests/scripts/check-names.sh b/third_party/mbedtls/repo.patched/tests/scripts/check-names.sh similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/check-names.sh rename to third_party/mbedtls/repo.patched/tests/scripts/check-names.sh diff --git a/third_party/mbedtls/repo/tests/scripts/curves.pl b/third_party/mbedtls/repo.patched/tests/scripts/curves.pl similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/curves.pl rename to third_party/mbedtls/repo.patched/tests/scripts/curves.pl diff --git a/third_party/mbedtls/repo/tests/scripts/doxygen.sh b/third_party/mbedtls/repo.patched/tests/scripts/doxygen.sh similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/doxygen.sh rename to third_party/mbedtls/repo.patched/tests/scripts/doxygen.sh diff --git a/third_party/mbedtls/repo/tests/scripts/gen_ctr_drbg.pl b/third_party/mbedtls/repo.patched/tests/scripts/gen_ctr_drbg.pl similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/gen_ctr_drbg.pl rename to third_party/mbedtls/repo.patched/tests/scripts/gen_ctr_drbg.pl diff --git a/third_party/mbedtls/repo/tests/scripts/gen_gcm_decrypt.pl b/third_party/mbedtls/repo.patched/tests/scripts/gen_gcm_decrypt.pl similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/gen_gcm_decrypt.pl rename to third_party/mbedtls/repo.patched/tests/scripts/gen_gcm_decrypt.pl diff --git a/third_party/mbedtls/repo/tests/scripts/gen_gcm_encrypt.pl b/third_party/mbedtls/repo.patched/tests/scripts/gen_gcm_encrypt.pl similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/gen_gcm_encrypt.pl rename to third_party/mbedtls/repo.patched/tests/scripts/gen_gcm_encrypt.pl diff --git a/third_party/mbedtls/repo/tests/scripts/gen_pkcs1_v21_sign_verify.pl b/third_party/mbedtls/repo.patched/tests/scripts/gen_pkcs1_v21_sign_verify.pl similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/gen_pkcs1_v21_sign_verify.pl rename to third_party/mbedtls/repo.patched/tests/scripts/gen_pkcs1_v21_sign_verify.pl diff --git a/third_party/mbedtls/repo/tests/scripts/generate-afl-tests.sh b/third_party/mbedtls/repo.patched/tests/scripts/generate-afl-tests.sh similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/generate-afl-tests.sh rename to third_party/mbedtls/repo.patched/tests/scripts/generate-afl-tests.sh diff --git a/third_party/mbedtls/repo/tests/scripts/generate_code.pl b/third_party/mbedtls/repo.patched/tests/scripts/generate_code.pl similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/generate_code.pl rename to third_party/mbedtls/repo.patched/tests/scripts/generate_code.pl diff --git a/third_party/mbedtls/repo/tests/scripts/key-exchanges.pl b/third_party/mbedtls/repo.patched/tests/scripts/key-exchanges.pl similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/key-exchanges.pl rename to third_party/mbedtls/repo.patched/tests/scripts/key-exchanges.pl diff --git a/third_party/mbedtls/repo/tests/scripts/list-enum-consts.pl b/third_party/mbedtls/repo.patched/tests/scripts/list-enum-consts.pl similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/list-enum-consts.pl rename to third_party/mbedtls/repo.patched/tests/scripts/list-enum-consts.pl diff --git a/third_party/mbedtls/repo/tests/scripts/list-identifiers.sh b/third_party/mbedtls/repo.patched/tests/scripts/list-identifiers.sh similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/list-identifiers.sh rename to third_party/mbedtls/repo.patched/tests/scripts/list-identifiers.sh diff --git a/third_party/mbedtls/repo/tests/scripts/list-macros.sh b/third_party/mbedtls/repo.patched/tests/scripts/list-macros.sh similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/list-macros.sh rename to third_party/mbedtls/repo.patched/tests/scripts/list-macros.sh diff --git a/third_party/mbedtls/repo/tests/scripts/list-symbols.sh b/third_party/mbedtls/repo.patched/tests/scripts/list-symbols.sh similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/list-symbols.sh rename to third_party/mbedtls/repo.patched/tests/scripts/list-symbols.sh diff --git a/third_party/mbedtls/repo/tests/scripts/recursion.pl b/third_party/mbedtls/repo.patched/tests/scripts/recursion.pl similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/recursion.pl rename to third_party/mbedtls/repo.patched/tests/scripts/recursion.pl diff --git a/third_party/mbedtls/repo/tests/scripts/run-test-suites.pl b/third_party/mbedtls/repo.patched/tests/scripts/run-test-suites.pl similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/run-test-suites.pl rename to third_party/mbedtls/repo.patched/tests/scripts/run-test-suites.pl diff --git a/third_party/mbedtls/repo/tests/scripts/test-ref-configs.pl b/third_party/mbedtls/repo.patched/tests/scripts/test-ref-configs.pl similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/test-ref-configs.pl rename to third_party/mbedtls/repo.patched/tests/scripts/test-ref-configs.pl diff --git a/third_party/mbedtls/repo/tests/scripts/travis-log-failure.sh b/third_party/mbedtls/repo.patched/tests/scripts/travis-log-failure.sh similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/travis-log-failure.sh rename to third_party/mbedtls/repo.patched/tests/scripts/travis-log-failure.sh diff --git a/third_party/mbedtls/repo/tests/scripts/yotta-build.sh b/third_party/mbedtls/repo.patched/tests/scripts/yotta-build.sh similarity index 100% rename from third_party/mbedtls/repo/tests/scripts/yotta-build.sh rename to third_party/mbedtls/repo.patched/tests/scripts/yotta-build.sh diff --git a/third_party/mbedtls/repo/tests/ssl-opt.sh b/third_party/mbedtls/repo.patched/tests/ssl-opt.sh similarity index 100% rename from third_party/mbedtls/repo/tests/ssl-opt.sh rename to third_party/mbedtls/repo.patched/tests/ssl-opt.sh diff --git a/third_party/mbedtls/repo/tests/suites/helpers.function b/third_party/mbedtls/repo.patched/tests/suites/helpers.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/helpers.function rename to third_party/mbedtls/repo.patched/tests/suites/helpers.function diff --git a/third_party/mbedtls/repo/tests/suites/main_test.function b/third_party/mbedtls/repo.patched/tests/suites/main_test.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/main_test.function rename to third_party/mbedtls/repo.patched/tests/suites/main_test.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_aes.cbc.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_aes.cbc.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_aes.cbc.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_aes.cbc.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_aes.cfb.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_aes.cfb.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_aes.cfb.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_aes.cfb.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_aes.ecb.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_aes.ecb.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_aes.ecb.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_aes.ecb.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_aes.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_aes.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_aes.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_aes.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_aes.rest.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_aes.rest.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_aes.rest.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_aes.rest.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_arc4.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_arc4.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_arc4.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_arc4.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_arc4.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_arc4.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_arc4.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_arc4.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_asn1write.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_asn1write.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_asn1write.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_asn1write.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_asn1write.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_asn1write.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_asn1write.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_asn1write.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_base64.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_base64.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_base64.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_base64.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_base64.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_base64.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_base64.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_base64.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_blowfish.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_blowfish.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_blowfish.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_blowfish.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_blowfish.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_blowfish.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_blowfish.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_blowfish.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_camellia.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_camellia.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_camellia.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_camellia.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_camellia.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_camellia.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_camellia.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_camellia.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ccm.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ccm.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ccm.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ccm.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ccm.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ccm.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ccm.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ccm.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_cipher.aes.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.aes.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_cipher.aes.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.aes.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_cipher.arc4.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.arc4.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_cipher.arc4.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.arc4.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_cipher.blowfish.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.blowfish.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_cipher.blowfish.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.blowfish.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_cipher.camellia.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.camellia.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_cipher.camellia.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.camellia.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_cipher.ccm.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.ccm.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_cipher.ccm.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.ccm.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_cipher.des.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.des.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_cipher.des.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.des.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_cipher.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_cipher.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_cipher.gcm.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.gcm.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_cipher.gcm.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.gcm.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_cipher.null.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.null.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_cipher.null.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.null.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_cipher.padding.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.padding.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_cipher.padding.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_cipher.padding.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_cmac.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_cmac.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_cmac.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_cmac.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_cmac.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_cmac.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_cmac.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_cmac.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ctr_drbg.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ctr_drbg.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ctr_drbg.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ctr_drbg.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ctr_drbg.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ctr_drbg.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ctr_drbg.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ctr_drbg.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_debug.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_debug.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_debug.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_debug.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_debug.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_debug.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_debug.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_debug.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_des.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_des.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_des.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_des.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_des.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_des.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_des.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_des.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_dhm.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_dhm.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_dhm.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_dhm.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_dhm.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_dhm.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_dhm.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_dhm.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ecdh.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ecdh.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ecdh.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ecdh.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ecdh.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ecdh.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ecdh.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ecdh.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ecdsa.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ecdsa.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ecdsa.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ecdsa.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ecdsa.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ecdsa.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ecdsa.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ecdsa.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ecjpake.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ecjpake.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ecjpake.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ecjpake.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ecjpake.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ecjpake.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ecjpake.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ecjpake.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ecp.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ecp.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ecp.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ecp.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ecp.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ecp.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ecp.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ecp.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_entropy.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_entropy.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_entropy.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_entropy.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_entropy.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_entropy.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_entropy.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_entropy.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_error.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_error.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_error.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_error.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_error.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_error.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_error.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_error.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_gcm.aes128_de.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.aes128_de.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_gcm.aes128_de.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.aes128_de.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_gcm.aes128_en.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.aes128_en.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_gcm.aes128_en.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.aes128_en.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_gcm.aes192_de.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.aes192_de.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_gcm.aes192_de.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.aes192_de.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_gcm.aes192_en.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.aes192_en.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_gcm.aes192_en.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.aes192_en.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_gcm.aes256_de.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.aes256_de.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_gcm.aes256_de.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.aes256_de.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_gcm.aes256_en.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.aes256_en.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_gcm.aes256_en.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.aes256_en.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_gcm.camellia.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.camellia.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_gcm.camellia.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.camellia.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_gcm.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_gcm.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_gcm.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_hmac_drbg.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_hmac_drbg.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_hmac_drbg.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_hmac_drbg.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_hmac_drbg.misc.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_hmac_drbg.misc.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_hmac_drbg.misc.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_hmac_drbg.misc.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_hmac_drbg.no_reseed.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_hmac_drbg.no_reseed.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_hmac_drbg.no_reseed.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_hmac_drbg.no_reseed.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_hmac_drbg.nopr.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_hmac_drbg.nopr.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_hmac_drbg.nopr.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_hmac_drbg.nopr.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_hmac_drbg.pr.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_hmac_drbg.pr.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_hmac_drbg.pr.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_hmac_drbg.pr.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_md.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_md.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_md.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_md.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_md.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_md.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_md.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_md.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_mdx.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_mdx.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_mdx.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_mdx.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_mdx.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_mdx.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_mdx.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_mdx.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_memory_buffer_alloc.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_memory_buffer_alloc.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_memory_buffer_alloc.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_memory_buffer_alloc.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_memory_buffer_alloc.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_memory_buffer_alloc.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_memory_buffer_alloc.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_memory_buffer_alloc.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_mpi.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_mpi.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_mpi.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_mpi.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_mpi.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_mpi.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_mpi.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_mpi.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pem.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pem.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pem.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pem.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pem.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pem.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pem.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pem.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pk.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pk.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pk.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pk.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pk.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pk.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pk.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pk.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pkcs1_v15.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pkcs1_v15.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pkcs1_v15.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pkcs1_v15.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pkcs1_v15.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pkcs1_v15.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pkcs1_v15.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pkcs1_v15.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pkcs1_v21.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pkcs1_v21.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pkcs1_v21.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pkcs1_v21.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pkcs1_v21.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pkcs1_v21.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pkcs1_v21.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pkcs1_v21.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pkcs5.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pkcs5.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pkcs5.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pkcs5.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pkcs5.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pkcs5.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pkcs5.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pkcs5.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pkparse.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pkparse.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pkparse.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pkparse.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pkparse.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pkparse.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pkparse.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pkparse.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pkwrite.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pkwrite.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pkwrite.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pkwrite.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_pkwrite.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_pkwrite.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_pkwrite.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_pkwrite.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_rsa.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_rsa.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_rsa.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_rsa.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_rsa.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_rsa.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_rsa.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_rsa.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_shax.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_shax.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_shax.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_shax.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_shax.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_shax.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_shax.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_shax.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ssl.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ssl.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ssl.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ssl.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_ssl.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_ssl.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_ssl.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_ssl.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_timing.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_timing.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_timing.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_timing.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_timing.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_timing.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_timing.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_timing.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_version.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_version.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_version.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_version.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_version.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_version.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_version.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_version.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_x509parse.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_x509parse.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_x509parse.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_x509parse.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_x509parse.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_x509parse.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_x509parse.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_x509parse.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_x509write.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_x509write.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_x509write.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_x509write.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_x509write.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_x509write.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_x509write.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_x509write.function diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_xtea.data b/third_party/mbedtls/repo.patched/tests/suites/test_suite_xtea.data similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_xtea.data rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_xtea.data diff --git a/third_party/mbedtls/repo/tests/suites/test_suite_xtea.function b/third_party/mbedtls/repo.patched/tests/suites/test_suite_xtea.function similarity index 100% rename from third_party/mbedtls/repo/tests/suites/test_suite_xtea.function rename to third_party/mbedtls/repo.patched/tests/suites/test_suite_xtea.function diff --git a/third_party/mbedtls/repo/visualc/VS2010/aescrypt2.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/aescrypt2.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/aescrypt2.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/aescrypt2.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/benchmark.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/benchmark.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/benchmark.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/benchmark.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/cert_app.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/cert_app.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/cert_app.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/cert_app.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/cert_req.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/cert_req.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/cert_req.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/cert_req.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/cert_write.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/cert_write.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/cert_write.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/cert_write.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/crl_app.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/crl_app.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/crl_app.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/crl_app.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/crypt_and_hash.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/crypt_and_hash.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/crypt_and_hash.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/crypt_and_hash.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/dh_client.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/dh_client.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/dh_client.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/dh_client.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/dh_genprime.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/dh_genprime.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/dh_genprime.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/dh_genprime.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/dh_server.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/dh_server.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/dh_server.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/dh_server.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/dtls_client.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/dtls_client.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/dtls_client.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/dtls_client.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/dtls_server.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/dtls_server.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/dtls_server.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/dtls_server.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/ecdsa.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/ecdsa.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/ecdsa.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/ecdsa.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/gen_entropy.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/gen_entropy.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/gen_entropy.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/gen_entropy.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/gen_key.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/gen_key.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/gen_key.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/gen_key.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/gen_random_ctr_drbg.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/gen_random_ctr_drbg.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/gen_random_ctr_drbg.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/gen_random_ctr_drbg.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/gen_random_havege.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/gen_random_havege.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/gen_random_havege.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/gen_random_havege.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/generic_sum.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/generic_sum.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/generic_sum.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/generic_sum.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/hello.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/hello.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/hello.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/hello.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/key_app.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/key_app.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/key_app.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/key_app.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/key_app_writer.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/key_app_writer.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/key_app_writer.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/key_app_writer.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/mbedTLS.sln b/third_party/mbedtls/repo.patched/visualc/VS2010/mbedTLS.sln similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/mbedTLS.sln rename to third_party/mbedtls/repo.patched/visualc/VS2010/mbedTLS.sln diff --git a/third_party/mbedtls/repo/visualc/VS2010/mbedTLS.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/mbedTLS.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/mbedTLS.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/mbedTLS.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/md5sum.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/md5sum.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/md5sum.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/md5sum.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/mini_client.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/mini_client.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/mini_client.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/mini_client.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/mpi_demo.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/mpi_demo.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/mpi_demo.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/mpi_demo.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/pem2der.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/pem2der.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/pem2der.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/pem2der.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/pk_decrypt.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/pk_decrypt.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/pk_decrypt.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/pk_decrypt.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/pk_encrypt.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/pk_encrypt.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/pk_encrypt.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/pk_encrypt.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/pk_sign.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/pk_sign.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/pk_sign.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/pk_sign.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/pk_verify.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/pk_verify.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/pk_verify.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/pk_verify.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/req_app.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/req_app.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/req_app.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/req_app.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/rsa_decrypt.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/rsa_decrypt.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/rsa_decrypt.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/rsa_decrypt.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/rsa_encrypt.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/rsa_encrypt.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/rsa_encrypt.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/rsa_encrypt.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/rsa_genkey.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/rsa_genkey.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/rsa_genkey.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/rsa_genkey.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/rsa_sign.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/rsa_sign.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/rsa_sign.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/rsa_sign.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/rsa_sign_pss.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/rsa_sign_pss.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/rsa_sign_pss.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/rsa_sign_pss.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/rsa_verify.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/rsa_verify.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/rsa_verify.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/rsa_verify.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/rsa_verify_pss.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/rsa_verify_pss.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/rsa_verify_pss.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/rsa_verify_pss.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/selftest.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/selftest.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/selftest.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/selftest.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/sha1sum.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/sha1sum.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/sha1sum.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/sha1sum.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/sha2sum.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/sha2sum.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/sha2sum.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/sha2sum.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/ssl_cert_test.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/ssl_cert_test.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/ssl_cert_test.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/ssl_cert_test.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/ssl_client1.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/ssl_client1.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/ssl_client1.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/ssl_client1.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/ssl_client2.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/ssl_client2.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/ssl_client2.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/ssl_client2.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/ssl_fork_server.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/ssl_fork_server.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/ssl_fork_server.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/ssl_fork_server.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/ssl_mail_client.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/ssl_mail_client.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/ssl_mail_client.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/ssl_mail_client.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/ssl_server.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/ssl_server.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/ssl_server.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/ssl_server.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/ssl_server2.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/ssl_server2.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/ssl_server2.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/ssl_server2.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/strerror.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/strerror.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/strerror.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/strerror.vcxproj diff --git a/third_party/mbedtls/repo/visualc/VS2010/udp_proxy.vcxproj b/third_party/mbedtls/repo.patched/visualc/VS2010/udp_proxy.vcxproj similarity index 100% rename from third_party/mbedtls/repo/visualc/VS2010/udp_proxy.vcxproj rename to third_party/mbedtls/repo.patched/visualc/VS2010/udp_proxy.vcxproj diff --git a/third_party/mbedtls/repo/yotta/.gitignore b/third_party/mbedtls/repo.patched/yotta/.gitignore similarity index 100% rename from third_party/mbedtls/repo/yotta/.gitignore rename to third_party/mbedtls/repo.patched/yotta/.gitignore diff --git a/third_party/mbedtls/repo/yotta/create-module.sh b/third_party/mbedtls/repo.patched/yotta/create-module.sh similarity index 100% rename from third_party/mbedtls/repo/yotta/create-module.sh rename to third_party/mbedtls/repo.patched/yotta/create-module.sh diff --git a/third_party/mbedtls/repo/yotta/data/README.md b/third_party/mbedtls/repo.patched/yotta/data/README.md similarity index 100% rename from third_party/mbedtls/repo/yotta/data/README.md rename to third_party/mbedtls/repo.patched/yotta/data/README.md diff --git a/third_party/mbedtls/repo/yotta/data/adjust-config.sh b/third_party/mbedtls/repo.patched/yotta/data/adjust-config.sh similarity index 100% rename from third_party/mbedtls/repo/yotta/data/adjust-config.sh rename to third_party/mbedtls/repo.patched/yotta/data/adjust-config.sh diff --git a/third_party/mbedtls/repo/yotta/data/entropy_hardware_poll.c b/third_party/mbedtls/repo.patched/yotta/data/entropy_hardware_poll.c similarity index 100% rename from third_party/mbedtls/repo/yotta/data/entropy_hardware_poll.c rename to third_party/mbedtls/repo.patched/yotta/data/entropy_hardware_poll.c diff --git a/third_party/mbedtls/repo/yotta/data/example-authcrypt/README.md b/third_party/mbedtls/repo.patched/yotta/data/example-authcrypt/README.md similarity index 100% rename from third_party/mbedtls/repo/yotta/data/example-authcrypt/README.md rename to third_party/mbedtls/repo.patched/yotta/data/example-authcrypt/README.md diff --git a/third_party/mbedtls/repo/yotta/data/example-authcrypt/main.cpp b/third_party/mbedtls/repo.patched/yotta/data/example-authcrypt/main.cpp similarity index 100% rename from third_party/mbedtls/repo/yotta/data/example-authcrypt/main.cpp rename to third_party/mbedtls/repo.patched/yotta/data/example-authcrypt/main.cpp diff --git a/third_party/mbedtls/repo/yotta/data/example-benchmark/README.md b/third_party/mbedtls/repo.patched/yotta/data/example-benchmark/README.md similarity index 100% rename from third_party/mbedtls/repo/yotta/data/example-benchmark/README.md rename to third_party/mbedtls/repo.patched/yotta/data/example-benchmark/README.md diff --git a/third_party/mbedtls/repo/yotta/data/example-benchmark/main.cpp b/third_party/mbedtls/repo.patched/yotta/data/example-benchmark/main.cpp similarity index 100% rename from third_party/mbedtls/repo/yotta/data/example-benchmark/main.cpp rename to third_party/mbedtls/repo.patched/yotta/data/example-benchmark/main.cpp diff --git a/third_party/mbedtls/repo/yotta/data/example-hashing/README.md b/third_party/mbedtls/repo.patched/yotta/data/example-hashing/README.md similarity index 100% rename from third_party/mbedtls/repo/yotta/data/example-hashing/README.md rename to third_party/mbedtls/repo.patched/yotta/data/example-hashing/README.md diff --git a/third_party/mbedtls/repo/yotta/data/example-hashing/main.cpp b/third_party/mbedtls/repo.patched/yotta/data/example-hashing/main.cpp similarity index 100% rename from third_party/mbedtls/repo/yotta/data/example-hashing/main.cpp rename to third_party/mbedtls/repo.patched/yotta/data/example-hashing/main.cpp diff --git a/third_party/mbedtls/repo/yotta/data/example-selftest/README.md b/third_party/mbedtls/repo.patched/yotta/data/example-selftest/README.md similarity index 100% rename from third_party/mbedtls/repo/yotta/data/example-selftest/README.md rename to third_party/mbedtls/repo.patched/yotta/data/example-selftest/README.md diff --git a/third_party/mbedtls/repo/yotta/data/example-selftest/main.cpp b/third_party/mbedtls/repo.patched/yotta/data/example-selftest/main.cpp similarity index 100% rename from third_party/mbedtls/repo/yotta/data/example-selftest/main.cpp rename to third_party/mbedtls/repo.patched/yotta/data/example-selftest/main.cpp diff --git a/third_party/mbedtls/repo/yotta/data/module.json b/third_party/mbedtls/repo.patched/yotta/data/module.json similarity index 100% rename from third_party/mbedtls/repo/yotta/data/module.json rename to third_party/mbedtls/repo.patched/yotta/data/module.json diff --git a/third_party/mbedtls/repo/yotta/data/target_config.h b/third_party/mbedtls/repo.patched/yotta/data/target_config.h similarity index 100% rename from third_party/mbedtls/repo/yotta/data/target_config.h rename to third_party/mbedtls/repo.patched/yotta/data/target_config.h diff --git a/third_party/mbedtls/repo/Makefile b/third_party/mbedtls/repo/Makefile deleted file mode 100644 index d475868a7..000000000 --- a/third_party/mbedtls/repo/Makefile +++ /dev/null @@ -1,110 +0,0 @@ - -DESTDIR=/usr/local -PREFIX=mbedtls_ - -.SILENT: - -.PHONY: all no_test programs lib tests install uninstall clean test check covtest lcov apidoc apidoc_clean - -all: programs tests - $(MAKE) post_build - -no_test: programs - -programs: lib - $(MAKE) -C programs - -lib: - $(MAKE) -C library - -tests: lib - $(MAKE) -C tests - -ifndef WINDOWS -install: no_test - mkdir -p $(DESTDIR)/include/mbedtls - cp -r include/mbedtls $(DESTDIR)/include - - mkdir -p $(DESTDIR)/lib - cp -RP library/libmbedtls.* $(DESTDIR)/lib - cp -RP library/libmbedx509.* $(DESTDIR)/lib - cp -RP library/libmbedcrypto.* $(DESTDIR)/lib - - mkdir -p $(DESTDIR)/bin - for p in programs/*/* ; do \ - if [ -x $$p ] && [ ! -d $$p ] ; \ - then \ - f=$(PREFIX)`basename $$p` ; \ - cp $$p $(DESTDIR)/bin/$$f ; \ - fi \ - done - -uninstall: - rm -rf $(DESTDIR)/include/mbedtls - rm -f $(DESTDIR)/lib/libmbedtls.* - rm -f $(DESTDIR)/lib/libmbedx509.* - rm -f $(DESTDIR)/lib/libmbedcrypto.* - - for p in programs/*/* ; do \ - if [ -x $$p ] && [ ! -d $$p ] ; \ - then \ - f=$(PREFIX)`basename $$p` ; \ - rm -f $(DESTDIR)/bin/$$f ; \ - fi \ - done -endif - -WARNING_BORDER =*******************************************************\n -NULL_ENTROPY_WARN_L1=**** WARNING! MBEDTLS_TEST_NULL_ENTROPY defined! ****\n -NULL_ENTROPY_WARN_L2=**** THIS BUILD HAS NO DEFINED ENTROPY SOURCES ****\n -NULL_ENTROPY_WARN_L3=**** AND IS *NOT* SUITABLE FOR PRODUCTION USE ****\n - -NULL_ENTROPY_WARNING=\n$(WARNING_BORDER)$(NULL_ENTROPY_WARN_L1)$(NULL_ENTROPY_WARN_L2)$(NULL_ENTROPY_WARN_L3)$(WARNING_BORDER) - -# Post build steps -post_build: -ifndef WINDOWS - # If NULL Entropy is configured, display an appropriate warning - -scripts/config.pl get MBEDTLS_TEST_NULL_ENTROPY && ([ $$? -eq 0 ]) && \ - echo '$(NULL_ENTROPY_WARNING)' -endif - -clean: - $(MAKE) -C library clean - $(MAKE) -C programs clean - $(MAKE) -C tests clean -ifndef WINDOWS - find . \( -name \*.gcno -o -name \*.gcda -o -name \*.info \) -exec rm {} + -endif - -check: lib tests - $(MAKE) -C tests check - -test: check - -ifndef WINDOWS -# note: for coverage testing, build with: -# make CFLAGS='--coverage -g3 -O0' -covtest: - $(MAKE) check - programs/test/selftest - tests/compat.sh - tests/ssl-opt.sh - -lcov: - rm -rf Coverage - lcov --capture --initial --directory library -o files.info - lcov --capture --directory library -o tests.info - lcov --add-tracefile files.info --add-tracefile tests.info -o all.info - lcov --remove all.info -o final.info '*.h' - gendesc tests/Descriptions.txt -o descriptions - genhtml --title "mbed TLS" --description-file descriptions --keep-descriptions --legend --no-branch-coverage -o Coverage final.info - rm -f files.info tests.info all.info final.info descriptions - -apidoc: - mkdir -p apidoc - doxygen doxygen/mbedtls.doxyfile - -apidoc_clean: - rm -rf apidoc -endif diff --git a/third_party/mbedtls/repo/library/Makefile b/third_party/mbedtls/repo/library/Makefile deleted file mode 100644 index 28f92315a..000000000 --- a/third_party/mbedtls/repo/library/Makefile +++ /dev/null @@ -1,169 +0,0 @@ - -# Also see "include/mbedtls/config.h" - -CFLAGS ?= -O2 -WARNING_CFLAGS ?= -Wall -W -Wdeclaration-after-statement -LDFLAGS ?= - -LOCAL_CFLAGS = $(WARNING_CFLAGS) -I../include -D_FILE_OFFSET_BITS=64 -LOCAL_LDFLAGS = - -ifdef DEBUG -LOCAL_CFLAGS += -g3 -endif - -# MicroBlaze specific options: -# CFLAGS += -mno-xl-soft-mul -mxl-barrel-shift - -# To compile on Plan9: -# CFLAGS += -D_BSD_EXTENSION - -# if were running on Windows build for Windows -ifdef WINDOWS -WINDOWS_BUILD=1 -endif - -# To compile as a shared library: -ifdef SHARED -# all code is position-indep with mingw, avoid warning about useless flag -ifndef WINDOWS_BUILD -LOCAL_CFLAGS += -fPIC -fpic -endif -endif - -SOEXT_TLS=so.10 -SOEXT_X509=so.0 -SOEXT_CRYPTO=so.0 - -DLEXT=so -# OSX shared library extension: -# DLEXT=dylib - -# Windows shared library extension: -ifdef WINDOWS_BUILD -DLEXT=dll -endif - -OBJS_CRYPTO= aes.o aesni.o arc4.o \ - asn1parse.o asn1write.o base64.o \ - bignum.o blowfish.o camellia.o \ - ccm.o cipher.o cipher_wrap.o \ - cmac.o ctr_drbg.o des.o \ - dhm.o ecdh.o ecdsa.o \ - ecjpake.o ecp.o \ - ecp_curves.o entropy.o entropy_poll.o \ - error.o gcm.o havege.o \ - hmac_drbg.o md.o md2.o \ - md4.o md5.o md_wrap.o \ - memory_buffer_alloc.o oid.o \ - padlock.o pem.o pk.o \ - pk_wrap.o pkcs12.o pkcs5.o \ - pkparse.o pkwrite.o platform.o \ - ripemd160.o rsa.o sha1.o \ - sha256.o sha512.o threading.o \ - timing.o version.o \ - version_features.o xtea.o - -OBJS_X509= certs.o pkcs11.o x509.o \ - x509_create.o x509_crl.o x509_crt.o \ - x509_csr.o x509write_crt.o x509write_csr.o - -OBJS_TLS= debug.o net_sockets.o \ - ssl_cache.o ssl_ciphersuites.o \ - ssl_cli.o ssl_cookie.o \ - ssl_srv.o ssl_ticket.o \ - ssl_tls.o - -.SILENT: - -.PHONY: all static shared clean - -ifndef SHARED -all: static -else -all: shared static -endif - -static: libmbedcrypto.a libmbedx509.a libmbedtls.a - -shared: libmbedcrypto.$(DLEXT) libmbedx509.$(DLEXT) libmbedtls.$(DLEXT) - -# tls -libmbedtls.a: $(OBJS_TLS) - echo " AR $@" - $(AR) -rc $@ $(OBJS_TLS) - echo " RL $@" - $(AR) -s $@ - -libmbedtls.$(SOEXT_TLS): $(OBJS_TLS) libmbedx509.so - echo " LD $@" - $(CC) -shared -Wl,-soname,$@ -L. -lmbedcrypto -lmbedx509 $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_TLS) - -libmbedtls.so: libmbedtls.$(SOEXT_TLS) - echo " LN $@ -> $<" - ln -sf $< $@ - -libmbedtls.dylib: $(OBJS_TLS) - echo " LD $@" - $(CC) -dynamiclib $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_TLS) - -libmbedtls.dll: $(OBJS_TLS) libmbedx509.dll - echo " LD $@" - $(CC) -shared -Wl,-soname,$@ -Wl,--out-implib,$@.a -o $@ $(OBJS_TLS) -lws2_32 -lwinmm -lgdi32 -L. -lmbedcrypto -lmbedx509 -static-libgcc $(LOCAL_LDFLAGS) $(LDFLAGS) - -# x509 -libmbedx509.a: $(OBJS_X509) - echo " AR $@" - $(AR) -rc $@ $(OBJS_X509) - echo " RL $@" - $(AR) -s $@ - -libmbedx509.$(SOEXT_X509): $(OBJS_X509) libmbedcrypto.so - echo " LD $@" - $(CC) -shared -Wl,-soname,$@ -L. -lmbedcrypto $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_X509) - -libmbedx509.so: libmbedx509.$(SOEXT_X509) - echo " LN $@ -> $<" - ln -sf $< $@ - -libmbedx509.dylib: $(OBJS_X509) - echo " LD $@" - $(CC) -dynamiclib $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_X509) - -libmbedx509.dll: $(OBJS_X509) libmbedcrypto.dll - echo " LD $@" - $(CC) -shared -Wl,-soname,$@ -Wl,--out-implib,$@.a -o $@ $(OBJS_X509) -lws2_32 -lwinmm -lgdi32 -L. -lmbedcrypto -static-libgcc $(LOCAL_LDFLAGS) $(LDFLAGS) - -# crypto -libmbedcrypto.a: $(OBJS_CRYPTO) - echo " AR $@" - $(AR) -rc $@ $(OBJS_CRYPTO) - echo " RL $@" - $(AR) -s $@ - -libmbedcrypto.$(SOEXT_CRYPTO): $(OBJS_CRYPTO) - echo " LD $@" - $(CC) -shared -Wl,-soname,$@ $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_CRYPTO) - -libmbedcrypto.so: libmbedcrypto.$(SOEXT_CRYPTO) - echo " LN $@ -> $<" - ln -sf $< $@ - -libmbedcrypto.dylib: $(OBJS_CRYPTO) - echo " LD $@" - $(CC) -dynamiclib $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ $(OBJS_CRYPTO) - -libmbedcrypto.dll: $(OBJS_CRYPTO) - echo " LD $@" - $(CC) -shared -Wl,-soname,$@ -Wl,--out-implib,$@.a -o $@ $(OBJS_CRYPTO) -lws2_32 -lwinmm -lgdi32 -static-libgcc $(LOCAL_LDFLAGS) $(LDFLAGS) - -.c.o: - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) -c $< - -clean: -ifndef WINDOWS - rm -f *.o libmbed* -else - del /Q /F *.o libmbed* -endif diff --git a/third_party/mbedtls/repo/programs/Makefile b/third_party/mbedtls/repo/programs/Makefile deleted file mode 100644 index 443689b1b..000000000 --- a/third_party/mbedtls/repo/programs/Makefile +++ /dev/null @@ -1,288 +0,0 @@ - -# To compile on SunOS: add "-lsocket -lnsl" to LDFLAGS -# To compile with PKCS11: add "-lpkcs11-helper" to LDFLAGS - -CFLAGS ?= -O2 -WARNING_CFLAGS ?= -Wall -W -Wdeclaration-after-statement -LDFLAGS ?= - -LOCAL_CFLAGS = $(WARNING_CFLAGS) -I../include -D_FILE_OFFSET_BITS=64 -LOCAL_LDFLAGS = -L../library \ - -lmbedtls$(SHARED_SUFFIX) \ - -lmbedx509$(SHARED_SUFFIX) \ - -lmbedcrypto$(SHARED_SUFFIX) - -ifndef SHARED -DEP=../library/libmbedcrypto.a ../library/libmbedx509.a ../library/libmbedtls.a -else -DEP=../library/libmbedcrypto.$(DLEXT) ../library/libmbedx509.$(DLEXT) ../library/libmbedtls.$(DLEXT) -endif - -ifdef DEBUG -LOCAL_CFLAGS += -g3 -endif - -# if we're running on Windows, build for Windows -ifdef WINDOWS -WINDOWS_BUILD=1 -endif - -ifdef WINDOWS_BUILD -DLEXT=dll -EXEXT=.exe -LOCAL_LDFLAGS += -lws2_32 -ifdef SHARED -SHARED_SUFFIX=.$(DLEXT) -endif -else -DLEXT=so -EXEXT= -SHARED_SUFFIX= -endif - -# Zlib shared library extensions: -ifdef ZLIB -LOCAL_LDFLAGS += -lz -endif - -APPS = aes/aescrypt2$(EXEXT) aes/crypt_and_hash$(EXEXT) \ - hash/hello$(EXEXT) hash/generic_sum$(EXEXT) \ - pkey/dh_client$(EXEXT) \ - pkey/dh_genprime$(EXEXT) pkey/dh_server$(EXEXT) \ - pkey/ecdh_curve25519$(EXEXT) \ - pkey/ecdsa$(EXEXT) pkey/gen_key$(EXEXT) \ - pkey/key_app$(EXEXT) pkey/key_app_writer$(EXEXT) \ - pkey/mpi_demo$(EXEXT) pkey/pk_decrypt$(EXEXT) \ - pkey/pk_encrypt$(EXEXT) pkey/pk_sign$(EXEXT) \ - pkey/pk_verify$(EXEXT) pkey/rsa_genkey$(EXEXT) \ - pkey/rsa_decrypt$(EXEXT) pkey/rsa_encrypt$(EXEXT) \ - pkey/rsa_sign$(EXEXT) pkey/rsa_verify$(EXEXT) \ - pkey/rsa_sign_pss$(EXEXT) pkey/rsa_verify_pss$(EXEXT) \ - ssl/dtls_client$(EXEXT) ssl/dtls_server$(EXEXT) \ - ssl/ssl_client1$(EXEXT) ssl/ssl_client2$(EXEXT) \ - ssl/ssl_server$(EXEXT) ssl/ssl_server2$(EXEXT) \ - ssl/ssl_fork_server$(EXEXT) ssl/mini_client$(EXEXT) \ - ssl/ssl_mail_client$(EXEXT) random/gen_entropy$(EXEXT) \ - random/gen_random_havege$(EXEXT) \ - random/gen_random_ctr_drbg$(EXEXT) \ - test/ssl_cert_test$(EXEXT) test/benchmark$(EXEXT) \ - test/selftest$(EXEXT) test/udp_proxy$(EXEXT) \ - util/pem2der$(EXEXT) util/strerror$(EXEXT) \ - x509/cert_app$(EXEXT) x509/crl_app$(EXEXT) \ - x509/cert_req$(EXEXT) x509/cert_write$(EXEXT) \ - x509/req_app$(EXEXT) - -ifdef PTHREAD -APPS += ssl/ssl_pthread_server$(EXEXT) -endif - -.SILENT: - -.PHONY: all clean list - -all: $(APPS) - -$(DEP): - $(MAKE) -C ../library - -aes/aescrypt2$(EXEXT): aes/aescrypt2.c $(DEP) - echo " CC aes/aescrypt2.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) aes/aescrypt2.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -aes/crypt_and_hash$(EXEXT): aes/crypt_and_hash.c $(DEP) - echo " CC aes/crypt_and_hash.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) aes/crypt_and_hash.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -hash/hello$(EXEXT): hash/hello.c $(DEP) - echo " CC hash/hello.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) hash/hello.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -hash/generic_sum$(EXEXT): hash/generic_sum.c $(DEP) - echo " CC hash/generic_sum.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) hash/generic_sum.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/dh_client$(EXEXT): pkey/dh_client.c $(DEP) - echo " CC pkey/dh_client.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/dh_client.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/dh_genprime$(EXEXT): pkey/dh_genprime.c $(DEP) - echo " CC pkey/dh_genprime.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/dh_genprime.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/dh_server$(EXEXT): pkey/dh_server.c $(DEP) - echo " CC pkey/dh_server.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/dh_server.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/ecdh_curve25519$(EXEXT): pkey/ecdh_curve25519.c $(DEP) - echo " CC pkey/ecdh_curve25519.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/ecdh_curve25519.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/ecdsa$(EXEXT): pkey/ecdsa.c $(DEP) - echo " CC pkey/ecdsa.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/ecdsa.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/gen_key$(EXEXT): pkey/gen_key.c $(DEP) - echo " CC pkey/gen_key.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/gen_key.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/key_app$(EXEXT): pkey/key_app.c $(DEP) - echo " CC pkey/key_app.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/key_app.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/key_app_writer$(EXEXT): pkey/key_app_writer.c $(DEP) - echo " CC pkey/key_app_writer.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/key_app_writer.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/mpi_demo$(EXEXT): pkey/mpi_demo.c $(DEP) - echo " CC pkey/mpi_demo.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/mpi_demo.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/pk_decrypt$(EXEXT): pkey/pk_decrypt.c $(DEP) - echo " CC pkey/pk_decrypt.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/pk_decrypt.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/pk_encrypt$(EXEXT): pkey/pk_encrypt.c $(DEP) - echo " CC pkey/pk_encrypt.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/pk_encrypt.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/pk_sign$(EXEXT): pkey/pk_sign.c $(DEP) - echo " CC pkey/pk_sign.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/pk_sign.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/pk_verify$(EXEXT): pkey/pk_verify.c $(DEP) - echo " CC pkey/pk_verify.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/pk_verify.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/rsa_genkey$(EXEXT): pkey/rsa_genkey.c $(DEP) - echo " CC pkey/rsa_genkey.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/rsa_genkey.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/rsa_sign$(EXEXT): pkey/rsa_sign.c $(DEP) - echo " CC pkey/rsa_sign.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/rsa_sign.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/rsa_verify$(EXEXT): pkey/rsa_verify.c $(DEP) - echo " CC pkey/rsa_verify.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/rsa_verify.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/rsa_sign_pss$(EXEXT): pkey/rsa_sign_pss.c $(DEP) - echo " CC pkey/rsa_sign_pss.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/rsa_sign_pss.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/rsa_verify_pss$(EXEXT): pkey/rsa_verify_pss.c $(DEP) - echo " CC pkey/rsa_verify_pss.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/rsa_verify_pss.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/rsa_decrypt$(EXEXT): pkey/rsa_decrypt.c $(DEP) - echo " CC pkey/rsa_decrypt.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/rsa_decrypt.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -pkey/rsa_encrypt$(EXEXT): pkey/rsa_encrypt.c $(DEP) - echo " CC pkey/rsa_encrypt.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/rsa_encrypt.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -random/gen_entropy$(EXEXT): random/gen_entropy.c $(DEP) - echo " CC random/gen_entropy.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) random/gen_entropy.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -random/gen_random_havege$(EXEXT): random/gen_random_havege.c $(DEP) - echo " CC random/gen_random_havege.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) random/gen_random_havege.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -random/gen_random_ctr_drbg$(EXEXT): random/gen_random_ctr_drbg.c $(DEP) - echo " CC random/gen_random_ctr_drbg.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) random/gen_random_ctr_drbg.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -ssl/dtls_client$(EXEXT): ssl/dtls_client.c $(DEP) - echo " CC ssl/dtls_client.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) ssl/dtls_client.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -ssl/dtls_server$(EXEXT): ssl/dtls_server.c $(DEP) - echo " CC ssl/dtls_server.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) ssl/dtls_server.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -ssl/ssl_client1$(EXEXT): ssl/ssl_client1.c $(DEP) - echo " CC ssl/ssl_client1.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) ssl/ssl_client1.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -ssl/ssl_client2$(EXEXT): ssl/ssl_client2.c $(DEP) - echo " CC ssl/ssl_client2.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) ssl/ssl_client2.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -ssl/ssl_server$(EXEXT): ssl/ssl_server.c $(DEP) - echo " CC ssl/ssl_server.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) ssl/ssl_server.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -ssl/ssl_server2$(EXEXT): ssl/ssl_server2.c $(DEP) - echo " CC ssl/ssl_server2.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) ssl/ssl_server2.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -ssl/ssl_fork_server$(EXEXT): ssl/ssl_fork_server.c $(DEP) - echo " CC ssl/ssl_fork_server.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) ssl/ssl_fork_server.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -ssl/ssl_pthread_server$(EXEXT): ssl/ssl_pthread_server.c $(DEP) - echo " CC ssl/ssl_pthread_server.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) ssl/ssl_pthread_server.c $(LOCAL_LDFLAGS) -lpthread $(LDFLAGS) -o $@ - -ssl/ssl_mail_client$(EXEXT): ssl/ssl_mail_client.c $(DEP) - echo " CC ssl/ssl_mail_client.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) ssl/ssl_mail_client.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -ssl/mini_client$(EXEXT): ssl/mini_client.c $(DEP) - echo " CC ssl/mini_client.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) ssl/mini_client.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test/ssl_cert_test$(EXEXT): test/ssl_cert_test.c $(DEP) - echo " CC test/ssl_cert_test.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) test/ssl_cert_test.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test/benchmark$(EXEXT): test/benchmark.c $(DEP) - echo " CC test/benchmark.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) test/benchmark.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test/selftest$(EXEXT): test/selftest.c $(DEP) - echo " CC test/selftest.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) test/selftest.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test/udp_proxy$(EXEXT): test/udp_proxy.c $(DEP) - echo " CC test/udp_proxy.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) test/udp_proxy.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -util/pem2der$(EXEXT): util/pem2der.c $(DEP) - echo " CC util/pem2der.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) util/pem2der.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -util/strerror$(EXEXT): util/strerror.c $(DEP) - echo " CC util/strerror.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) util/strerror.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -x509/cert_app$(EXEXT): x509/cert_app.c $(DEP) - echo " CC x509/cert_app.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) x509/cert_app.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -x509/cert_write$(EXEXT): x509/cert_write.c $(DEP) - echo " CC x509/cert_write.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) x509/cert_write.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -x509/crl_app$(EXEXT): x509/crl_app.c $(DEP) - echo " CC x509/crl_app.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) x509/crl_app.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -x509/cert_req$(EXEXT): x509/cert_req.c $(DEP) - echo " CC x509/cert_req.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) x509/cert_req.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -x509/req_app$(EXEXT): x509/req_app.c $(DEP) - echo " CC x509/req_app.c" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) x509/req_app.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -clean: -ifndef WINDOWS - rm -f $(APPS) -else - del /S /Q /F *.o *.exe -endif - -list: - echo $(APPS) diff --git a/third_party/mbedtls/repo/tests/Makefile b/third_party/mbedtls/repo/tests/Makefile deleted file mode 100644 index 4787f2508..000000000 --- a/third_party/mbedtls/repo/tests/Makefile +++ /dev/null @@ -1,450 +0,0 @@ - -# To compile on SunOS: add "-lsocket -lnsl" to LDFLAGS -# To compile with PKCS11: add "-lpkcs11-helper" to LDFLAGS - -CFLAGS ?= -O2 -WARNING_CFLAGS ?= -Wall -W -Wdeclaration-after-statement -Wno-unused-function -Wno-unused-value -LDFLAGS ?= - -LOCAL_CFLAGS = $(WARNING_CFLAGS) -I../include -D_FILE_OFFSET_BITS=64 -LOCAL_LDFLAGS = -L../library \ - -lmbedtls$(SHARED_SUFFIX) \ - -lmbedx509$(SHARED_SUFFIX) \ - -lmbedcrypto$(SHARED_SUFFIX) - -ifndef SHARED -DEP=../library/libmbedcrypto.a ../library/libmbedx509.a ../library/libmbedtls.a -else -DEP=../library/libmbedcrypto.$(DLEXT) ../library/libmbedx509.$(DLEXT) ../library/libmbedtls.$(DLEXT) -endif - -ifdef DEBUG -LOCAL_CFLAGS += -g3 -endif - -# if we're running on Windows, build for Windows -ifdef WINDOWS -WINDOWS_BUILD=1 -endif - -ifdef WINDOWS_BUILD -DLEXT=dll -EXEXT=.exe -LOCAL_LDFLAGS += -lws2_32 -ifdef SHARED -SHARED_SUFFIX=.$(DLEXT) -endif -else -DLEXT=so -EXEXT= -SHARED_SUFFIX= -endif - -# Zlib shared library extensions: -ifdef ZLIB -LOCAL_LDFLAGS += -lz -endif - -APPS = test_suite_aes.ecb$(EXEXT) test_suite_aes.cbc$(EXEXT) \ - test_suite_aes.cfb$(EXEXT) test_suite_aes.rest$(EXEXT) \ - test_suite_arc4$(EXEXT) test_suite_asn1write$(EXEXT) \ - test_suite_base64$(EXEXT) test_suite_blowfish$(EXEXT) \ - test_suite_camellia$(EXEXT) test_suite_ccm$(EXEXT) \ - test_suite_cmac$(EXEXT) \ - test_suite_cipher.aes$(EXEXT) \ - test_suite_cipher.arc4$(EXEXT) test_suite_cipher.ccm$(EXEXT) \ - test_suite_cipher.gcm$(EXEXT) \ - test_suite_cipher.blowfish$(EXEXT) \ - test_suite_cipher.camellia$(EXEXT) \ - test_suite_cipher.des$(EXEXT) test_suite_cipher.null$(EXEXT) \ - test_suite_cipher.padding$(EXEXT) \ - test_suite_ctr_drbg$(EXEXT) test_suite_debug$(EXEXT) \ - test_suite_des$(EXEXT) test_suite_dhm$(EXEXT) \ - test_suite_ecdh$(EXEXT) test_suite_ecdsa$(EXEXT) \ - test_suite_ecjpake$(EXEXT) test_suite_ecp$(EXEXT) \ - test_suite_error$(EXEXT) test_suite_entropy$(EXEXT) \ - test_suite_gcm.aes128_de$(EXEXT) \ - test_suite_gcm.aes192_de$(EXEXT) \ - test_suite_gcm.aes256_de$(EXEXT) \ - test_suite_gcm.aes128_en$(EXEXT) \ - test_suite_gcm.aes192_en$(EXEXT) \ - test_suite_gcm.aes256_en$(EXEXT) \ - test_suite_gcm.camellia$(EXEXT) \ - test_suite_hmac_drbg.misc$(EXEXT) \ - test_suite_hmac_drbg.no_reseed$(EXEXT) \ - test_suite_hmac_drbg.nopr$(EXEXT) \ - test_suite_hmac_drbg.pr$(EXEXT) \ - test_suite_md$(EXEXT) test_suite_mdx$(EXEXT) \ - test_suite_memory_buffer_alloc$(EXEXT) \ - test_suite_mpi$(EXEXT) \ - test_suite_pem$(EXEXT) test_suite_pkcs1_v15$(EXEXT) \ - test_suite_pkcs1_v21$(EXEXT) test_suite_pkcs5$(EXEXT) \ - test_suite_pkparse$(EXEXT) test_suite_pkwrite$(EXEXT) \ - test_suite_pk$(EXEXT) \ - test_suite_rsa$(EXEXT) test_suite_shax$(EXEXT) \ - test_suite_ssl$(EXEXT) test_suite_timing$(EXEXT) \ - test_suite_x509parse$(EXEXT) test_suite_x509write$(EXEXT) \ - test_suite_xtea$(EXEXT) test_suite_version$(EXEXT) - -.SILENT: - -.PHONY: all check test clean - -all: $(APPS) - -$(DEP): - $(MAKE) -C ../library - -# invoke perl explicitly for the sake of mingw32-make - -test_suite_aes.ecb.c : suites/test_suite_aes.function suites/test_suite_aes.ecb.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_aes test_suite_aes.ecb - -test_suite_aes.cbc.c : suites/test_suite_aes.function suites/test_suite_aes.cbc.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_aes test_suite_aes.cbc - -test_suite_aes.cfb.c : suites/test_suite_aes.function suites/test_suite_aes.cfb.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_aes test_suite_aes.cfb - -test_suite_aes.rest.c : suites/test_suite_aes.function suites/test_suite_aes.rest.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_aes test_suite_aes.rest - -test_suite_cipher.aes.c : suites/test_suite_cipher.function suites/test_suite_cipher.aes.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_cipher test_suite_cipher.aes - -test_suite_cipher.arc4.c : suites/test_suite_cipher.function suites/test_suite_cipher.arc4.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_cipher test_suite_cipher.arc4 - -test_suite_cipher.ccm.c : suites/test_suite_cipher.function suites/test_suite_cipher.ccm.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_cipher test_suite_cipher.ccm - -test_suite_cipher.gcm.c : suites/test_suite_cipher.function suites/test_suite_cipher.gcm.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_cipher test_suite_cipher.gcm - -test_suite_cipher.blowfish.c : suites/test_suite_cipher.function suites/test_suite_cipher.blowfish.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_cipher test_suite_cipher.blowfish - -test_suite_cipher.camellia.c : suites/test_suite_cipher.function suites/test_suite_cipher.camellia.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_cipher test_suite_cipher.camellia - -test_suite_cipher.des.c : suites/test_suite_cipher.function suites/test_suite_cipher.des.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_cipher test_suite_cipher.des - -test_suite_cipher.null.c : suites/test_suite_cipher.function suites/test_suite_cipher.null.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_cipher test_suite_cipher.null - -test_suite_cipher.padding.c : suites/test_suite_cipher.function suites/test_suite_cipher.padding.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_cipher test_suite_cipher.padding - -test_suite_gcm.aes128_de.c : suites/test_suite_gcm.function suites/test_suite_gcm.aes128_de.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_gcm test_suite_gcm.aes128_de - -test_suite_gcm.aes192_de.c : suites/test_suite_gcm.function suites/test_suite_gcm.aes192_de.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_gcm test_suite_gcm.aes192_de - -test_suite_gcm.aes256_de.c : suites/test_suite_gcm.function suites/test_suite_gcm.aes256_de.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_gcm test_suite_gcm.aes256_de - -test_suite_gcm.aes128_en.c : suites/test_suite_gcm.function suites/test_suite_gcm.aes128_en.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_gcm test_suite_gcm.aes128_en - -test_suite_gcm.aes192_en.c : suites/test_suite_gcm.function suites/test_suite_gcm.aes192_en.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_gcm test_suite_gcm.aes192_en - -test_suite_gcm.aes256_en.c : suites/test_suite_gcm.function suites/test_suite_gcm.aes256_en.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_gcm test_suite_gcm.aes256_en - -test_suite_gcm.camellia.c : suites/test_suite_gcm.function suites/test_suite_gcm.camellia.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_gcm test_suite_gcm.camellia - -test_suite_hmac_drbg.misc.c : suites/test_suite_hmac_drbg.function suites/test_suite_hmac_drbg.misc.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_hmac_drbg test_suite_hmac_drbg.misc - -test_suite_hmac_drbg.no_reseed.c : suites/test_suite_hmac_drbg.function suites/test_suite_hmac_drbg.no_reseed.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_hmac_drbg test_suite_hmac_drbg.no_reseed - -test_suite_hmac_drbg.nopr.c : suites/test_suite_hmac_drbg.function suites/test_suite_hmac_drbg.nopr.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_hmac_drbg test_suite_hmac_drbg.nopr - -test_suite_hmac_drbg.pr.c : suites/test_suite_hmac_drbg.function suites/test_suite_hmac_drbg.pr.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites test_suite_hmac_drbg test_suite_hmac_drbg.pr - -%.c : suites/%.function suites/%.data scripts/generate_code.pl suites/helpers.function suites/main_test.function - echo " Gen $@" - perl scripts/generate_code.pl suites $* $* - -test_suite_aes.ecb$(EXEXT): test_suite_aes.ecb.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_aes.cbc$(EXEXT): test_suite_aes.cbc.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_aes.cfb$(EXEXT): test_suite_aes.cfb.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_aes.rest$(EXEXT): test_suite_aes.rest.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_arc4$(EXEXT): test_suite_arc4.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_asn1write$(EXEXT): test_suite_asn1write.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_base64$(EXEXT): test_suite_base64.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_blowfish$(EXEXT): test_suite_blowfish.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_camellia$(EXEXT): test_suite_camellia.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_ccm$(EXEXT): test_suite_ccm.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_cmac$(EXEXT): test_suite_cmac.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_cipher.aes$(EXEXT): test_suite_cipher.aes.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_cipher.arc4$(EXEXT): test_suite_cipher.arc4.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_cipher.ccm$(EXEXT): test_suite_cipher.ccm.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_cipher.gcm$(EXEXT): test_suite_cipher.gcm.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_cipher.blowfish$(EXEXT): test_suite_cipher.blowfish.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_cipher.camellia$(EXEXT): test_suite_cipher.camellia.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_cipher.des$(EXEXT): test_suite_cipher.des.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_cipher.null$(EXEXT): test_suite_cipher.null.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_cipher.padding$(EXEXT): test_suite_cipher.padding.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_ctr_drbg$(EXEXT): test_suite_ctr_drbg.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_des$(EXEXT): test_suite_des.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_dhm$(EXEXT): test_suite_dhm.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_ecdh$(EXEXT): test_suite_ecdh.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_ecdsa$(EXEXT): test_suite_ecdsa.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_ecjpake$(EXEXT): test_suite_ecjpake.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_ecp$(EXEXT): test_suite_ecp.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_entropy$(EXEXT): test_suite_entropy.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_error$(EXEXT): test_suite_error.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_gcm.aes128_de$(EXEXT): test_suite_gcm.aes128_de.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_gcm.aes192_de$(EXEXT): test_suite_gcm.aes192_de.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_gcm.aes256_de$(EXEXT): test_suite_gcm.aes256_de.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_gcm.aes128_en$(EXEXT): test_suite_gcm.aes128_en.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_gcm.aes192_en$(EXEXT): test_suite_gcm.aes192_en.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_gcm.aes256_en$(EXEXT): test_suite_gcm.aes256_en.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_gcm.camellia$(EXEXT): test_suite_gcm.camellia.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_hmac_drbg.misc$(EXEXT): test_suite_hmac_drbg.misc.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_hmac_drbg.no_reseed$(EXEXT): test_suite_hmac_drbg.no_reseed.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_hmac_drbg.nopr$(EXEXT): test_suite_hmac_drbg.nopr.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_hmac_drbg.pr$(EXEXT): test_suite_hmac_drbg.pr.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_md$(EXEXT): test_suite_md.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_mdx$(EXEXT): test_suite_mdx.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_memory_buffer_alloc$(EXEXT): test_suite_memory_buffer_alloc.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_mpi$(EXEXT): test_suite_mpi.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_pem$(EXEXT): test_suite_pem.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_pkcs1_v15$(EXEXT): test_suite_pkcs1_v15.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_pkcs1_v21$(EXEXT): test_suite_pkcs1_v21.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_pkcs5$(EXEXT): test_suite_pkcs5.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_pkparse$(EXEXT): test_suite_pkparse.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_pkwrite$(EXEXT): test_suite_pkwrite.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_pk$(EXEXT): test_suite_pk.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_rsa$(EXEXT): test_suite_rsa.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_shax$(EXEXT): test_suite_shax.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_ssl$(EXEXT): test_suite_ssl.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_timing$(EXEXT): test_suite_timing.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_x509parse$(EXEXT): test_suite_x509parse.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_x509write$(EXEXT): test_suite_x509write.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_xtea$(EXEXT): test_suite_xtea.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_debug$(EXEXT): test_suite_debug.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -test_suite_version$(EXEXT): test_suite_version.c $(DEP) - echo " CC $<" - $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ - -clean: -ifndef WINDOWS - rm -f $(APPS) *.c -else - del /Q /F *.c *.exe -endif - -check: $(APPS) - perl scripts/run-test-suites.pl - -test: check