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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user