Skip to main content

CmacCipher

Trait CmacCipher 

Source
pub trait CmacCipher: SmallBlockSizeUser + BlockCipherEncrypt {
    // Required method
    fn dbl(block: Block<Self>) -> Block<Self>;
}
Expand description

Helper trait implemented for cipher supported by CMAC

Required Methods§

Source

fn dbl(block: Block<Self>) -> Block<Self>

Double block. See the Dbl trait docs for more information.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<C> CmacCipher for C
where Self: SmallBlockSizeUser + BlockCipherEncrypt, Block<Self>: Dbl,