pub enum Legacy {}Expand description
DJB variant specific features: 64-bit counter and 64-bit nonce.
Trait Implementations§
Source§impl Variant for Legacy
Available on crate features legacy or rng only.
impl Variant for Legacy
Available on crate features
legacy or rng only.Source§fn get_block_pos(row: &[u32]) -> u64
fn get_block_pos(row: &[u32]) -> u64
Takes a slice of
state[12..NONCE_INDEX] to convert it into
Self::Counter.Source§fn set_block_pos(row: &mut [u32], pos: u64)
fn set_block_pos(row: &mut [u32], pos: u64)
Breaks down the
Self::Counter type into a u32 array for setting the
block pos.impl Copy for Legacy
Auto Trait Implementations§
impl Freeze for Legacy
impl RefUnwindSafe for Legacy
impl Send for Legacy
impl Sync for Legacy
impl Unpin for Legacy
impl UnwindSafe for Legacy
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