Struct sgx_crypto::mac::AesCMac
source · [−]pub struct AesCMac { /* private fields */ }
Implementations
sourceimpl AesCMac
impl AesCMac
pub fn new(key: &Key128bit) -> SgxResult<AesCMac>
pub fn update<T: ?Sized>(&mut self, data: &T) -> SgxResultwhere
T: ContiguousMemory,
pub fn finalize(self) -> SgxResult<Mac128bit>
pub fn finalize_align(self) -> SgxResult<AlignMac128bit>
pub fn finalize_into(self, mac: &mut Mac128bit) -> SgxResult
pub fn finalize_reset(&mut self) -> SgxResult<Mac128bit>
pub fn finalize_reset_align(&mut self) -> SgxResult<AlignMac128bit>
pub fn finalize_into_reset(&mut self, mac: &mut Mac128bit) -> SgxResult
pub fn verify(self, mac: &Mac128bit) -> SgxResult
pub fn cmac<T: ?Sized>(key: &Key128bit, data: &T) -> SgxResult<Mac128bit>where
T: ContiguousMemory,
pub fn cmac_align<T: ?Sized>(
key: &Key128bit,
data: &T
) -> SgxResult<AlignMac128bit>where
T: ContiguousMemory,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AesCMac
impl !Send for AesCMac
impl !Sync for AesCMac
impl Unpin for AesCMac
impl UnwindSafe for AesCMac
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more