pub struct Context<A, M: Mode, H: HmacMode<A>>where
A: ContextBufferType<M> + AlgorithmSpec,{ /* private fields */ }Expand description
Stores the state of the HASH peripheral for suspending/resuming digest calculation.
Trait Implementations§
Auto Trait Implementations§
impl<A, M, H> Freeze for Context<A, M, H>
impl<A, M, H> RefUnwindSafe for Context<A, M, H>where
<A as ContextBufferType<M>>::Buffer: RefUnwindSafe,
<H as HmacMode<A>>::Csr: RefUnwindSafe,
<H as HmacMode<A>>::Key: RefUnwindSafe,
impl<A, M, H> Send for Context<A, M, H>
impl<A, M, H> Sync for Context<A, M, H>
impl<A, M, H> Unpin for Context<A, M, H>
impl<A, M, H> UnsafeUnpin for Context<A, M, H>where
<A as ContextBufferType<M>>::Buffer: UnsafeUnpin,
<H as HmacMode<A>>::Csr: UnsafeUnpin,
<H as HmacMode<A>>::Key: UnsafeUnpin,
impl<A, M, H> UnwindSafe for Context<A, M, H>where
<A as ContextBufferType<M>>::Buffer: UnwindSafe,
<H as HmacMode<A>>::Csr: UnwindSafe,
<H as HmacMode<A>>::Key: UnwindSafe,
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