Skip to main content

verify_zero_sum

Function verify_zero_sum 

Source
pub fn verify_zero_sum(contributions: &[RefreshContribution]) -> bool
Expand description

Verify that a set of refresh contributions preserves the aggregate secret: sum_i g_i(0) must be zero. If this check fails, the refresh round is malformed and the shares are compromised.