From 43863eeffc6b7f54da710f186e06ea3b73f33a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Sun, 1 Dec 2013 16:51:27 +0100 Subject: [PATCH] Declare internal variables static in ecp.c --- library/ecp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/ecp.c b/library/ecp.c index 45fbd9356d..969e11dc37 100644 --- a/library/ecp.c +++ b/library/ecp.c @@ -75,7 +75,7 @@ * Counts of point addition and doubling, and field multiplications. * Used to test resistance of point multiplication to simple timing attacks. */ -unsigned long add_count, dbl_count, mul_count; +static unsigned long add_count, dbl_count, mul_count; #endif /* @@ -85,7 +85,7 @@ unsigned long add_count, dbl_count, mul_count; * - size in bits * - readable name */ -const ecp_curve_info ecp_supported_curves[] = +static const ecp_curve_info ecp_supported_curves[] = { #if defined(POLARSSL_ECP_DP_BP512R1_ENABLED) { POLARSSL_ECP_DP_BP512R1, 28, 512, "brainpoolP512r1" },