From 2a2ae642d8815bd0ca3e4155aa07a86cee060c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 24 Feb 2014 08:29:51 +0100 Subject: [PATCH] Fix forgotten curves in #ifdef --- library/ecp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/library/ecp.c b/library/ecp.c index 2577fa745..f4f2d1c13 100644 --- a/library/ecp.c +++ b/library/ecp.c @@ -88,7 +88,10 @@ static unsigned long add_count, dbl_count, mul_count; defined(POLARSSL_ECP_DP_SECP521R1_ENABLED) || \ defined(POLARSSL_ECP_DP_BP256R1_ENABLED) || \ defined(POLARSSL_ECP_DP_BP384R1_ENABLED) || \ - defined(POLARSSL_ECP_DP_BP512R1_ENABLED) + defined(POLARSSL_ECP_DP_BP512R1_ENABLED) || \ + defined(POLARSSL_ECP_DP_SECP192K1_ENABLED) || \ + defined(POLARSSL_ECP_DP_SECP224K1_ENABLED) || \ + defined(POLARSSL_ECP_DP_SECP256K1_ENABLED) #define POLARSSL_ECP_SHORT_WEIERSTRASS #endif