OVMS3-idf/components/mbedtls
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
..
include mbedtls: Re-apply: MBEDTLS_SHA512_ALT also replaces mbedtls_sha512_process() 2017-09-07 18:02:26 +10:00
library mbedtls: Add bounds check before length read 2018-04-19 12:58:48 +08:00
port aes/sha/mpi: Bugfix a use of shared registers. 2018-11-19 20:57:01 +08:00
test mbedtls: Remove "unsafe" warning, enable AES by default & make SHA/MPI optional 2017-08-25 16:08:03 +10:00
apache-2.0.txt Add mbedtls release version 2.3.0 2016-09-05 12:03:39 +10:00
ChangeLog Add mbedtls release version 2.3.0 2016-09-05 12:03:39 +10:00
component.mk mbedTLS SHA acceleration: Allow concurrent digest calculation, works with TLS 2016-11-22 20:42:38 +11:00
Kconfig mbedtls: Remove "unsafe" warning, enable AES by default & make SHA/MPI optional 2017-08-25 16:08:03 +10:00
LICENSE Add mbedtls release version 2.3.0 2016-09-05 12:03:39 +10:00
Makefile.projbuild Ensure that C++ and C compilers get the same preprocessor setup 2017-10-26 13:04:41 +02:00