OVMS3-idf/components/esp32
Konstantin Kondrashov 868da0741c 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-26 02:42:37 +00:00
..
hwcrypto aes/sha/mpi: Bugfix a use of shared registers. 2018-11-26 02:42:37 +00:00
include Merge branch 'bugfix/fix_psram_eid_v3.1' into 'release/v3.1' 2018-11-01 22:15:04 +08:00
ld components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null(backprot 3.1) 2018-11-09 03:26:36 +00:00
lib@8e105b14a0 esp32: fix some wifi bugs 2018-11-21 15:24:30 +08:00
test aes/sha/mpi: Bugfix a use of shared registers. 2018-11-26 02:42:37 +00:00
brownout.c brownout detector: enable by default 2017-07-10 17:25:55 +08:00
cache_err_int.c esp32: fix cache error interrupt handler 2017-09-08 09:59:09 +08:00
clk.c gcc8_newlib3: Compilation warnings and errors not specific to newlib v3 2018-07-16 14:19:57 +08:00
CMakeLists.txt cmake: fix source list issues 2018-09-13 11:13:27 +08:00
coexist.c component/esp32 : clear some minor thingsw about PM and coexistence 2018-04-03 20:13:49 +08:00
coexist_internal.h component/esp32 : clear some minor thingsw about PM and coexistence 2018-04-03 20:13:49 +08:00
component.mk esp32: force pure math functions from libgcc to be linked from ROM 2018-07-05 17:19:01 +08:00
core_dump.c freertos: deprecate XT_CLOCK_FREQ 2017-10-18 14:19:19 +08:00
cpu_start.c esp32: abort when running on single core chip in dual core mode 2018-09-27 13:35:11 +08:00
crosscore_int.c esp32: Move esp_crosscore_isr_handle_yield() to IRAM 2018-06-13 11:36:15 +10:00
dbg_stubs.c esp32: Adds GCOV debug stubs support 2018-05-18 16:16:03 +03:00
dport_access.c dport: Bigfix dport_read code move to IRAM 2018-05-21 22:00:51 +05:00
dport_panic_highint_hdl.S xtensa: remove unused header files 2018-05-31 02:21:36 +00:00
esp_clk_internal.h bugfix/rtc_clk_32k_bootstrap: Fix starting 32k RTC 2018-03-21 13:27:56 +05:00
esp_err_to_name.c nvs_flash: Add support for nvs encryption 2018-10-04 19:25:12 +05:30
esp_err_to_name.c.in esp32: esp_err_to_name_r: print error code as hex and decimal 2018-06-15 15:49:23 +08:00
esp_timer.c Merge branch 'bugfix/light_sleep_fixes' into 'master' 2018-05-02 20:09:36 +08:00
esp_timer_esp32.c esp_timer: reduce overflow value in unit tests 2018-06-11 02:37:19 +00:00
esp_timer_impl.h sleep: fix deadlock in esp_timer_impl_advance after light sleep 2018-05-09 22:52:50 +08:00
ets_timer_legacy.c wifi/bt coexistence: Fix disabled cache access race when writing to flash 2017-10-16 19:47:33 +08:00
event_default_handlers.c esp32: fix the bug that SYSTEM_EVENT_STA_GOT_IP is forbidden when gateway is 0.0.0.0 2018-09-11 10:57:17 +08:00
event_loop.c add mesh feature 2018-04-04 22:57:45 +08:00
fast_crypto_ops.c esp32/wpa_supplicant: fix some bugs introduced by wifi os adapter 2018-05-31 17:09:40 +08:00
freertos_hooks.c freertos,esp32: automatic light sleep support 2018-05-18 03:14:46 +00:00
gdbstub.c Resolve problems found by enabling -Wwrite-strings compilation flag 2018-04-10 08:53:43 +02:00
hw_random.c freertos: deprecate XT_CLOCK_FREQ 2017-10-18 14:19:19 +08:00
int_wdt.c Dump the frame of the other core when interrupt watchdog happens 2018-01-18 23:10:29 +00:00
intr_alloc.c driver(interrupt): fix the issue that interrupt might be allocated and freed on different cores for release/v3.1 2018-10-10 19:22:34 +08:00
ipc.c fix buffer overflow in ipc.c 2017-11-27 18:47:40 +08:00
Kconfig mesh: bugfix 2018-09-25 13:43:55 +08:00
lib_printf.c component/esp32 : clear some minor thingsw about PM and coexistence 2018-04-03 20:13:49 +08:00
libhal.a Initial public version 2016-08-17 23:08:22 +08:00
Makefile.projbuild Merge branch 'feature/expansion_space_for_bootloader' into 'master' 2018-06-18 12:34:53 +08:00
panic.c panic: remove extra newline 2018-06-15 15:49:23 +08:00
phy.h esp32: some changes relating to phy v3900 2018-05-22 14:16:09 +08:00
phy_init.c esp32: do not try to load PHY data if fail to open NVS 2018-11-12 03:17:11 +00:00
phy_init_data.h cmake: Generate PHY init data partition as part of the build 2018-04-30 09:59:20 +10:00
pm_esp32.c freertos,esp32: automatic light sleep support 2018-05-18 03:14:46 +00:00
pm_impl.h pm: initial implementation for ESP32 2017-10-18 14:19:16 +08:00
pm_locks.c pm: initial version of power management APIs 2017-10-18 14:19:16 +08:00
pm_trace.c freertos,esp32: automatic light sleep support 2018-05-18 03:14:46 +00:00
pm_trace.h freertos,esp32: automatic light sleep support 2018-05-18 03:14:46 +00:00
restore.c esp_system: remove link time dependency on WiFi stack 2017-06-15 18:15:36 +08:00
sleep_modes.c sleep: keep RTC_SLOW_MEM powered on if RTC_NOINIT is used 2018-09-27 11:31:28 +08:00
spiram.c bugfix(psram): fix psram driver 2018-10-11 12:22:34 +08:00
spiram_psram.c bugfix(psram): fix psram driver 2018-10-11 12:22:34 +08:00
spiram_psram.h bugfix(psram): fix psram driver 2018-10-11 12:22:34 +08:00
stack_check.c esp32: Adds Stack Smashing Protection Feature 2017-11-17 12:08:36 +03:00
system_api.c defination: fix the bug that esp_derive_local_mac() defination missing 2018-09-05 14:42:23 +08:00
task_wdt.c watchdogs: make sure timer group peripherals are enabled 2017-12-01 20:10:26 +08:00
wifi_init.c wifi: Set default wifi library log level based on sdkconfig 2018-05-02 15:11:21 +10:00
wifi_os_adapter.c Add OS adapter to WiFi driver 2018-05-26 17:22:23 +08:00