pub struct EquationAIsMinusThree;Expand description
The ๐-coefficient of the short Weierstrass equation is -3.
Trait Implementationsยง
Sourceยงimpl Clone for EquationAIsMinusThree
impl Clone for EquationAIsMinusThree
Sourceยงfn clone(&self) -> EquationAIsMinusThree
fn clone(&self) -> EquationAIsMinusThree
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for EquationAIsMinusThree
impl Debug for EquationAIsMinusThree
Sourceยงimpl<C: PrimeCurveParams> PointArithmetic<C> for EquationAIsMinusThree
impl<C: PrimeCurveParams> PointArithmetic<C> for EquationAIsMinusThree
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 = -3
Implements the complete addition formula from Renes-Costello-Batina 2015 (Algorithm 4). 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 = -3
Implements the complete mixed addition formula from Renes-Costello-Batina 2015 (Algorithm 5). 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 = -3
Implements the exception-free point doubling formula from Renes-Costello-Batina 2015 (Algorithm 6). The comments after each line indicate which algorithm steps are being performed.
impl Copy for EquationAIsMinusThree
Auto Trait Implementationsยง
impl Freeze for EquationAIsMinusThree
impl RefUnwindSafe for EquationAIsMinusThree
impl Send for EquationAIsMinusThree
impl Sync for EquationAIsMinusThree
impl Unpin for EquationAIsMinusThree
impl UnsafeUnpin for EquationAIsMinusThree
impl UnwindSafe for EquationAIsMinusThree
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