pub struct VssSetup<E: Curve> {
pub min_signers: u16,
pub I: Vec<NonZero<Scalar<E>>>,
}Expand description
Secret sharing setup of a key
Fields§
§min_signers: u16Threshold parameter
Specifies how many signers are required to perform signing
I: Vec<NonZero<Scalar<E>>>Key shares indexes
I[i] corresponds to key share index of a $\ith$ signer
Trait Implementations§
source§impl<E: PartialEq + Curve> PartialEq for VssSetup<E>
impl<E: PartialEq + Curve> PartialEq for VssSetup<E>
impl<E: Eq + Curve> Eq for VssSetup<E>
impl<E: Curve> StructuralPartialEq for VssSetup<E>
Auto Trait Implementations§
impl<E> Freeze for VssSetup<E>
impl<E> RefUnwindSafe for VssSetup<E>
impl<E> Send for VssSetup<E>
impl<E> Sync for VssSetup<E>
impl<E> Unpin for VssSetup<E>
impl<E> UnwindSafe for VssSetup<E>
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