pub struct Aes128Cmac { /* private fields */ }Expand description
AES-128 CMAC.
CMAC message authentication code (NIST SP 800-38B), with a 128-bit tag.
Implementations§
Source§impl Aes128Cmac
impl Aes128Cmac
Sourcepub const OUTPUT_SIZE: usize = 16
pub const OUTPUT_SIZE: usize = 16
Size of the tag, in bytes.
Trait Implementations§
Source§impl Clone for Aes128Cmac
impl Clone for Aes128Cmac
Source§fn clone(&self) -> Aes128Cmac
fn clone(&self) -> Aes128Cmac
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for Aes128Cmac
impl !Unpin for Aes128Cmac
impl !UnwindSafe for Aes128Cmac
impl Freeze for Aes128Cmac
impl Send for Aes128Cmac
impl Sync for Aes128Cmac
impl UnsafeUnpin for Aes128Cmac
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more