summaryrefslogtreecommitdiff
path: root/thirdparty/mbedtls/include
AgeCommit message (Collapse)Author
2022-02-14[Crypto] Implement CryptoCore::RandomGenerator.Fabio Alessandrelli
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.
2021-12-21Bump mbedTLS version to 2.28.0 (new LTS).Fabio Alessandrelli
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.
2021-12-20Bump mbedtls to 2.16.12Fabio Alessandrelli
Remove upstreamed patches. Re-apply padlock and uwp patches. NOTE: We could replace our padloack patch with mbedtls 3452.
2021-10-14mbedtls: Backport "Fix x86_64 assembly for bignum multiplication"Rémi Verschelde
Backports PR https://github.com/ARMmbed/mbedtls/pull/4948 to fix a regression with our macOS builds using Clang 12. Fixes #53297.
2021-07-20mbedtls: Update to upstream version 2.16.11Rémi Verschelde
2021-03-12Bump mbedtls to version 2.16.10.Fabio Alessandrelli
2020-12-18mbedtls: Update to upstream version 2.16.9Rémi Verschelde
2020-09-07Update mbedTLS to version 2.16.8 (+ patch).Fabio Alessandrelli
2020-07-02Update to mbedtls 2.16.7Fabio Alessandrelli
2020-04-21mbedtls: Update to upstream version 2.16.6Rémi Verschelde
Fixes https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-04
2020-03-10mbedtls: Re-add patch to disable VIA padlockRémi Verschelde
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.
2020-03-05mbedtls: Update to upstream version 2.16.5Rémi Verschelde
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.
2020-01-26mbedtls: Update to upstream version 2.16.4Rémi Verschelde
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.
2019-11-12mbedtls: Update to upstream version 2.16.3Rémi Verschelde
2019-07-11mbedtls: Update to upstream version 2.16.2Rémi Verschelde
2019-07-02CryptoCore class to access to base crypto utils.Fabio Alessandrelli
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.
2019-02-24Disable support for VIA PadlockHein-Pieter van Braam
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.
2019-02-20Bump mbedTLS to version 2.16 (LTS version)Fabio Alessandrelli
2019-01-01Disable support for VIA PadlockHein-Pieter van Braam
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.
2018-07-28mbedtls: Update to upstream version 2.12.0Rémi Verschelde
_WIN32_WINNT redefinition fix is no longer needed as it was merged upstream. PR 1453 is still not merged, diff updated to current state.
2018-06-07Bump mbedTLS to version 2.10.0Fabio Alessandrelli
2018-04-03Update mbedTLS to version 2.8.0Fabio Alessandrelli
2018-02-14Add mbedTLS lib. Version 2.7.0, license Apache 2.0Fabio Alessandrelli