Struct sgx_crypto::mac::AesCMac
source · pub struct AesCMac { /* private fields */ }Implementations§
source§impl AesCMac
impl AesCMac
pub fn new(key: &Key128bit) -> SgxResult<AesCMac>
pub fn update<T>(&mut self, data: &T) -> SgxResultwhere T: ContiguousMemory + ?Sized,
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>(key: &Key128bit, data: &T) -> SgxResult<Mac128bit>where T: ContiguousMemory + ?Sized,
pub fn cmac_align<T>(key: &Key128bit, data: &T) -> SgxResult<AlignMac128bit>where T: ContiguousMemory + ?Sized,
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§
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