Skip to main content

sum_nonce_shares

Function sum_nonce_shares 

Source
pub fn sum_nonce_shares(shares: &[Scalar]) -> Scalar
Expand description

Sum T nonce shares (via Lagrange-weighted addition) to get the full nonce. In threshold signing, the full nonce k = sum of Lagrange-weighted nonce shares.

This is a simple sum — Lagrange weighting is applied at the signature level, not the nonce level, in most threshold ECDSA protocols.