From 2390e81fb7125546b9d9565bbcb8c6690ca6b746 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Wed, 19 Feb 2025 19:19:56 +0530 Subject: [PATCH] fix(hal): Fixed ecc_ll for esp32c5 beta3 --- components/hal/esp32c5/include/hal/ecc_ll.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/components/hal/esp32c5/include/hal/ecc_ll.h b/components/hal/esp32c5/include/hal/ecc_ll.h index 48975e5ec8..3a47a4e0ff 100644 --- a/components/hal/esp32c5/include/hal/ecc_ll.h +++ b/components/hal/esp32c5/include/hal/ecc_ll.h @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -257,6 +257,12 @@ static inline void ecc_ll_read_param(ecc_ll_param_t param, uint8_t *buf, uint16_ memcpy(buf, (void *)reg, len); } +static inline void ecc_ll_enable_constant_time_point_mul(bool enable) +{ + // Not supported for ESP32-C5 + (void) enable; //unused +} + #ifdef __cplusplus } #endif