pub type Affine = EqAffine;
Expand description
A Vesta point in the affine coordinate space (or the point at infinity).
Aliased Type§
struct Affine { /* private fields */ }
Trait Implementations
Source§impl CofactorCurveAffine for EqAffine
impl CofactorCurveAffine for EqAffine
Source§impl ConditionallySelectable for EqAffine
impl ConditionallySelectable for EqAffine
Source§fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
Source§fn conditional_assign(&mut self, other: &Self, choice: Choice)
fn conditional_assign(&mut self, other: &Self, choice: Choice)
Source§fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)
fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)
Conditionally swap
self
and other
if choice == 1
; otherwise,
reassign both unto themselves. Read moreSource§impl ConstantTimeEq for EqAffine
impl ConstantTimeEq for EqAffine
Source§impl CurveAffine for EqAffine
impl CurveAffine for EqAffine
Source§fn is_on_curve(&self) -> Choice
fn is_on_curve(&self) -> Choice
Returns whether or not this element is on the curve; should
always be true unless an “unchecked” API was used.
Source§fn coordinates(&self) -> CtOption<Coordinates<Self>>
fn coordinates(&self) -> CtOption<Coordinates<Self>>
Gets the coordinates of this point. Read more