1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

ECDH: Enable Everest Curve25519 in ECDH/ECDSA/ECP

This commit is contained in:
Christoph M. Wintersteiger
2018-10-25 13:03:05 +01:00
committed by Janos Follath
parent 696dedaed6
commit c9f737b4ba
3 changed files with 46 additions and 3 deletions

View File

@ -409,6 +409,9 @@ static const mbedtls_ecp_curve_info ecp_supported_curves[] =
#endif
#if defined(MBEDTLS_ECP_DP_SECP192K1_ENABLED)
{ MBEDTLS_ECP_DP_SECP192K1, 18, 192, "secp192k1" },
#endif
#if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED)
{ MBEDTLS_ECP_DP_CURVE25519, 0x001D, 256, "x25519" },
#endif
{ MBEDTLS_ECP_DP_NONE, 0, 0, NULL },
};