[−][src]Struct lpc55_hal::drivers::sha::Sha
Implementations
impl<'a, Size: OutputSize> Sha<'a, Size>
[src]
pub fn new(hashcrypt: &'a mut Hashcrypt<Enabled>) -> Self
[src]
pub fn into_inner(self) -> &'a mut Hashcrypt<Enabled>
[src]
pub fn reset(&mut self)
[src]
Trait Implementations
impl<Size: OutputSize, '_> BlockInput for Sha<'_, Size>
[src]
impl<Size: OutputSize, '_> FixedOutputDirty for Sha<'_, Size>
[src]
type OutputSize = Size
Output size for fixed output digest
fn finalize_into_dirty(&mut self, out: &mut GenericArray<u8, Self::OutputSize>)
[src]
impl<'a, Size: OutputSize> From<&'a mut Hashcrypt<Enabled<()>>> for Sha<'a, Size>
[src]
impl<Size: OutputSize, '_> Reset for Sha<'_, Size>
[src]
impl<Size: OutputSize, '_> Update for Sha<'_, Size>
[src]
Auto Trait Implementations
impl<'a, Size> Send for Sha<'a, Size> where
Size: Send,
Size: Send,
impl<'a, Size> !Sync for Sha<'a, Size>
impl<'a, Size> Unpin for Sha<'a, Size> where
Size: Unpin,
Size: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<D> FixedOutput for D where
D: FixedOutputDirty + Reset,
[src]
D: FixedOutputDirty + Reset,
type OutputSize = <D as FixedOutputDirty>::OutputSize
Output size for fixed output digest
fn finalize_into(
self,
out: &mut GenericArray<u8, <D as FixedOutput>::OutputSize>
)
[src]
self,
out: &mut GenericArray<u8, <D as FixedOutput>::OutputSize>
)
fn finalize_into_reset(
&mut self,
out: &mut GenericArray<u8, <D as FixedOutput>::OutputSize>
)
[src]
&mut self,
out: &mut GenericArray<u8, <D as FixedOutput>::OutputSize>
)
fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>
[src]
fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,