Skip to main content

UpdateCore

Trait UpdateCore 

Source
pub trait UpdateCore: BlockSizeUser {
    // Required method
    fn update_blocks(&mut self, blocks: &[GenericArray<u8, Self::BlockSize>]);
}
Expand description

Types which consume data in blocks.

Required Methods§

Source

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

Update state using the provided data blocks.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl UpdateCore for Sha1Core

Source§

impl<D> UpdateCore for HmacCore<D>

Source§

fn update_blocks( &mut self, blocks: &[GenericArray<u8, <HmacCore<D> as BlockSizeUser>::BlockSize>], )

Implementors§