fix(esp_hal_security): fixes failing hmac_hal_configure with efuse_key for p4 rev < 3

Closes https://github.com/espressif/esp-idf/issues/18370
This commit is contained in:
Ashish Sharma
2026-03-23 14:30:49 +08:00
committed by harshal.patil
parent b1e68e756e
commit 0cac091538
+1 -1
View File
@@ -38,7 +38,7 @@ uint32_t hmac_hal_configure(hmac_hal_output_t config, uint32_t key_id)
// No other HMAC output type is allowed when using key manager
return 1;
}
} else {
} else if (key_mgr_ll_is_supported()) {
key_mgr_hal_set_key_usage(ESP_KEY_MGR_HMAC_KEY, ESP_KEY_MGR_USE_EFUSE_KEY);
}
#endif