mbedtls: enable secp384r1 elliptic curve support
Secp384r1 is the default curve for OpenVPN 2.4+. Enable this to make OpenVPN-mbedtls clients able to perform ECDHE key exchange with remote OpenVPN 2.4-openssl servers that use the default OpenVPN curve. Signed-off-by: Magnus Kroken <mkroken@gmail.com>
This commit is contained in:
parent
4731f02fa2
commit
ca963bbf5f
1 changed files with 1 additions and 2 deletions
|
@ -27,11 +27,10 @@
|
||||||
+//#define MBEDTLS_ECP_DP_SECP192R1_ENABLED
|
+//#define MBEDTLS_ECP_DP_SECP192R1_ENABLED
|
||||||
+//#define MBEDTLS_ECP_DP_SECP224R1_ENABLED
|
+//#define MBEDTLS_ECP_DP_SECP224R1_ENABLED
|
||||||
#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
||||||
-#define MBEDTLS_ECP_DP_SECP384R1_ENABLED
|
#define MBEDTLS_ECP_DP_SECP384R1_ENABLED
|
||||||
-#define MBEDTLS_ECP_DP_SECP521R1_ENABLED
|
-#define MBEDTLS_ECP_DP_SECP521R1_ENABLED
|
||||||
-#define MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
-#define MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
-#define MBEDTLS_ECP_DP_SECP224K1_ENABLED
|
-#define MBEDTLS_ECP_DP_SECP224K1_ENABLED
|
||||||
+//#define MBEDTLS_ECP_DP_SECP384R1_ENABLED
|
|
||||||
+//#define MBEDTLS_ECP_DP_SECP521R1_ENABLED
|
+//#define MBEDTLS_ECP_DP_SECP521R1_ENABLED
|
||||||
+//#define MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
+//#define MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
+//#define MBEDTLS_ECP_DP_SECP224K1_ENABLED
|
+//#define MBEDTLS_ECP_DP_SECP224K1_ENABLED
|
||||||
|
|
Loading…
Reference in a new issue