diff --git a/components/hal/esp32s3/hmac_hal.c b/components/hal/esp32s3/hmac_hal.c index ef2b2c5e12..f39ca72f30 100644 --- a/components/hal/esp32s3/hmac_hal.c +++ b/components/hal/esp32s3/hmac_hal.c @@ -21,7 +21,7 @@ uint32_t hmac_hal_configure(hmac_hal_output_t config, uint32_t key_id) hmac_ll_config_finish(); hmac_ll_wait_idle(); - uint32_t conf_error = hmac_ll_query_config_error(); + uint32_t conf_error = hmac_ll_config_error(); if (conf_error) { hmac_ll_calc_finish(); return 1; diff --git a/components/hal/esp32s3/include/hal/hmac_ll.h b/components/hal/esp32s3/include/hal/hmac_ll.h index a381ac1557..49967c3f20 100644 --- a/components/hal/esp32s3/include/hal/hmac_ll.h +++ b/components/hal/esp32s3/include/hal/hmac_ll.h @@ -87,7 +87,7 @@ static inline void hmac_ll_config_finish(void) * - 1 or greater on error * - 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); }