pub type Affine = EpAffine;
Expand description
A Pallas point in the affine coordinate space (or the point at infinity).
Aliased Type§
struct Affine { /* private fields */ }
Trait Implementations
Source§impl CofactorCurveAffine for EpAffine
impl CofactorCurveAffine for EpAffine
Source§impl ConditionallySelectable for EpAffine
impl ConditionallySelectable for EpAffine
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 EpAffine
impl ConstantTimeEq for EpAffine
Source§impl CurveAffine for EpAffine
impl CurveAffine for EpAffine
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<EpAffine>>
fn coordinates(&self) -> CtOption<Coordinates<EpAffine>>
Gets the coordinates of this point. Read more
Source§impl GroupEncoding for EpAffine
impl GroupEncoding for EpAffine
Source§fn from_bytes(bytes: &[u8; 32]) -> CtOption<EpAffine>
fn from_bytes(bytes: &[u8; 32]) -> CtOption<EpAffine>
Attempts to deserialize a group element from its encoding.
Source§fn from_bytes_unchecked(
bytes: &<EpAffine as GroupEncoding>::Repr,
) -> CtOption<EpAffine>
fn from_bytes_unchecked( bytes: &<EpAffine as GroupEncoding>::Repr, ) -> CtOption<EpAffine>
Attempts to deserialize a group element, not checking if the element is valid. Read more