OVMS3-idf/components/mbedtls/test
Angus Gratton 36b65c8498 hwcrypto sha: Allow SHA contexts to be shared between tasks
Previously, hardware SHA engine "locks" were mutex semaphores. This meant that the task which
started a particular SHA session (in hardware) needed to finalise that session, or an invalid
FreeRTOS state was created.

Replace with binary semaphore which can be shared between tasks.

Includes a unit test, but unit test doesn't crash even without this fix
(some other unknown condition is required).
2019-01-23 18:18:38 +08: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_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 hwcrypto sha: Allow SHA contexts to be shared between tasks 2019-01-23 18:18:38 +08:00
test_rsa.c mbedtls: Use two MPI multiplications when multiply operands too large 2017-01-31 14:36:26 +11:00