pub struct EquationAIsZero;Expand description
The ๐-coefficient of the short Weierstrass equation is 0.
Trait Implementationsยง
Sourceยงimpl<C: PrimeCurveParams> PointArithmetic<C> for EquationAIsZero
impl<C: PrimeCurveParams> PointArithmetic<C> for EquationAIsZero
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 curves with a = 0
Implements the complete addition formula from Renes-Costello-Batina 2015 (Algorithm 7). 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 a = 0
Implements the complete mixed addition formula from Renes-Costello-Batina 2015 (Algorithm 8). 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 a = 0
Implements the exception-free point doubling formula from Renes-Costello-Batina 2015 (Algorithm 9). The comments after each line indicate which algorithm steps are being performed.
Auto Trait Implementationsยง
impl Freeze for EquationAIsZero
impl RefUnwindSafe for EquationAIsZero
impl Send for EquationAIsZero
impl Sync for EquationAIsZero
impl Unpin for EquationAIsZero
impl UnsafeUnpin for EquationAIsZero
impl UnwindSafe for EquationAIsZero
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more