OVMS3-idf/components/mbedtls/test
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
..
component.mk add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
test_apb_dport_access.c mbedtls tests: utility tests for APB corruption 2017-08-25 16:08:03 +10:00
test_apb_dport_access.h mbedtls tests: utility tests for APB corruption 2017-08-25 16:08:03 +10:00
test_ecp.c mbedtls: Don't unnecessarily grow the result of a hardware bignum operation 2018-08-28 09:08:43 +00:00
test_mbedtls.c mbedtls tests: utility tests for APB corruption 2017-08-25 16:08:03 +10:00
test_mbedtls_mpi.c mbedtls tests: Add additional MPI (bignum), SHA tests 2016-11-25 19:21:49 +11:00
test_mbedtls_sha.c mbedtls: update usage of deprecated mbedtls_shaX APIs 2018-05-09 23:15:28 +08:00
test_rsa.c mbedtls: Use two MPI multiplications when multiply operands too large 2017-01-31 14:36:26 +11:00