Struct synedrion::TestParams
source · pub struct TestParams;
Expand description
Scheme parameters for testing purposes only. Security is weakened to allow for faster execution.
Trait Implementations§
source§impl Clone for TestParams
impl Clone for TestParams
source§fn clone(&self) -> TestParams
fn clone(&self) -> TestParams
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 moresource§impl Debug for TestParams
impl Debug for TestParams
source§impl PartialEq for TestParams
impl PartialEq for TestParams
source§fn eq(&self, other: &TestParams) -> bool
fn eq(&self, other: &TestParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SchemeParams for TestParams
impl SchemeParams for TestParams
source§const SECURITY_PARAMETER: usize = 10usize
const SECURITY_PARAMETER: usize = 10usize
The sheme’s statistical security parameter.
source§const EPS_BOUND: usize = 320usize
const EPS_BOUND: usize = 320usize
The error bound for range checks (referred to in the paper as the slackness parameter).
source§const CURVE_ORDER: <Self::Paillier as PaillierParams>::Uint = _
const CURVE_ORDER: <Self::Paillier as PaillierParams>::Uint = _
The order of the curve.
impl Copy for TestParams
impl Eq for TestParams
impl StructuralEq for TestParams
impl StructuralPartialEq for TestParams
Auto Trait Implementations§
impl RefUnwindSafe for TestParams
impl Send for TestParams
impl Sync for TestParams
impl Unpin for TestParams
impl UnwindSafe for TestParams
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