fix(esp_tee): Reset crypto peripherals before the panic-induced reset

This commit is contained in:
harshal.patil
2026-05-29 18:44:06 +05:30
parent 8a934fa932
commit faa70e9cd0
7 changed files with 128 additions and 2 deletions

View File

@@ -108,6 +108,14 @@ void esp_tee_configure_region_protection(void);
*/
void esp_tee_configure_apm_protection(void);
/**
* @brief Reset the crypto peripherals to a clean state.
*
* Mirrors esp_system_reset_modules_on_exit() in the non-TEE path.
* Intended to be called from the TEE panic handler before a software reset.
*/
void esp_tee_soc_reset_crypto_peripherals(void);
/**
* @brief Switch to the REE app after TEE initialization is complete
*