OVMS3-idf/components/soc/esp32/include/soc
Konstantin Kondrashov 8bba348528 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-05 04:22:47 +00:00
..
adc_channel.h feat(global): add macros for GPIO->channel lookup 2017-09-07 10:40:25 +08:00
apb_ctrl_reg.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00
apb_ctrl_struct.h fix(struct_h): add extern "C" protection to *_struct.h header files. 2017-08-28 18:10:46 +08:00
bb_reg.h soc: define missing M, V macros for nrx, bb, fe, emac, iomux 2017-04-18 17:34:26 +08:00
boot_mode.h soc: add source code of rtc_clk, rtc_pm 2017-04-11 15:45:54 +08:00
can_struct.h CAN Driver 2018-07-04 14:01:57 +08:00
clkout_channel.h feat(global): add macros for GPIO->channel lookup 2017-09-07 10:40:25 +08:00
cpu.h esp_restart: fix possible race while stalling other CPU, enable WDT early 2017-10-26 19:53:53 +08:00
dac_channel.h feat(global): add macros for GPIO->channel lookup 2017-09-07 10:40:25 +08:00
dport_access.h dport: Bigfix dport_read code move to IRAM 2018-05-21 22:00:51 +05:00
dport_reg.h component/bt: implement bluetooth modem sleep mode, one mode for BLE only and another for dual mode bluetooth 2018-05-19 15:37:26 +08:00
efuse_reg.h Secure Boot & Flash encryption: Support 3/4 Coding Scheme 2018-10-16 16:24:10 +11:00
emac_ex_reg.h soc: define missing M, V macros for nrx, bb, fe, emac, iomux 2017-04-18 17:34:26 +08:00
emac_reg_v2.h update emac_reg_v2.h 2018-04-25 14:54:09 +08:00
fe_reg.h soc: define missing M, V macros for nrx, bb, fe, emac, iomux 2017-04-18 17:34:26 +08:00
frc_timer_reg.h soc: fix/update definitions related to FRC timers 2017-08-24 16:33:12 +08:00
gpio_pins.h soc: Fix check_long_hold_gpio and move def to soc 2018-06-22 09:20:27 +05:00
gpio_reg.h soc/gpio: fix description of GPIO_STRAP_REG 2017-11-03 15:49:09 +08:00
gpio_sd_reg.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00
gpio_sd_struct.h fix(struct_h): add extern "C" protection to *_struct.h header files. 2017-08-28 18:10:46 +08:00
gpio_sig_map.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00
gpio_struct.h fix(struct_h): add extern "C" protection to *_struct.h header files. 2017-08-28 18:10:46 +08:00
hinf_reg.h feat(sdio_slave): add headers for sdio slave components: slc, host, hinf 2018-05-21 23:48:33 +08:00
hinf_struct.h feat(sdio_slave): add headers for sdio slave components: slc, host, hinf 2018-05-21 23:48:33 +08:00
host_reg.h feat(sdio_slave): add headers for sdio slave components: slc, host, hinf 2018-05-21 23:48:33 +08:00
host_struct.h feat(sdio_slave): add headers for sdio slave components: slc, host, hinf 2018-05-21 23:48:33 +08:00
hwcrypto_reg.h esp32 hwcrypto: Use AES registers directly 2017-08-25 16:08:03 +10:00
i2c_reg.h soc: convert line endings to unix 2017-04-11 15:44:22 +08:00
i2c_struct.h fix(struct_h): add extern "C" protection to *_struct.h header files. 2017-08-28 18:10:46 +08:00
i2s_reg.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00
i2s_struct.h fix(struct_h): add extern "C" protection to *_struct.h header files. 2017-08-28 18:10:46 +08:00
io_mux_reg.h soc/io_mux: make CLK_OUT fields compatible with REG_SET/GET_FIELD 2018-03-27 12:10:18 +08:00
ledc_reg.h soc: convert line endings to unix 2017-04-11 15:44:22 +08:00
ledc_struct.h LEDC Driver: Added back original definitions of 'duty_resolution' and 'clock_divider'. This update is to provide backward compatibility with ESP-IDF 2.1. 2017-12-04 21:12:56 +01:00
mcpwm_reg.h feature: add Motor Control PWM(mcpwm) driver 2017-05-12 15:47:59 +08:00
mcpwm_struct.h fix(struct_h): add extern "C" protection to *_struct.h header files. 2017-08-28 18:10:46 +08:00
nrx_reg.h soc: define missing M, V macros for nrx, bb, fe, emac, iomux 2017-04-18 17:34:26 +08:00
pcnt_reg.h soc: convert line endings to unix 2017-04-11 15:44:22 +08:00
pcnt_struct.h fix(struct_h): add extern "C" protection to *_struct.h header files. 2017-08-28 18:10:46 +08:00
periph_defs.h aes/sha/mpi: Bugfix a use of shared registers. 2018-11-05 04:22:47 +00:00
pid.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00
rmt_reg.h soc: convert line endings to unix 2017-04-11 15:44:22 +08:00
rmt_struct.h removed possible uint16 access to 32bit register, noted fifo use not recommended 2018-07-23 07:57:18 +02:00
rtc.h soc/rtc: add support for external 32k oscillator 2018-08-22 11:33:20 +08:00
rtc_cntl_reg.h soc/rtc: restore dbg attenuation when waking from sleep 2018-04-26 18:52:46 +08:00
rtc_cntl_struct.h fix(struct_h): add extern "C" protection to *_struct.h header files. 2017-08-28 18:10:46 +08:00
rtc_gpio_channel.h feat(global): add macros for GPIO->channel lookup 2017-09-07 10:40:25 +08:00
rtc_i2c_reg.h soc,ulp: add register definitions of RTC_I2C peripheral 2018-01-08 21:28:14 +08:00
rtc_io_reg.h soc: implement XTAL frequency detection 2017-04-24 15:29:30 +08:00
rtc_io_struct.h fix(struct_h): add extern "C" protection to *_struct.h header files. 2017-08-28 18:10:46 +08:00
sdio_slave_pins.h Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
sdmmc_pins.h Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
sdmmc_reg.h sdmmc: implement partial DDR support 2018-08-30 13:11:54 +08:00
sdmmc_struct.h sdmmc: implement partial DDR support 2018-08-30 13:11:54 +08:00
sens_reg.h driver(i2s): fix broken i2s adc mode 2018-02-07 17:17:20 +08:00
sens_struct.h bugfix(rtc): make sure peripherals (DAC, HALL) are turned off before conversion. 2018-03-28 17:10:01 +08:00
slc_reg.h feat(sdio_slave): add headers for sdio slave components: slc, host, hinf 2018-05-21 23:48:33 +08:00
slc_struct.h feat(sdio_slave): add headers for sdio slave components: slc, host, hinf 2018-05-21 23:48:33 +08:00
soc.h test: fix the unit test fail issue under single_core config 2018-10-31 17:04:32 +08:00
soc_ulp.h soc,ulp: add register definitions of RTC_I2C peripheral 2018-01-08 21:28:14 +08:00
spi_pins.h Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
spi_reg.h soc: convert line endings to unix 2017-04-11 15:44:22 +08:00
spi_struct.h fix(struct_h): add extern "C" protection to *_struct.h header files. 2017-08-28 18:10:46 +08:00
syscon_reg.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00
syscon_struct.h feature(I2S-ADC): add ADC mode for I2S. 2017-09-14 13:24:08 +08:00
timer_group_reg.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00
timer_group_struct.h fix(struct_h): add extern "C" protection to *_struct.h header files. 2017-08-28 18:10:46 +08:00
touch_channel.h feat(global): add macros for GPIO->channel lookup 2017-09-07 10:40:25 +08:00
uart_channel.h feat(global): add macros for GPIO->channel lookup 2017-09-07 10:40:25 +08:00
uart_reg.h Fix uart fifo overflow bug 2018-01-12 14:42:54 +08:00
uart_struct.h Fix uart fifo overflow bug 2018-01-12 14:42:54 +08:00
uhci_reg.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00
uhci_struct.h fix(struct_h): add extern "C" protection to *_struct.h header files. 2017-08-28 18:10:46 +08:00
wdev_reg.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00