1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Add comments and remove unneeded defines

For `check_names.py` it is enough to appear a macro definition in
a comment to validate it.

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei
2023-06-30 14:50:03 +02:00
parent c810707980
commit f4aab6f666

View File

@ -40,11 +40,15 @@ typedef enum {
MBEDTLS_ECP_MOD_SCALAR
} mbedtls_ecp_modulus_type;
/* Requred macros for ECP split.
* If MBEDTLS_ECP_WITH_MPI_UINT is defined the new bignum interface is used.
*/
#ifndef MBEDTLS_ECP_WITH_MPI_UINT
#define MBEDTLS_ECP_WITH_MPI_UINT
#undef MBEDTLS_ECP_WITH_MPI_UINT
/* Because of `check_names.py` a define is needed for every macro. */
//#define MBEDTLS_ECP_WITH_MPI_UINT
/* Enable the old bignum interface. */
#define MBEDTLS_ECP_WITH_MPI_STRUCT
#endif