From f6f008f90511e8d9b8c560c3fceac23f4ce23d01 Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Tue, 2 Feb 2021 12:30:02 -0700 Subject: [PATCH] Remove `MINUS_B_OVER_A` constant. --- src/pasta/curves.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/pasta/curves.rs b/src/pasta/curves.rs index a3623063..b6d5f64d 100644 --- a/src/pasta/curves.rs +++ b/src/pasta/curves.rs @@ -994,15 +994,6 @@ impl Ep { 0x4000000000000000, ]); - /// `(-b) * &(a.invert().unwrap())` where a and b correspond with curve - /// constants for the isogenous curve. - pub const MINUS_B_OVER_A: Fp = Fp::from_raw([ - 0x1c3006d89470d7f8, - 0x7612d2d7211b7b10, - 0xd97cab452a13c1eb, - 0x3d115d87af7b3324, - ]); - /// `b * &((*z * a).invert().unwrap())` where a and b correspond with curve /// constants for the isogenous curve pub const B_OVER_ZA: Fp = Fp::from_raw([ @@ -1112,15 +1103,6 @@ impl Eq { 0x4000000000000000, ]); - /// `(-b) * &(a.invert().unwrap())` where a and b correspond with curve - /// constants for the isogenous curve. - pub const MINUS_B_OVER_A: Fq = Fq::from_raw([ - 0x6dab74e8ef9dc7d3, - 0xbb4a015f2450502c, - 0x5385df3f6207bb22, - 0x23447efd3c451b98, - ]); - /// `b * &((*z * a).invert().unwrap())` where a and b correspond with curve /// constants for the isogenous curve pub const B_OVER_ZA: Fq = Fq::from_raw([