pub enum Ietf {}Expand description
IETF ChaCha configuration to use a 32-bit counter and 96-bit nonce.
Trait Implementations§
Source§impl Variant for Ietf
impl Variant for Ietf
Source§fn get_block_pos(row: &[u32]) -> u32
fn get_block_pos(row: &[u32]) -> u32
Takes a slice of
state[12..NONCE_INDEX] to convert it into
Self::Counter.Source§fn set_block_pos(row: &mut [u32], pos: u32)
fn set_block_pos(row: &mut [u32], pos: u32)
Breaks down the
Self::Counter type into a u32 array for setting the
block pos.impl Copy for Ietf
Auto Trait Implementations§
impl Freeze for Ietf
impl RefUnwindSafe for Ietf
impl Send for Ietf
impl Sync for Ietf
impl Unpin for Ietf
impl UnwindSafe for Ietf
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