Struct cmac::Cmac[][src]

pub struct Cmac<C> where
    C: BlockCipher + Clone,
    GenericArray<u8, C::BlockSize>: Dbl
{ /* fields omitted */ }

Generic CMAC instance

Trait Implementations

impl<C: Clone> Clone for Cmac<C> where
    C: BlockCipher + Clone,
    GenericArray<u8, C::BlockSize>: Dbl,
    C::BlockSize: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C> Mac for Cmac<C> where
    C: BlockCipher + Clone,
    GenericArray<u8, C::BlockSize>: Dbl,
    C::BlockSize: Clone
[src]

Create new MAC instance from key with fixed size.

Create new MAC instance from key with variable size. Read more

Process input data.

Obtain the result of a Mac computation as a MacResult and consume Mac instance. Read more

Reset Mac instance.

Obtain the result of a Mac computation as a MacResult and reset Mac instance. Read more

Check if code is correct for the processed input.

impl<C> Debug for Cmac<C> where
    C: BlockCipher + Debug + Clone,
    GenericArray<u8, C::BlockSize>: Dbl
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<C> Send for Cmac<C> where
    C: Send,
    <C as BlockCipher>::BlockSize: ArrayLength<u8>, 

impl<C> Sync for Cmac<C> where
    C: Sync,
    <C as BlockCipher>::BlockSize: ArrayLength<u8>,