Struct curve25519_dalek::edwards::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]
fn clone(&self) -> ProjectiveNielsPoint
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Identity for ProjectiveNielsPoint
[src]
fn identity() -> ProjectiveNielsPoint
[src]
Returns the identity element of the curve. Can be used as a constructor. Read more
impl ConditionallyAssignable for ProjectiveNielsPoint
[src]
fn conditional_assign(&mut self, other: &ProjectiveNielsPoint, choice: u8)
[src]
Conditionally assign other
to self
in constant time. Read more
impl<'a> Neg for &'a ProjectiveNielsPoint
[src]
type Output = ProjectiveNielsPoint
The resulting type after applying the -
operator.
fn neg(self) -> ProjectiveNielsPoint
[src]
Performs the unary -
operation.