change(mbedtls/psa_driver_esp_hmac): Use efuse key block instead of efuse block

- Maintains compatibility of the older esp_hmac_ APIs and the PSA driver
This commit is contained in:
harshal.patil
2026-02-26 12:22:17 +05:30
parent aa63487d9f
commit 163e0974b3
6 changed files with 11 additions and 17 deletions
@@ -157,7 +157,7 @@ static esp_err_t compute_nvs_keys_with_hmac(esp_efuse_block_t key_blk, nvs_sec_c
// Create opaque key reference
esp_hmac_opaque_key_t opaque_key = {
.use_km_key = false,
.efuse_block = (uint8_t)key_blk,
.efuse_key_id = hmac_key_id,
};
// Import the opaque key