Struct ascon_aead::Ascon[][src]

pub struct Ascon<P: Parameters> { /* fields omitted */ }

Ascon generic over some Parameters

This type is generic to support substituting various Ascon parameter sets. It is not intended to use directly. Use the Ascon128 and Ascon128a type aliases instead.

Trait Implementations

impl<P: Parameters> AeadCore for Ascon<P>[src]

type NonceSize = U16

The length of a nonce.

type TagSize = U16

The maximum length of the nonce.

type CiphertextOverhead = U0

The upper bound amount of additional space required to support a ciphertext vs. a plaintext. Read more

impl<P: Parameters> AeadInPlace for Ascon<P>[src]

impl<P: Clone + Parameters> Clone for Ascon<P>[src]

impl<P: Parameters> Drop for Ascon<P>[src]

impl<P: Parameters> NewAead for Ascon<P>[src]

type KeySize = U16

The size of the key array required by this algorithm.

Auto Trait Implementations

impl<P> RefUnwindSafe for Ascon<P> where
    P: RefUnwindSafe

impl<P> Send for Ascon<P> where
    P: Send

impl<P> Sync for Ascon<P> where
    P: Sync

impl<P> Unpin for Ascon<P> where
    P: Unpin

impl<P> UnwindSafe for Ascon<P> where
    P: UnwindSafe

Blanket Implementations

impl<Alg> Aead for Alg where
    Alg: AeadInPlace
[src]

impl<Alg> AeadMut for Alg where
    Alg: AeadMutInPlace
[src]

impl<Alg> AeadMutInPlace for Alg where
    Alg: AeadInPlace
[src]

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.