From 2c1416d92c101844d0c1d20cec3f47fd4f875b65 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Tue, 22 Nov 2022 09:11:12 +0530 Subject: [PATCH] hal/esp32s3: Rename static API hmac_ll_query_config_error to hmac_ll_config_error in order to make it standardized across targets --- components/hal/esp32s3/hmac_hal.c | 2 +- components/hal/esp32s3/include/hal/hmac_ll.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }