OVMS3-idf/components/mbedtls
Angus Gratton 961f59ff57 mbedtls: Don't unnecessarily grow the result of a hardware bignum operation
Avoids growing the result of hardware bignum operations
(particularly for multiplication)

Fixes bugs where some Elliptic Curve operations fail or corrupt memory,
as they assume length of the number is never greater than the number of
non-zero limbs.

Includes some general refactoring to standardize terminology.

Closes https://github.com/espressif/esp-idf/issues/1556

Fixes TW12984

Adds test cases for both these issues.
2018-08-28 09:08:43 +00:00
..
mbedtls@b9ada30675 mbedtls: update to 2.12.0 2018-07-30 09:11:16 +03:00
port mbedtls: Don't unnecessarily grow the result of a hardware bignum operation 2018-08-28 09:08:43 +00:00
test mbedtls: Don't unnecessarily grow the result of a hardware bignum operation 2018-08-28 09:08:43 +00:00
component.mk mbedtls: Add mbedtls submodule check to build system 2018-05-14 16:07:18 +08:00
Kconfig Adds a Kconfig option for mbedtls' MBEDTLS_PLATFORM_MEMORY define. This makes it possible to override the mbedtls allocator with your own. 2018-08-01 11:28:28 +10:00
Makefile.projbuild mbedtls: enable deprecation warnings when building unit tests 2018-05-09 23:15:28 +08:00