pub struct TestHmacSha512<'a, H: Digest<'a, HMAC_SHA512_DIGEST_LEN>> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'a, H: Digest<'a, HMAC_SHA512_DIGEST_LEN> + HmacSha512> CapsuleTest for TestHmacSha512<'a, H>
impl<'a, H: Digest<'a, HMAC_SHA512_DIGEST_LEN> + HmacSha512> CapsuleTest for TestHmacSha512<'a, H>
Source§fn set_client(&self, client: &'static dyn CapsuleTestClient)
fn set_client(&self, client: &'static dyn CapsuleTestClient)
Set the client for the done callback.
Source§impl<'a, H: Digest<'a, HMAC_SHA512_DIGEST_LEN> + HmacSha512> ClientData<HMAC_SHA512_DIGEST_LEN> for TestHmacSha512<'a, H>
impl<'a, H: Digest<'a, HMAC_SHA512_DIGEST_LEN> + HmacSha512> ClientData<HMAC_SHA512_DIGEST_LEN> for TestHmacSha512<'a, H>
Source§fn add_data_done(
&self,
_result: Result<(), ErrorCode>,
_data: SubSlice<'static, u8>,
)
fn add_data_done( &self, _result: Result<(), ErrorCode>, _data: SubSlice<'static, u8>, )
Called when the data has been added to the digest. Read more
Source§fn add_mut_data_done(
&self,
result: Result<(), ErrorCode>,
data: SubSliceMut<'static, u8>,
)
fn add_mut_data_done( &self, result: Result<(), ErrorCode>, data: SubSliceMut<'static, u8>, )
Called when the data has been added to the digest. Read more
Source§impl<'a, H: Digest<'a, HMAC_SHA512_DIGEST_LEN> + HmacSha512> ClientHash<HMAC_SHA512_DIGEST_LEN> for TestHmacSha512<'a, H>
impl<'a, H: Digest<'a, HMAC_SHA512_DIGEST_LEN> + HmacSha512> ClientHash<HMAC_SHA512_DIGEST_LEN> for TestHmacSha512<'a, H>
Source§impl<'a, H: Digest<'a, HMAC_SHA512_DIGEST_LEN> + HmacSha512> ClientVerify<HMAC_SHA512_DIGEST_LEN> for TestHmacSha512<'a, H>
impl<'a, H: Digest<'a, HMAC_SHA512_DIGEST_LEN> + HmacSha512> ClientVerify<HMAC_SHA512_DIGEST_LEN> for TestHmacSha512<'a, H>
Auto Trait Implementations§
impl<'a, H> !Freeze for TestHmacSha512<'a, H>
impl<'a, H> !RefUnwindSafe for TestHmacSha512<'a, H>
impl<'a, H> !Send for TestHmacSha512<'a, H>
impl<'a, H> !Sync for TestHmacSha512<'a, H>
impl<'a, H> !UnwindSafe for TestHmacSha512<'a, H>
impl<'a, H> Unpin for TestHmacSha512<'a, H>
impl<'a, H> UnsafeUnpin for TestHmacSha512<'a, H>
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