From bb1376ff5d9d37cf3b1a3a5e1f0cb4e9644b596e Mon Sep 17 00:00:00 2001 From: Mahavir Jain Date: Wed, 8 Nov 2023 13:45:43 +0530 Subject: [PATCH] fix(api-docs): include in the ECDSA APIs for doxygen build --- components/mbedtls/port/include/ecdsa/ecdsa_alt.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/mbedtls/port/include/ecdsa/ecdsa_alt.h b/components/mbedtls/port/include/ecdsa/ecdsa_alt.h index 0326795f8d..f4b7af6a03 100644 --- a/components/mbedtls/port/include/ecdsa/ecdsa_alt.h +++ b/components/mbedtls/port/include/ecdsa/ecdsa_alt.h @@ -14,7 +14,7 @@ extern "C" { #endif -#ifdef CONFIG_MBEDTLS_HARDWARE_ECDSA_SIGN +#if CONFIG_MBEDTLS_HARDWARE_ECDSA_SIGN || __DOXYGEN__ /** * @brief Initialize MPI to notify mbedtls_ecdsa_sign to use the private key in efuse @@ -46,7 +46,8 @@ int esp_ecdsa_privkey_load_mpi(mbedtls_mpi *key, int efuse_blk); * - -1 otherwise */ int esp_ecdsa_privkey_load_pk_context(mbedtls_pk_context *key_ctx, int efuse_blk); -#endif + +#endif // CONFIG_MBEDTLS_HARDWARE_ECDSA_SIGN || __DOXYGEN__ #ifdef __cplusplus }