summaryrefslogtreecommitdiffstats
path: root/thirdparty/mbedtls
Commit message (Collapse)AuthorAgeFilesLines
* [Windows] Improve build environment detection, add support for Windows on ARM.bruvzg2022-08-271-1/+3
|
* Bump mbedtls to 2.18.1 (headers).Fabio Alessandrelli2022-07-1834-131/+341
|
* Bump mbedtls to version 2.18.1, update LICENSE.Fabio Alessandrelli2022-07-1831-310/+632
| | | | | | Keep applying windows entropy patch. Update thirdparty/README with correct version information.
* [Crypto] Implement CryptoCore::RandomGenerator.Fabio Alessandrelli2022-02-141-0/+5
| | | | | | | | | | As a cryptographically secure random generator. Internally it uses mbedTLS CTR-DRBG implementation which gets re-seeded with entropy from OS::get_entropy when needed. CryptoCore now additionally depends on `ctr_drbg.c` and `entropy.c` thirdparty mbedtls files.
* Bump mbedTLS version to 2.28.0 (new LTS).Fabio Alessandrelli2021-12-21174-17341/+27113
| | | | | | | Keep applying the windows entropy patch (UWP support). Remove no longer needed padlock patch. Update thirdparty README to reflect changes, and new source inclusion criteria.
* Bump mbedtls to 2.16.12Fabio Alessandrelli2021-12-2064-875/+1079
| | | | | | | Remove upstreamed patches. Re-apply padlock and uwp patches. NOTE: We could replace our padloack patch with mbedtls 3452.
* mbedtls: Backport PR 4819 to fix certs parsing speedRémi Verschelde2021-10-252-159/+437
| | | | | Fixes engine startup time regression described here: https://github.com/godotengine/godot/issues/43351#issuecomment-847466783
* mbedtls: Backport "Fix x86_64 assembly for bignum multiplication"Rémi Verschelde2021-10-142-3/+39
| | | | | | | Backports PR https://github.com/ARMmbed/mbedtls/pull/4948 to fix a regression with our macOS builds using Clang 12. Fixes #53297.
* mbedtls: Update to upstream version 2.16.11Rémi Verschelde2021-07-2025-602/+1034
|
* Bump mbedtls to version 2.16.10.Fabio Alessandrelli2021-03-1220-62/+371
|
* mbedtls: Update to upstream version 2.16.9Rémi Verschelde2020-12-1834-645/+748
|
* Update mbedTLS to version 2.16.8 (+ patch).Fabio Alessandrelli2020-09-07157-768/+834
|
* Update to mbedtls 2.16.7Fabio Alessandrelli2020-07-02158-616/+5701
|
* mbedtls: Update to upstream version 2.16.6Rémi Verschelde2020-04-216-17/+92
| | | | Fixes https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-04
* mbedtls: Re-add patch to disable VIA padlockRémi Verschelde2020-03-102-1/+16
| | | | | | | | | The comment mentioned a conflict with libwebsockets, but we actually still get this conflict even now that we don't use libwebsockets. Not sure what component is clashing but we should basically just keep this patch. Follow-up to #36823.
* mbedtls: Re-apply upstream PR 1453 after #36823Rémi Verschelde2020-03-092-9/+52
| | | | | | | For some weird reason 'git apply' does not error out when it does nothing, so I missed that I did not apply the patch properly in #36823... This broke the UWP 32-bit x86 build.
* mbedtls: Update to upstream version 2.16.5Rémi Verschelde2020-03-0511-120/+124
| | | | | | | Fixes https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-02 Drop patch to disable VIA padlock since we no longer use libwebsockets, so there's no conflict anymore.
* mbedtls: Update to upstream version 2.16.4Rémi Verschelde2020-01-2613-246/+632
| | | | | | | Fixes CVE-2019-18222. `include/mbedtls/version.h` was modified to include the forgotten version bump to 2.16.4, fixed upstream by ARMmbed/mbedtls#2992.
* mbedtls: Update to upstream version 2.16.3Rémi Verschelde2019-11-1235-655/+1002
|
* mbedtls: Update to upstream version 2.16.2Rémi Verschelde2019-07-1185-888/+3006
|
* CryptoCore class to access to base crypto utils.Fabio Alessandrelli2019-07-022-0/+31
| | | | | | | | | | | | | | | | | | Godot core needs MD5/SHA256/AES/Base64 which used to be provided by separate libraries. Since we bundle mbedtls in most cases, and we can easily only include the needed sources if we so desire, let's use it. To simplify library changes in the future, and better isolate header dependencies all functions have been wrapped around inside a class in `core/math/crypto_base.h`. If the mbedtls module is disabled, we only bundle the needed source files independently of the `builtin_mbedtls` option. If the module is enabled, the `builtin_mbedtls` option works as usual. Also remove some unused headers from StreamPeerMbedTLS which were causing build issues.
* Disable support for VIA PadlockHein-Pieter van Braam2019-02-242-1/+16
| | | | | | This code defines a symbol 'unsupported' which is also in a newer version of libwebsockets. To fix 32bit linux builds just disable padlock support. Processors that support this are rare and old.
* Update mbedtls PR 1453 diff (UWP crypto fixes)Fabio Alessandrelli2019-02-204-295/+63
| | | | | Also remove .orig file which should not have been committed in the first place
* Bump mbedTLS to version 2.16 (LTS version)Fabio Alessandrelli2019-02-20111-3701/+11217
|
* Disable support for VIA PadlockHein-Pieter van Braam2019-01-011-14/+0
| | | | | | This code defines a symbol 'unsupported' which is also in a newer version of libwebsockets. To fix 32bit linux builds just disable padlock support. Processors that support this are rare and old.
* mbedtls: Update to upstream version 2.12.0Rémi Verschelde2018-07-2861-588/+7372
| | | | | _WIN32_WINNT redefinition fix is no longer needed as it was merged upstream. PR 1453 is still not merged, diff updated to current state.
* Bump mbedTLS to version 2.10.0Fabio Alessandrelli2018-06-07104-2782/+5939
|
* Thirdparty: Fill copyright for lws, miniupnpc, clipperRémi Verschelde2018-06-072-0/+204
| | | | | | Rename `lws` to `libwebsockets` which is its library name. Add missing license file for mbedtls.
* MbedTLS PR 1453 (fix UWP build)Fabio Alessandrelli2018-04-033-9/+172
| | | | The patch seems to be ready for merge upstream
* Small patch to change mbedtls _WIN32_WINNTFabio Alessandrelli2018-04-031-2/+5
|
* Update mbedTLS to version 2.8.0Fabio Alessandrelli2018-04-0343-387/+849
|
* Small patch to change mbedtls _WIN32_WINNTFabio Alessandrelli2018-02-201-1/+1
| | | | | We are using 0x0601 as min anyway. This avoids SOCKADDR_STORAGE error on uwp build
* Import PR 730 from mbedTLS projectFabio Alessandrelli2018-02-202-9/+41
| | | | Fixes UWP build while we wait for it to get into next release.
* Add mbedTLS lib. Version 2.7.0, license Apache 2.0Fabio Alessandrelli2018-02-14143-0/+92508