OVMS3-idf/components/esp32/hwcrypto
Angus Gratton f3277cf2dc 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 04:59:44 +00: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 04:59:44 +00:00