pub struct EquationAIsGeneric;Expand description
The ๐-coefficient of the short Weierstrass equation does not have specific properties which allow for an optimized implementation.
Trait Implementationsยง
Sourceยงimpl<C: PrimeCurveParams> PointArithmetic<C> for EquationAIsGeneric
impl<C: PrimeCurveParams> PointArithmetic<C> for EquationAIsGeneric
Sourceยงfn add_assign(lhs: &mut ProjectivePoint<C>, rhs: &ProjectivePoint<C>)
fn add_assign(lhs: &mut ProjectivePoint<C>, rhs: &ProjectivePoint<C>)
Implements complete addition for any curve
Implements the complete addition formula from Renes-Costello-Batina 2015 (Algorithm 1). The comments after each line indicate which algorithm steps are being performed.
Sourceยงfn add_assign_mixed(lhs: &mut ProjectivePoint<C>, rhs: &AffinePoint<C>)
fn add_assign_mixed(lhs: &mut ProjectivePoint<C>, rhs: &AffinePoint<C>)
Implements complete mixed addition for curves with any a
Implements the complete mixed addition formula from Renes-Costello-Batina 2015 (Algorithm 2). The comments after each line indicate which algorithm steps are being performed.
Sourceยงfn double_in_place(point: &mut ProjectivePoint<C>)
fn double_in_place(point: &mut ProjectivePoint<C>)
Implements point doubling for curves with any a
Implements the exception-free point doubling formula from Renes-Costello-Batina 2015 (Algorithm 3). The comments after each line indicate which algorithm steps are being performed.