From 8a5332b2204d135bf5277eb74c86d97b0faed7e7 Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Sun, 8 Jan 2017 14:56:58 -0500 Subject: [PATCH] Remove unused, incorrect a value This was presumably added for use with formulas that use two multiplications by small constants (i.e., 121665 and 121666) instead of one multiplication by a large constant (i.e., -121665/121666), but we don't use those formulas. --- src/constants.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/constants.rs b/src/constants.rs index 428592c..511208d 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -20,8 +20,6 @@ use field::FieldElement; use curve::PreComputedPoint; -pub const a: FieldElement = FieldElement([ - 121665, 0, 0, 0, 0, 0, 0, 0, 0, 0, ]); pub const d: FieldElement = FieldElement([ -10913610, 13857413, -15372611, 6949391, 114729, -8787816, -6275908, -3247719, -18696448, -12055116, ]);