Struct cmac::Cmac [] [src]

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

Generic CMAC instance

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Create new MAC instance from key with fixed size.

[src]

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

[src]

Process input data.

[src]

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

[src]

Check if code is correct for the processed input and reset Mac instance. Read more

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

[src]

Formats the value using the given formatter.