[][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]

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

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = !

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.