OVMS3-idf/components/soc/esp32/include/soc
Angus Gratton 32756b165e bootloader: Add fault injection resistance to Secure Boot bootloader verification
Goal is that multiple faults would be required to bypass a boot-time signature check.

- Also strengthens some address range checks for safe app memory addresses
- Change pre-enable logic to also check the bootloader signature before enabling SBV2 on ESP32

Add some additional checks for invalid sections:

- Sections only partially in DRAM or IRAM are invalid
- If a section is in D/IRAM, allow the possibility only some is in D/IRAM
- Only pass sections that are entirely in the same type of RTC memory region
2020-03-06 01:16:04 +05:30
..
adc_caps.h refactor the adc driver 2019-11-22 15:42:16 +08:00
adc_channel.h refactor the adc driver 2019-11-22 15:42:16 +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 soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00: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_caps.h can: Refactor CAN to use HAL and LowLevel layers 2020-01-09 16:13:51 +08:00
can_struct.h can: Refactor CAN to use HAL and LowLevel layers 2020-01-09 16:13:51 +08:00
clkout_channel.h feat(global): add macros for GPIO->channel lookup 2017-09-07 10:40:25 +08:00
cpu.h soc/cpu: add non-xtensa-specific replacement of xthal_get_ccount 2019-11-21 19:22:35 +01:00
dac_caps.h dac: refactor driver add hal 2019-11-22 11:44:46 +08:00
dac_channel.h feat(global): add macros for GPIO->channel lookup 2017-09-07 10:40:25 +08:00
dport_access.h efuse: update the scheme of getting chip revision 2019-08-13 10:59:02 +08:00
dport_reg.h dport: remove clock_en and reset bitname which is not suitable 2019-09-13 09:44:07 +10:00
efuse_reg.h efuse/flash encryption: Reduce FLASH_CRYPT_CNT to a 7 bit efuse field 2019-04-03 14:07:20 +11:00
emac_dma_struct.h add esp_eth component 2019-06-26 10:19:23 +08:00
emac_ext_struct.h add esp_eth component 2019-06-26 10:19:23 +08:00
emac_mac_struct.h add esp_eth component 2019-06-26 10:19:23 +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_caps.h bugfix(gpio):fix esp32 s2 rtc io issue 2019-11-27 17:18:20 +08: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 soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
gpio_sig_map.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00
gpio_struct.h soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00: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 soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00: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 soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
hwcrypto_reg.h add esp32s2beta in soc component 2019-06-11 13:06:32 +08:00
i2c_caps.h feature(I2C): Add i2c hal support. 2019-11-21 20:34:07 +08:00
i2c_reg.h soc: convert line endings to unix 2017-04-11 15:44:22 +08:00
i2c_struct.h soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
i2s_caps.h i2s: enable tests for esp32s2beta 2019-12-16 11:53:33 +05:30
i2s_reg.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00
i2s_struct.h soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
io_mux_reg.h Merge branch 'master' into feature/esp32s2beta_merge 2019-09-20 10:28:37 +10:00
ledc_caps.h soc: add ledc_caps.h, replace target-based ifdefs with caps-based 2019-12-28 20:33:21 +00:00
ledc_reg.h driver(ledc): fix ledc fade API and update the register header file 2019-01-12 00:56:38 +08:00
ledc_struct.h soc: Remove deprecated LEDC struct register names (bit_num, div_num) 2019-09-13 09:44:07 +10:00
mcpwm_caps.h mcpwm: add HAL layer support 2019-11-25 00:36:30 +08:00
mcpwm_reg.h feature: add Motor Control PWM(mcpwm) driver 2017-05-12 15:47:59 +08:00
mcpwm_struct.h soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00: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_caps.h refactor(pcnt): add hal pcnt driver 2019-11-18 14:35:46 +08:00
pcnt_reg.h soc: convert line endings to unix 2017-04-11 15:44:22 +08:00
pcnt_struct.h soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00: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_caps.h rmt: add HAL layer 2019-11-20 10:54:21 +08:00
rmt_reg.h driver(rmt): Add API get rmt channel's status. 2018-11-28 07:20:45 +00:00
rmt_struct.h soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
rtc.h soc/pm: Remove deprecated use of rtc_cpu_freq_t enum 2019-09-13 09:44:07 +10: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 soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
rtc_i2c_reg.h Typo correction 2019-07-02 17:49:49 +08:00
rtc_io_caps.h rtcio: add hal for driver 2019-11-21 10:40:49 +08:00
rtc_io_channel.h rtcio: add hal for driver 2019-11-21 10:40:49 +08:00
rtc_io_reg.h soc: implement XTAL frequency detection 2017-04-24 15:29:30 +08:00
rtc_io_struct.h soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00: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 soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
sens_reg.h driver(i2s): fix broken i2s adc mode 2018-02-07 17:17:20 +08:00
sens_struct.h soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
sigmadelta_caps.h refactor(sigmadelta): add hal sigmadelta driver 2019-11-21 11:53:07 +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 soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
soc.h bootloader: Add fault injection resistance to Secure Boot bootloader verification 2020-03-06 01:16:04 +05:30
soc_caps.h can: Refactor CAN to use HAL and LowLevel layers 2020-01-09 16:13:51 +08:00
soc_ulp.h soc,ulp: add register definitions of RTC_I2C peripheral 2018-01-08 21:28:14 +08:00
spi_caps.h ble_mesh_wifi_coexist example: Disable Wi-Fi RX IRAM optimisation 2019-11-28 09:20:00 +08:00
spi_reg.h soc: convert line endings to unix 2017-04-11 15:44:22 +08:00
spi_struct.h soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
syscon_reg.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00
syscon_struct.h soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
timer_group_caps.h bugfix(timer): add a macro to control making the XTAL related functions 2019-11-26 12:39:46 +00:00
timer_group_reg.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00
timer_group_struct.h soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
touch_sensor_caps.h Refactor the touch sensor driver 2019-11-27 20:08:44 +08:00
touch_sensor_channel.h Refactor the touch sensor driver 2019-11-27 20:08:44 +08:00
uart_caps.h feature: Add uart hal support. 2019-11-26 20:01:50 +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 soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
uhci_reg.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00
uhci_struct.h soc:Added names to anonymous register structs 2019-04-03 03:09:44 +00:00
wdev_reg.h soc: move header files into soc component 2017-04-11 14:06:40 +08:00