diff --git a/include/mbedtls/alt_internal/ecp_function_alt.h b/include/mbedtls/ecp_internal.h similarity index 98% rename from include/mbedtls/alt_internal/ecp_function_alt.h rename to include/mbedtls/ecp_internal.h index f590d28d4..835b0cc51 100644 --- a/include/mbedtls/alt_internal/ecp_function_alt.h +++ b/include/mbedtls/ecp_internal.h @@ -1,5 +1,5 @@ /** - * \file ecp_function_alt.h + * \file ecp_internal.h * * \brief Function declarations for alternative implementation of elliptic curve * point arithmetic. @@ -35,7 +35,6 @@ int ecp_alt_init( const mbedtls_ecp_group *grp ); #if defined(MBEDTLS_ECP_ALT_DEINIT) void ecp_alt_deinit( const mbedtls_ecp_group *grp ); -#endif #if defined(MBEDTLS_ECP_RANDOMIZE_JAC_ALT) int ecp_randomize_jac_alt( const mbedtls_ecp_group *grp, mbedtls_ecp_point *pt, diff --git a/library/ecp.c b/library/ecp.c index 8ecf39426..610198304 100644 --- a/library/ecp.c +++ b/library/ecp.c @@ -64,7 +64,7 @@ #define mbedtls_free free #endif -#include "mbedtls/alt_internal/ecp_function_alt.h" +#include "mbedtls/ecp_internal.h" #if ( defined(__ARMCC_VERSION) || defined(_MSC_VER) ) && \ !defined(inline) && !defined(__cplusplus)