Struct block_buffer::BlockBuffer256 [−][src]
pub struct BlockBuffer256 { /* fields omitted */ }
Methods
impl BlockBuffer256
[src]
impl BlockBuffer256
pub fn input<F: FnMut(&[u8; 32])>(&mut self, input: &[u8], func: F)
[src]
pub fn input<F: FnMut(&[u8; 32])>(&mut self, input: &[u8], func: F)
pub fn len_padding<F>(&mut self, data_len: u64, func: F) where
F: FnMut(&[u8; 32]),
[src]
pub fn len_padding<F>(&mut self, data_len: u64, func: F) where
F: FnMut(&[u8; 32]),
Will pad message with message length in big-endian format
pub fn len_padding_u128<F>(&mut self, hi: u64, lo: u64, func: F) where
F: FnMut(&[u8; 32]),
[src]
pub fn len_padding_u128<F>(&mut self, hi: u64, lo: u64, func: F) where
F: FnMut(&[u8; 32]),
pub fn pad_with<P: Padding>(&mut self) -> &mut [u8; 32]
[src]
pub fn pad_with<P: Padding>(&mut self) -> &mut [u8; 32]
pub fn size(&self) -> usize
[src]
pub fn size(&self) -> usize
pub fn position(&self) -> usize
[src]
pub fn position(&self) -> usize
pub fn remaining(&self) -> usize
[src]
pub fn remaining(&self) -> usize
Trait Implementations
impl Copy for BlockBuffer256
[src]
impl Copy for BlockBuffer256
impl Clone for BlockBuffer256
[src]
impl Clone for BlockBuffer256
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for BlockBuffer256
[src]
impl Default for BlockBuffer256
Auto Trait Implementations
impl Send for BlockBuffer256
impl Send for BlockBuffer256
impl Sync for BlockBuffer256
impl Sync for BlockBuffer256