Struct curve25519_dalek::edwards::AffineNielsPoint [] [src]

pub struct AffineNielsPoint {
    pub y_plus_x: FieldElement,
    pub y_minus_x: FieldElement,
    pub xy2d: FieldElement,
}

A pre-computed point in the affine model for the curve, represented as (y+x, y-x, 2dxy). These precomputations accelerate addition and subtraction, and were introduced by Niels Duif in the ed25519 paper "High-Speed High-Security Signatures".

Fields

Trait Implementations

impl Copy for AffineNielsPoint
[src]

impl Clone for AffineNielsPoint
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for AffineNielsPoint
[src]

impl PartialEq for AffineNielsPoint
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Identity for AffineNielsPoint
[src]

[src]

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

impl ConditionallyAssignable for AffineNielsPoint
[src]

[src]

Conditionally assign other to self in constant time. Read more

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

The resulting type after applying the - operator.

[src]

Performs the unary - operation.

impl Debug for AffineNielsPoint
[src]

[src]

Formats the value using the given formatter.