1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Merge pull request #7782 from gilles-peskine-arm/mbedtls_ecp_modulus_type-move

Move mbedtls_ecp_modulus_type out of the public headers
This commit is contained in:
Janos Follath
2023-06-16 11:12:57 +01:00
committed by GitHub
2 changed files with 9 additions and 9 deletions

View File

@ -31,6 +31,15 @@
#include "bignum_mod.h"
#include "mbedtls/ecp.h"
/*
* Curve modulus types
*/
typedef enum {
MBEDTLS_ECP_MOD_NONE = 0,
MBEDTLS_ECP_MOD_COORDINATE,
MBEDTLS_ECP_MOD_SCALAR
} mbedtls_ecp_modulus_type;
#if defined(MBEDTLS_TEST_HOOKS) && defined(MBEDTLS_ECP_LIGHT)
#if defined(MBEDTLS_ECP_MONTGOMERY_ENABLED)