From aab80b7b5169295ab9f005f8102ce64d3f81839a Mon Sep 17 00:00:00 2001 From: Michael Hamburg Date: Tue, 3 Mar 2015 16:06:04 -0800 Subject: [PATCH] faster code can now use non-reduced field ops --- src/decaf_fast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decaf_fast.c b/src/decaf_fast.c index 1c4a26c..a120d4f 100644 --- a/src/decaf_fast.c +++ b/src/decaf_fast.c @@ -538,7 +538,7 @@ void decaf_448_point_double(decaf_448_point_t p, const decaf_448_point_t q) { gf_add_nr ( d, c, a ); gf_add_nr ( p->t, q->y, q->x ); gf_sqr ( b, p->t ); - gf_sub_nr_x ( b, b, d, 4 ); + gf_sub_nr_x ( b, b, d, 3 ); gf_sub_nr ( p->t, a, c ); gf_sqr ( p->x, q->z ); gf_add_nr ( p->z, p->x, p->x );