pub struct Cmp20Share {
pub x_i: NonZeroScalar,
pub public_key: AffinePoint,
pub party_idx: u32,
}Expand description
One party’s durable CMP20 secret material.
Fields§
§x_i: NonZeroScalarThis party’s Shamir share of the joint secret.
public_key: AffinePointThe shared public key X = g^x (affine).
party_idx: u321-based DKG roster index of this party.
Implementations§
Trait Implementations§
Source§fn clone(&self) -> Cmp20Share
fn clone(&self) -> Cmp20Share
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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