pub struct Params {}Expand description
Parameter profile. All sizes are in bits unless noted.
Fields§
§id: ParamsId§kappa: u32Group order size κ.
ell: u32Soundness ℓ.
nu: u32Statistical noise ν.
nu_leak: u32Noise against subgroup leakage ν_leak.
n_rsa: u32Paillier / DF modulus size of the server.
n_client: u32Ephemeral DF modulus size of the client.
r_mod: u32Repetitions of Π_mod.
r_df: u32Repetitions of Π_df.
r_df_star: u32Repetitions of Π_df*.
ell0: u32Challenge size of Π_df* in bits (open question, spec §5).
n_t_rho: u32Randomness range of a DF commitment, n_tρ.
tough_count: u32Number of small primes in (p−1)/2 for tough primes.
tough_bits: u32Bit size of each small prime in tough primes.
Implementations§
Trait Implementations§
impl Copy for Params
impl Eq for Params
impl StructuralPartialEq for Params
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnsafeUnpin for Params
impl UnwindSafe for Params
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