Struct lpc55_hal::drivers::sha::Sha[][src]

pub struct Sha<'a, Size: OutputSize> { /* fields omitted */ }

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]

type BlockSize = U64

Block size

impl<Size: OutputSize> FixedOutputDirty for Sha<'_, Size>[src]

type OutputSize = Size

Output size for fixed output digest

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
[src]

impl<'a, Size> !Sync for Sha<'a, Size>[src]

impl<'a, Size> Unpin for Sha<'a, Size> where
    Size: Unpin
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<D> FixedOutput for D where
    D: FixedOutputDirty + Reset
[src]

type OutputSize = <D as FixedOutputDirty>::OutputSize

Output size for fixed output digest

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.