pub struct MacParams<'a> {
pub key: &'a [u8],
}Expand description
Borrowed MAC inputs for the root operation-backed dispatch facade.
The operation owner validates the key before authentication or verification; this adapter never truncates, pads, or retains caller-owned key material.
Fields§
§key: &'a [u8]Symmetric key bytes borrowed for the duration of one MAC operation.
Auto Trait Implementations§
impl<'a> Freeze for MacParams<'a>
impl<'a> RefUnwindSafe for MacParams<'a>
impl<'a> Send for MacParams<'a>
impl<'a> Sync for MacParams<'a>
impl<'a> Unpin for MacParams<'a>
impl<'a> UnsafeUnpin for MacParams<'a>
impl<'a> UnwindSafe for MacParams<'a>
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