pub struct AesCmac { /* private fields */ }Expand description
AES-CMAC message authentication code, as in NIST SP 800-38B.
- The direction passed to
Symmetric::aes_startis ignored. - Feed the message with
Symmetric::aes_blocking_payload. The output buffer is ignored and may be empty. Symmetric::aes_blocking_finishreturns the 16-byte tag.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AesCmac
impl RefUnwindSafe for AesCmac
impl Send for AesCmac
impl Sync for AesCmac
impl Unpin for AesCmac
impl UnsafeUnpin for AesCmac
impl UnwindSafe for AesCmac
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