mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
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:
committed by
harshal.patil
parent
b1e68e756e
commit
0cac091538
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user