Struct curve25519_dalek::curve::CachedPoint [] [src]

pub struct CachedPoint { /* 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.

Trait Implementations

impl Copy for CachedPoint
[src]

impl Clone for CachedPoint
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Identity for CachedPoint
[src]

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

impl CTAssignable for CachedPoint
[src]

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

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

The resulting type after applying the - operator

The method for the unary - operator

impl Debug for CachedPoint
[src]

Formats the value using the given formatter.