Rename ecp_internal.h to ecp_alt.h

This gives it a more descriptive name and indicates to alt developers
that the definitions inside are not fully internal and are available
to alt developers for use.

Signed-off-by: Chris Jones <christopher.jones@arm.com>
This commit is contained in:
Chris Jones 2021-03-09 16:10:29 +00:00
parent 66a4cd46fd
commit 59cda7f427
3 changed files with 4 additions and 4 deletions

View file

@ -97,7 +97,7 @@
#define mbedtls_free free #define mbedtls_free free
#endif #endif
#include "ecp_internal.h" #include "ecp_alt.h"
#if !defined(MBEDTLS_ECP_NO_INTERNAL_RNG) #if !defined(MBEDTLS_ECP_NO_INTERNAL_RNG)
#if defined(MBEDTLS_HMAC_DRBG_C) #if defined(MBEDTLS_HMAC_DRBG_C)

View file

@ -1,5 +1,5 @@
/** /**
* \file ecp_internal.h * \file ecp_alt.h
* *
* \brief Function declarations for alternative implementation of elliptic curve * \brief Function declarations for alternative implementation of elliptic curve
* point arithmetic. * point arithmetic.
@ -293,5 +293,5 @@ int mbedtls_internal_ecp_normalize_mxz( const mbedtls_ecp_group *grp,
#endif /* MBEDTLS_ECP_INTERNAL_ALT */ #endif /* MBEDTLS_ECP_INTERNAL_ALT */
#endif /* ecp_internal.h */ #endif /* ecp_alt.h */

View file

@ -238,7 +238,7 @@
<ClInclude Include="..\..\library\check_crypto_config.h" /> <ClInclude Include="..\..\library\check_crypto_config.h" />
<ClInclude Include="..\..\library\cipher_internal.h" /> <ClInclude Include="..\..\library\cipher_internal.h" />
<ClInclude Include="..\..\library\common.h" /> <ClInclude Include="..\..\library\common.h" />
<ClInclude Include="..\..\library\ecp_internal.h" /> <ClInclude Include="..\..\library\ecp_alt.h" />
<ClInclude Include="..\..\library\md_internal.h" /> <ClInclude Include="..\..\library\md_internal.h" />
<ClInclude Include="..\..\library\pk_internal.h" /> <ClInclude Include="..\..\library\pk_internal.h" />
<ClInclude Include="..\..\library\psa_crypto_core.h" /> <ClInclude Include="..\..\library\psa_crypto_core.h" />