pub struct Dilithium2Params;
Expand description
Example: Dilithium parameter sets
Trait Implementations§
Source§impl Clone for Dilithium2Params
impl Clone for Dilithium2Params
Source§fn clone(&self) -> Dilithium2Params
fn clone(&self) -> Dilithium2Params
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Dilithium2Params
impl Debug for Dilithium2Params
Source§impl Modulus for Dilithium2Params
impl Modulus for Dilithium2Params
Source§const BARRETT_MU: u128 = 4_299_165_187u128
const BARRETT_MU: u128 = 4_299_165_187u128
Barrett reduction constant mu = floor(2^k / Q)
Set to 0 for dynamic computation
Auto Trait Implementations§
impl Freeze for Dilithium2Params
impl RefUnwindSafe for Dilithium2Params
impl Send for Dilithium2Params
impl Sync for Dilithium2Params
impl Unpin for Dilithium2Params
impl UnwindSafe for Dilithium2Params
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