commit | c9f737b4ba075435c6a27f6fff2631762a487c99 | [log] [tgz] |
---|---|---|
author | Christoph M. Wintersteiger <cwinter@microsoft.com> | Thu Oct 25 13:03:05 2018 +0100 |
committer | Janos Follath <janos.follath@arm.com> | Mon Aug 19 13:36:44 2019 +0100 |
tree | a8d4e76f2be021ff104059a35d9a794262958744 | |
parent | 696dedaed695a82a5f12f6af4150e2e458cde5a9 [diff] [blame] |
ECDH: Enable Everest Curve25519 in ECDH/ECDSA/ECP
diff --git a/library/ecp.c b/library/ecp.c index 3804047..1420f22 100644 --- a/library/ecp.c +++ b/library/ecp.c
@@ -410,6 +410,9 @@ #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 }, };