Commit 10cfb95508b1b501f4cea8998234541f5ceff6c1

Francois Perrad 2015-11-12T22:43:38

use same parameter name between prototype declaration and function definition

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/tommath_private.h b/tommath_private.h
index 986beac..6e5aa53 100644
--- a/tommath_private.h
+++ b/tommath_private.h
@@ -66,9 +66,9 @@ int mp_karatsuba_sqr(mp_int *a, mp_int *b);
 int mp_toom_sqr(mp_int *a, mp_int *b);
 int fast_mp_invmod(mp_int *a, mp_int *b, mp_int *c);
 int mp_invmod_slow (mp_int * a, mp_int * b, mp_int * c);
-int fast_mp_montgomery_reduce(mp_int *a, mp_int *m, mp_digit mp);
-int mp_exptmod_fast(mp_int *G, mp_int *X, mp_int *P, mp_int *Y, int mode);
-int s_mp_exptmod (mp_int * G, mp_int * X, mp_int * P, mp_int * Y, int mode);
+int fast_mp_montgomery_reduce(mp_int *x, mp_int *n, mp_digit rho);
+int mp_exptmod_fast(mp_int *G, mp_int *X, mp_int *P, mp_int *Y, int redmode);
+int s_mp_exptmod (mp_int * G, mp_int * X, mp_int * P, mp_int * Y, int redmode);
 void bn_reverse(unsigned char *s, int len);
 
 extern const char *mp_s_rmap;