summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ec25519_gf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ec25519_gf.c b/src/ec25519_gf.c
index 9c57c66..de9b1a8 100644
--- a/src/ec25519_gf.c
+++ b/src/ec25519_gf.c
@@ -191,6 +191,8 @@ void ecc_25519_gf_recip(ecc_int_256 *out, const ecc_int_256 *in) {
A[i] = in->p[i];
}
+ reduce(A);
+
for (i = 0; i < 32; i++) {
unsigned char c;