Struct curve25519_dalek::curve::ProjectiveNielsPoint [] [src]

pub struct ProjectiveNielsPoint { /* fields omitted */ }

A pre-computed point in the P³(𝔽ₚ) model for the curve, represented as (Y+X, Y-X, Z, 2dXY). These precomputations accelerate addition and subtraction, and were introduced by Niels Duif in the ed25519 paper "High-Speed High-Security Signatures".

Trait Implementations

impl Copy for ProjectiveNielsPoint
[src]

impl Clone for ProjectiveNielsPoint
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Identity for ProjectiveNielsPoint
[src]

Returns the identity element of the curve. Can be used as a constructor. Read more

impl CTAssignable for ProjectiveNielsPoint
[src]

If choice == 1u8, assign other to self. Otherwise, leave self unchanged. Executes in constant time. Read more

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

The resulting type after applying the - operator

The method for the unary - operator

impl Debug for ProjectiveNielsPoint
[src]

Formats the value using the given formatter.