Trait digest::core_api::UpdateCore[][src]

pub trait UpdateCore {
    type BlockSize: ArrayLength<u8>;
    fn update_blocks(&mut self, blocks: &[GenericArray<u8, Self::BlockSize>]);
}
This is supported on crate feature core-api only.

Trait for updating hasher state with input data divided into blocks.

Associated Types

type BlockSize: ArrayLength<u8>[src]

Block size in bytes.

Loading content...

Required methods

fn update_blocks(&mut self, blocks: &[GenericArray<u8, Self::BlockSize>])[src]

Update the hasher state using the provided data.

Loading content...

Implementors

impl<T, OutSize> UpdateCore for CtVariableCoreWrapper<T, OutSize> where
    T: VariableOutputCore,
    OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
    LeEq<OutSize, T::MaxOutputSize>: NonZero, 
[src]

type BlockSize = T::BlockSize

Loading content...