OVMS3-idf/components/mbedtls
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
..
mbedtls@b9ada30675 mbedtls: update to 2.12.0 2018-08-05 09:17:40 +03:00
port aes/sha/mpi: Bugfix a use of shared registers. 2018-11-26 02:42:37 +00:00
test hwcrypto sha: Allow SHA contexts to be shared between tasks 2019-01-23 18:18:38 +08:00
CMakeLists.txt cmake: make main a component again 2018-09-13 11:13:27 +08:00
component.mk mbedtls: Add mbedtls submodule check to build system 2018-05-14 16:07:18 +08:00
Kconfig mbedtls: Remove "unsafe" warning, enable AES by default & make SHA/MPI optional 2017-08-25 16:08:03 +10:00
Makefile.projbuild mbedtls: enable deprecation warnings when building unit tests 2018-05-09 23:15:28 +08:00