Struct curve25519_dalek::curve::PreComputedPoint [] [src]

pub struct PreComputedPoint {
    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.

Fields

Trait Implementations

impl Copy for PreComputedPoint
[src]

impl Clone for PreComputedPoint
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Identity for PreComputedPoint
[src]

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

impl CTAssignable for PreComputedPoint
[src]

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

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

The resulting type after applying the - operator

The method for the unary - operator

impl Debug for PreComputedPoint
[src]

Formats the value using the given formatter.