pub struct Polyval { /* private fields */ }Expand description
A POLYVAL accumulator.
Implementations§
Source§impl Polyval
impl Polyval
Sourcepub fn update_block(&mut self, block: &[u8; 16])
pub fn update_block(&mut self, block: &[u8; 16])
Absorb one whole block.
Sourcepub fn update_padded(&mut self, data: &[u8])
pub fn update_padded(&mut self, data: &[u8])
Absorb a byte string, zero-padding the final partial block.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Polyval
impl RefUnwindSafe for Polyval
impl Send for Polyval
impl Sync for Polyval
impl Unpin for Polyval
impl UnsafeUnpin for Polyval
impl UnwindSafe for Polyval
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more