pub struct Theta { /* private fields */ }
Expand description
Values involved in Theta permutation step
Implementations§
source§impl Theta
impl Theta
pub fn create(state_a: &[u64]) -> Self
pub fn shifts_c(&self, i: usize, x: usize, q: usize) -> u64
pub fn dense_c(&self, x: usize, q: usize) -> u64
pub fn quotient_c(&self, x: usize) -> u64
pub fn remainder_c(&self, x: usize, q: usize) -> u64
pub fn dense_rot_c(&self, x: usize, q: usize) -> u64
pub fn expand_rot_c(&self, x: usize, q: usize) -> u64
pub fn state_e(&self) -> Vec<u64>
Auto Trait Implementations§
impl RefUnwindSafe for Theta
impl Send for Theta
impl Sync for Theta
impl Unpin for Theta
impl UnwindSafe for Theta
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