pub struct EnvironmentParameters {Show 18 fields
pub n: usize,
pub r: usize,
pub b: Zq,
pub b_1: Zq,
pub t_1: usize,
pub b_2: Zq,
pub t_2: usize,
pub beta: Zq,
pub gamma: Zq,
pub gamma_1: Zq,
pub gamma_2: Zq,
pub kappa: usize,
pub kappa_1: usize,
pub kappa_2: usize,
pub lambda: usize,
pub constraint_k: usize,
pub constraint_l: usize,
pub log_q: usize,
}
Fields§
§n: usize
Relation R Parameters
r: usize
§b: Zq
Decomposition Parameters
b_1: Zq
§t_1: usize
§b_2: Zq
§t_2: usize
§beta: Zq
Norm Bounds
gamma: Zq
§gamma_1: Zq
§gamma_2: Zq
§kappa: usize
Commitment Matrices Sizes
kappa_1: usize
§kappa_2: usize
§lambda: usize
Security Parameter
constraint_k: usize
Function Families Sizes
constraint_l: usize
§log_q: usize
Other Parameters
Implementations§
Trait Implementations§
Source§impl Clone for EnvironmentParameters
impl Clone for EnvironmentParameters
Source§fn clone(&self) -> EnvironmentParameters
fn clone(&self) -> EnvironmentParameters
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for EnvironmentParameters
impl RefUnwindSafe for EnvironmentParameters
impl Send for EnvironmentParameters
impl Sync for EnvironmentParameters
impl Unpin for EnvironmentParameters
impl UnwindSafe for EnvironmentParameters
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