esp-idf/components/mbedtls/port
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: disable support for RSASSA-PSS signatures 2018-04-19 12:58:47 +08:00
esp_bignum.c aes/sha/mpi: Bugfix a use of shared registers. 2018-11-19 20:57:01 +08:00
esp_hardware.c mbedtls: Use hardware accelerated AES, SHA, bignum 2016-09-08 17:41:43 +08:00
esp_sha1.c mbedTLS SHA acceleration: Allow concurrent digest calculation, works with TLS 2016-11-22 20:42:38 +11:00
esp_sha256.c mbedTLS SHA acceleration: Allow concurrent digest calculation, works with TLS 2016-11-22 20:42:38 +11:00
esp_sha512.c mbedTLS SHA: Fix cloning of SHA-384 digests 2016-11-25 19:26:30 +11:00
mbedtls_debug.c mbedTLS: Add generic support for mbedTLS debug output via the esp_log functionality 2017-03-07 10:18:47 +11:00
net_sockets.c mbedtls: Rename net to net_sockets (in line with 2.4.0 API change) 2017-09-07 18:02:39 +10:00