pub struct Share {
pub x: u32,
pub y: Scalar,
}Expand description
A Shamir share: (x, y) where x is the party index and y is a scalar.
Fields§
§x: u32Party index (1-based).
y: ScalarThe share value.
Trait Implementations§
Auto 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