OVMS3-idf/components/esp32/hwcrypto
Konstantin Kondrashov 7761b0f28b aes/sha/mpi: Bugfix a use of shared registers.
This commit resolves a blocking in esp_aes_block function.

Introduce:
The problem was in the fact that AES is switched off at the moment when he should give out the processed data. But because of the disabled, the operation can not be completed successfully, there is an infinite hang. The reason for this behavior is that the registers for controlling the inclusion of AES, SHA, MPI have shared registers and they were not protected from sharing.

Fix some related issue with shared using of AES SHA RSA accelerators.

Closes: https://github.com/espressif/esp-idf/issues/2295#issuecomment-432898137
2018-11-19 20:57:01 +08:00
..
aes.c aes/sha/mpi: Bugfix a use of shared registers. 2018-11-19 20:57:01 +08:00
sha.c aes/sha/mpi: Bugfix a use of shared registers. 2018-11-19 20:57:01 +08:00