File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,3 @@ pub const DECAF_BASEPOINT: DecafPoint = DecafPoint(curve::twedwards::extended::E
1212/// \ell = 2^\{446\} + 0x8335dc163bb124b65129c96fde933d8d723a70aadc873d6d54a7bb0d.
1313/// $$
1414pub const EDWARDS_BASEPOINT_ORDER : EdwardsScalar = EdwardsScalar :: new ( ORDER ) ;
15-
16- /// `BASEPOINT_ORDER` is the order of the Decaf448 basepoint, i.e.,
17- /// $$
18- /// \ell = 2^\{446\} + 0x8335dc163bb124b65129c96fde933d8d723a70aadc873d6d54a7bb0d.
19- /// $$
20- pub const DECAF_BASEPOINT_ORDER : DecafScalar = DecafScalar :: new ( ORDER ) ;
Original file line number Diff line number Diff line change 1- use crate :: constants:: { DECAF_BASEPOINT , DECAF_BASEPOINT_ORDER } ;
1+ use crate :: constants:: DECAF_BASEPOINT ;
22use crate :: curve:: twedwards:: extended:: ExtendedPoint ;
33use crate :: field:: FieldElement ;
44use crate :: * ;
@@ -226,7 +226,7 @@ impl CofactorGroup for DecafPoint {
226226 }
227227
228228 fn is_torsion_free ( & self ) -> Choice {
229- ( self * DECAF_BASEPOINT_ORDER ) . ct_eq ( & Self :: IDENTITY )
229+ self . ct_eq ( & Self :: IDENTITY )
230230 }
231231}
232232
You can’t perform that action at this time.
0 commit comments