Skip to main content

apply_to_share

Function apply_to_share 

Source
pub fn apply_to_share(
    share_blob: &[u8],
    party_index: u32,
    contributions: &[RefreshContribution],
) -> Vec<u8> 
Expand description

Apply refresh contributions to a CMP20 share blob. The share’s internal scalar x_i is replaced with x_i + sum(g_j(i)) for all contributions directed at party_index.