pub struct Share<const LAMBDA: usize, G>where
G: Group<LAMBDA>,{
pub s0s: Vec<[u8; LAMBDA]>,
pub cws: Vec<Cw<LAMBDA, G>>,
pub cw_np1: G,
}Expand description
k.
cws and cw_np1 is shared by the 2 parties.
Only s0s[0] is different.
Fields§
§s0s: Vec<[u8; LAMBDA]>For the output of gen, its length is 2.
For the input of eval, the first one is used.
cws: Vec<Cw<LAMBDA, G>>The length of cws must be n = 8 * N
cw_np1: G$CW^{(n + 1)}$
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