digest::core_api

Trait UpdateCore

Source
pub trait UpdateCore: BlockSizeUser {
    // Required method
    fn update_blocks(&mut self, blocks: &[Block<Self>]);
}
Available on crate feature core-api only.
Expand description

Types which consume data in blocks.

Required Methods§

Source

fn update_blocks(&mut self, blocks: &[Block<Self>])

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", so this trait is not object safe.

Implementors§

Source§

impl<T, OutSize, O> UpdateCore for CtVariableCoreWrapper<T, OutSize, O>