File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed
ed448-goldilocks/src/edwards Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -69,37 +69,6 @@ impl AffinePoint {
6969 y : FieldElement :: ONE ,
7070 } ;
7171
72- // pub(crate) fn isogeny(&self) -> Self {
73- // let x = self.x;
74- // let y = self.y;
75- // let mut t0 = x.square(); // x^2
76- // let t1 = t0 + FieldElement::ONE; // x^2+1
77- // t0 -= FieldElement::ONE; // x^2-1
78- // let mut t2 = y.square(); // y^2
79- // t2 = t2.double(); // 2y^2
80- // let t3 = x.double(); // 2x
81-
82- // let mut t4 = t0 * y; // y(x^2-1)
83- // t4 = t4.double(); // 2y(x^2-1)
84- // let xNum = t4.double(); // xNum = 4y(x^2-1)
85-
86- // let mut t5 = t0.square(); // x^4-2x^2+1
87- // t4 = t5 + t2; // x^4-2x^2+1+2y^2
88- // let xDen = t4 + t2; // xDen = x^4-2x^2+1+4y^2
89-
90- // t5 *= x; // x^5-2x^3+x
91- // t4 = t2 * t3; // 4xy^2
92- // let yNum = t4 - t5; // yNum = -(x^5-2x^3+x-4xy^2)
93-
94- // t4 = t1 * t2; // 2x^2y^2+2y^2
95- // let yDen = t5 - t4; // yDen = x^5-2x^3+x-2x^2y^2-2y^2
96-
97- // Self {
98- // x: xNum * xDen.invert(),
99- // y: yNum * yDen.invert(),
100- // }
101- // }
102-
10372 /// Convert to edwards extended point
10473 pub fn to_edwards ( & self ) -> EdwardsPoint {
10574 EdwardsPoint {
You can’t perform that action at this time.
0 commit comments