1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-24 17:41:01 +03:00

Use only MBEDTLS_ECP_WITH_MPI_UINT to switch between the ecp variants

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei
2023-07-06 10:37:51 +02:00
parent 6db604711d
commit 2a7bcaf8af
4 changed files with 7 additions and 21 deletions

View File

@@ -43,9 +43,7 @@
#include "common.h"
#include "ecp_invasive.h"
#if defined(MBEDTLS_ECP_WITH_MPI_STRUCT)
#if !defined(MBEDTLS_ECP_WITH_MPI_UINT)
/**
* \brief Function level alternative implementation.
@@ -84,6 +82,7 @@
#include "mbedtls/error.h"
#include "bn_mul.h"
#include "ecp_invasive.h"
#include <string.h>
@@ -3653,4 +3652,4 @@ mbedtls_ecp_variant mbedtls_ecp_get_variant()
#endif /* MBEDTLS_ECP_LIGHT */
#endif /* MBEDTLS_ECP_WITH_MPI_STRUCT */
#endif /* MBEDTLS_ECP_WITH_MPI_UINT */