1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Rework the clone of ecp_curves.c

Change macro guard
rebase ecp_curves_new.c to the latest ecp_curves.c

Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
This commit is contained in:
Xiaokang Qian
2023-07-12 03:19:41 +00:00
parent 4d71051145
commit 73d98405b8
2 changed files with 143 additions and 78 deletions

View File

@@ -18,9 +18,8 @@
*/
#include "common.h"
#include "ecp_invasive.h"
#if defined(MBEDTLS_ECP_WITH_MPI_STRUCT)
#if !defined(MBEDTLS_ECP_WITH_MPI_UINT)
#if defined(MBEDTLS_ECP_LIGHT)
@@ -35,6 +34,7 @@
#include "bn_mul.h"
#include "bignum_core.h"
#include "ecp_invasive.h"
#include <string.h>
@@ -6041,4 +6041,4 @@ int mbedtls_ecp_modulus_setup(mbedtls_mpi_mod_modulus *N,
#endif /* MBEDTLS_TEST_HOOKS */
#endif /* !MBEDTLS_ECP_ALT */
#endif /* MBEDTLS_ECP_LIGHT */
#endif /* MBEDTLS_ECP_WITH_MPI_STRUCT */
#endif /* MBEDTLS_ECP_WITH_MPI_UINT */