[][src]Struct pq_newhope::Parameter

pub struct Parameter<N>(_)
where
    N: PolySize
;

Trait Implementations

impl<N: Clone> Clone for Parameter<N> where
    N: PolySize
[src]

impl<N> Pke for Parameter<N> where
    N: PolySize,
    Poly<N, (B0, B1, B1)>: FromSeed,
    Poly<N, (B1, B0, B0)>: FromSeedSmall + Ntt<Output = Poly<N, (B0, B0, B1)>>,
    Poly<N, (B0, B0, B1)>: Ntt + ReverseBits<Output = Poly<N, (B1, B0, B1)>>,
    Poly<N, (B1, B0, B1)>: Ntt<Output = Poly<N, (B0, B0, B0)>> + ReverseBits,
    Poly<N, (B0, B0, B0)>: FromSeed + Ntt
[src]

type Seed = U32

type GenerationSeed = U32

type Plain = U32

type Cipher = N::CompressedLength

type PublicKey = PublicKey<N>

type SecretKey = SecretKey<N>

Auto Trait Implementations

impl<N> RefUnwindSafe for Parameter<N> where
    <<N as PolySize>::PolyLength as ArrayLength<Coefficient>>::ArrayType: RefUnwindSafe

impl<N> Send for Parameter<N> where
    <N as PolySize>::PolyLength: ArrayLength<Coefficient>, 

impl<N> Sync for Parameter<N> where
    <N as PolySize>::PolyLength: ArrayLength<Coefficient>, 

impl<N> Unpin for Parameter<N> where
    <<N as PolySize>::PolyLength as ArrayLength<Coefficient>>::ArrayType: Unpin

impl<N> UnwindSafe for Parameter<N> where
    <<N as PolySize>::PolyLength as ArrayLength<Coefficient>>::ArrayType: 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> From<T> for T[src]

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

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 = Infallible

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.