pub struct PiRho { /* private fields */ }
Expand description
Values involved in PiRho permutation step
Implementations§
source§impl PiRho
impl PiRho
pub fn create(state_e: &[u64]) -> Self
pub fn shifts_e(&self, i: usize, y: usize, x: usize, q: usize) -> u64
pub fn dense_e(&self, y: usize, x: usize, q: usize) -> u64
pub fn quotient_e(&self, y: usize, x: usize, q: usize) -> u64
pub fn remainder_e(&self, y: usize, x: usize, q: usize) -> u64
pub fn dense_rot_e(&self, y: usize, x: usize, q: usize) -> u64
pub fn expand_rot_e(&self, y: usize, x: usize, q: usize) -> u64
pub fn state_b(&self) -> Vec<u64>
Auto Trait Implementations§
impl RefUnwindSafe for PiRho
impl Send for PiRho
impl Sync for PiRho
impl Unpin for PiRho
impl UnwindSafe for PiRho
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