[][src]Struct pq_newhope::Cpa

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

Trait Implementations

impl<N, D> Kem<D> for Cpa<N> where
    D: Default + Update + ExtendableOutput,
    N: PolySize,
    PublicKeyCpa<N>: LineValid,
    SecretKeyCpa<N>: LineValid,
    CipherTextCpa<N>: LineValid,
    Parameter<N>: Pke<Seed = U32, GenerationSeed = U32, Plain = U32, Cipher = N::CompressedLength, PublicKey = PublicKey<N>, SecretKey = SecretKey<N>>, 
[src]

type PublicKey = PublicKeyCpa<N>

type SecretKey = SecretKeyCpa<N>

type CipherText = CipherTextCpa<N>

type PairSeedLength = U32

type PublicKeyHashLength = U32

type EncapsulationSeedLength = U32

type SharedSecretLength = U32

Auto Trait Implementations

impl<N> RefUnwindSafe for Cpa<N> where
    N: RefUnwindSafe

impl<N> Send for Cpa<N> where
    N: Send

impl<N> Sync for Cpa<N> where
    N: Sync

impl<N> Unpin for Cpa<N> where
    N: Unpin

impl<N> UnwindSafe for Cpa<N> where
    N: 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, 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.