forked from espressif/esp-idf
hal/esp32s3: Rename static API hmac_ll_query_config_error to
hmac_ll_config_error in order to make it standardized across targets
This commit is contained in:
@@ -21,7 +21,7 @@ uint32_t hmac_hal_configure(hmac_hal_output_t config, uint32_t key_id)
|
|||||||
hmac_ll_config_finish();
|
hmac_ll_config_finish();
|
||||||
hmac_ll_wait_idle();
|
hmac_ll_wait_idle();
|
||||||
|
|
||||||
uint32_t conf_error = hmac_ll_query_config_error();
|
uint32_t conf_error = hmac_ll_config_error();
|
||||||
if (conf_error) {
|
if (conf_error) {
|
||||||
hmac_ll_calc_finish();
|
hmac_ll_calc_finish();
|
||||||
return 1;
|
return 1;
|
||||||
|
@@ -87,7 +87,7 @@ static inline void hmac_ll_config_finish(void)
|
|||||||
* - 1 or greater on error
|
* - 1 or greater on error
|
||||||
* - 0 on success
|
* - 0 on success
|
||||||
*/
|
*/
|
||||||
static inline uint32_t hmac_ll_query_config_error(void)
|
static inline uint32_t hmac_ll_config_error(void)
|
||||||
{
|
{
|
||||||
return REG_READ(HMAC_QUERY_ERROR_REG);
|
return REG_READ(HMAC_QUERY_ERROR_REG);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user