[][src]Struct curve25519_dalek::backend::serial::curve_models::ProjectiveNielsPoint

pub struct ProjectiveNielsPoint {
    pub Y_plus_X: FieldElement51,
    pub Y_minus_X: FieldElement51,
    pub Z: FieldElement51,
    pub T2d: FieldElement51,
}

A pre-computed point on the \( \mathbb P^3 \) model for the curve, represented as \((Y+X, Y-X, Z, 2dXY)\) in "Niels coordinates".

More details on the relationships between the different curve models can be found in the module-level documentation.

Fields

Y_plus_X: FieldElement51Y_minus_X: FieldElement51Z: FieldElement51T2d: FieldElement51

Trait Implementations

impl Identity for ProjectiveNielsPoint[src]

impl Clone for ProjectiveNielsPoint[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ProjectiveNielsPoint[src]

impl Copy for ProjectiveNielsPoint[src]

impl<'a, 'b> Add<&'b ProjectiveNielsPoint> for &'a EdwardsPoint[src]

type Output = CompletedPoint

The resulting type after applying the + operator.

impl<'a, 'b> Sub<&'b ProjectiveNielsPoint> for &'a EdwardsPoint[src]

type Output = CompletedPoint

The resulting type after applying the - operator.

impl<'a> Neg for &'a ProjectiveNielsPoint[src]

type Output = ProjectiveNielsPoint

The resulting type after applying the - operator.

impl Default for ProjectiveNielsPoint[src]

impl ConditionallySelectable for ProjectiveNielsPoint[src]

fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)[src]

Conditionally swap self and other if choice == 1; otherwise, reassign both unto themselves. Read more

Auto Trait Implementations

impl Send for ProjectiveNielsPoint

impl Sync for ProjectiveNielsPoint

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> FromCast for T

impl<T, U> Cast for T where
    U: FromCast<T>, 

impl<T, U> IntoBits for T where
    U: FromBits<T>, 

impl<T> FromBits for T

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> InitializableFromZeroed for T where
    T: Default

impl<T> Same for T

type Output = T

Should always be Self

impl<T> ConditionallyNegatable for T where
    T: ConditionallySelectable,
    &'a T: Neg,
    <&'a T as Neg>::Output == T, 
[src]