diff --git a/components/esp_hal_security/esp32h4/include/hal/ecc_ll.h b/components/esp_hal_security/esp32h4/include/hal/ecc_ll.h index e5a89584970..1c2e4b91002 100644 --- a/components/esp_hal_security/esp32h4/include/hal/ecc_ll.h +++ b/components/esp_hal_security/esp32h4/include/hal/ecc_ll.h @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2025-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -149,6 +149,11 @@ static inline void ecc_ll_set_mod_base(ecc_mod_base_t base) } } +static inline bool ecc_ll_is_p384_curve_operations_supported(void) +{ + return true; +} + static inline void ecc_ll_enable_constant_time_point_mul(bool enable) { if (enable) { diff --git a/components/soc/esp32h4/include/soc/Kconfig.soc_caps.in b/components/soc/esp32h4/include/soc/Kconfig.soc_caps.in index c9433082dce..53650c720ca 100644 --- a/components/soc/esp32h4/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32h4/include/soc/Kconfig.soc_caps.in @@ -803,6 +803,10 @@ config SOC_ECC_CONSTANT_TIME_POINT_MUL bool default y +config SOC_ECC_SUPPORT_CURVE_P384 + bool + default y + config SOC_SPI_PERIPH_NUM int default 3 diff --git a/components/soc/esp32h4/include/soc/soc_caps.h b/components/soc/esp32h4/include/soc/soc_caps.h index 770b3fc969d..497980e3535 100644 --- a/components/soc/esp32h4/include/soc/soc_caps.h +++ b/components/soc/esp32h4/include/soc/soc_caps.h @@ -363,6 +363,7 @@ /*--------------------------- ECC CAPS ---------------------------------------*/ #define SOC_ECC_CONSTANT_TIME_POINT_MUL 1 +#define SOC_ECC_SUPPORT_CURVE_P384 (1) /*-------------------------- SPI CAPS ----------------------------------------*/ #define SOC_SPI_PERIPH_NUM 3