ECDH: Replace hex literal with decimal in ecp.c

This commit is contained in:
Christoph M. Wintersteiger 2018-12-06 17:27:31 +00:00 committed by Janos Follath
parent fb72367f96
commit 86e36c4c2b

2
library/ecp.c Normal file → Executable file
View file

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