From cdedde2feaeb4a0e28a882b0dcee2669e25441e5 Mon Sep 17 00:00:00 2001 From: Ashish Sharma Date: Thu, 2 Jul 2026 14:47:21 +0800 Subject: [PATCH] fix(esp_tee): release SHA held by HMAC after crypto peripheral reset --- .../esp_tee/subproject/main/soc/common/esp_tee_crypto_reset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/esp_tee/subproject/main/soc/common/esp_tee_crypto_reset.c b/components/esp_tee/subproject/main/soc/common/esp_tee_crypto_reset.c index a80429d6ecf..8f858e63ffa 100644 --- a/components/esp_tee/subproject/main/soc/common/esp_tee_crypto_reset.c +++ b/components/esp_tee/subproject/main/soc/common/esp_tee_crypto_reset.c @@ -61,6 +61,7 @@ void esp_tee_soc_reset_crypto_peripherals(void) #if SOC_HMAC_SUPPORTED hmac_ll_enable_bus_clock(true); hmac_ll_reset_register(); + hmac_ll_clean(); hmac_ll_enable_bus_clock(false); #endif