fix(secure_boot): range-check ECDSA r,s in bootloader before ROM verify

This commit is contained in:
harshal.patil
2026-06-12 17:32:38 +05:30
parent 839352f836
commit 5f824c8683
15 changed files with 133 additions and 20 deletions
@@ -75,6 +75,11 @@ static inline void ecc_ll_power_up(void)
ESP_FAULT_ASSERT(REG_GET_BIT(HP_SYSTEM_ECC_PD_CTRL_REG, HP_SYSTEM_ECC_MEM_FORCE_PD) == 0);
}
static inline bool ecc_ll_mem_force_pd_is_clear(void)
{
return REG_GET_BIT(HP_SYSTEM_ECC_PD_CTRL_REG, HP_SYSTEM_ECC_MEM_FORCE_PD) == 0;
}
static inline void ecc_ll_power_down(void)
{
/* Power down the ECC peripheral */