OVMS3-idf/components/esp32/hwcrypto
Angus Gratton 24fab0b7a9 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:13 +08:00
..
aes.c Merge branch 'bugfix/xts_compile_err' into 'master' 2018-11-05 16:58:38 +08:00
sha.c hwcrypto sha: Allow SHA contexts to be shared between tasks 2019-01-23 18:18:13 +08:00