pub struct Round1Output {
pub party_id: usize,
pub d_matrix: PolyMatrix,
pub macs: HashMap<usize, [u8; 32]>,
}Expand description
Round 1 output from a party
Fields§
§party_id: usizeParty ID
d_matrix: PolyMatrixCommitment matrix D_i (M x (Dbar+1))
macs: HashMap<usize, [u8; 32]>MACs for other parties: party_j -> MAC
Implementations§
Trait Implementations§
Source§impl Clone for Round1Output
impl Clone for Round1Output
Source§fn clone(&self) -> Round1Output
fn clone(&self) -> Round1Output
Returns a duplicate 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 Round1Output
impl RefUnwindSafe for Round1Output
impl Send for Round1Output
impl Sync for Round1Output
impl Unpin for Round1Output
impl UnwindSafe for Round1Output
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