mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-01 23:54:19 +01:00
3rdparty: Adjust use of Everest in ecp_supported_curves
This commit is contained in:
parent
7ec367ffc1
commit
2c69d10bac
@ -410,11 +410,8 @@ static const mbedtls_ecp_curve_info ecp_supported_curves[] =
|
|||||||
#if defined(MBEDTLS_ECP_DP_SECP192K1_ENABLED)
|
#if defined(MBEDTLS_ECP_DP_SECP192K1_ENABLED)
|
||||||
{ MBEDTLS_ECP_DP_SECP192K1, 18, 192, "secp192k1" },
|
{ MBEDTLS_ECP_DP_SECP192K1, 18, 192, "secp192k1" },
|
||||||
#endif
|
#endif
|
||||||
#if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED)
|
#if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED) && defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED)
|
||||||
{ MBEDTLS_ECP_DP_CURVE25519, 29, 256, "x25519" },
|
{ MBEDTLS_ECP_DP_CURVE25519, 29, 256, "x25519" },
|
||||||
#endif
|
|
||||||
#if defined(MBEDTLS_ECP_DP_CURVE448_ENABLED)
|
|
||||||
{ MBEDTLS_ECP_DP_CURVE448, 30, 448, "x448" },
|
|
||||||
#endif
|
#endif
|
||||||
{ MBEDTLS_ECP_DP_NONE, 0, 0, NULL },
|
{ MBEDTLS_ECP_DP_NONE, 0, 0, NULL },
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user