[][src]Struct curve25519_dalek::window::NafLookupTable5

pub(crate) struct NafLookupTable5<T>(pub(crate) [T; 8]);

Holds odd multiples 1A, 3A, ..., 15A of a point A.

Methods

impl<T: Copy> NafLookupTable5<T>[src]

pub fn select(&self, x: usize) -> T[src]

Given public, odd \( x \) with \( 0 < x < 2^4 \), return \(xA\).

Trait Implementations

impl<T: Clone> Clone for NafLookupTable5<T>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for NafLookupTable5<T>[src]

impl<'a> From<&'a EdwardsPoint> for NafLookupTable5<CachedPoint>[src]

impl<'a> From<&'a EdwardsPoint> for NafLookupTable5<CachedPoint>[src]

impl<'a> From<&'a EdwardsPoint> for NafLookupTable5<ProjectiveNielsPoint>[src]

impl<'a> From<&'a EdwardsPoint> for NafLookupTable5<AffineNielsPoint>[src]

impl<T: Copy> Copy for NafLookupTable5<T>[src]

Auto Trait Implementations

impl<T> Send for NafLookupTable5<T> where
    T: Send

impl<T> Sync for NafLookupTable5<T> where
    T: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> FromCast for T

impl<T, U> Cast for T where
    U: FromCast<T>, 

impl<T, U> IntoBits for T where
    U: FromBits<T>, 

impl<T> FromBits for T

impl<T> Same for T

type Output = T

Should always be Self