f3277cf2dc
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). |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
component.mk | ||
test_apb_dport_access.c | ||
test_apb_dport_access.h | ||
test_ecp.c | ||
test_mbedtls.c | ||
test_mbedtls_mpi.c | ||
test_mbedtls_sha.c | ||
test_rsa.c |