Skip to content

Commit

Permalink
Clarify comment during aggregation verification
Browse files Browse the repository at this point in the history
  • Loading branch information
cygnusv committed Jul 24, 2024
1 parent 6dc3355 commit 28fd1d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ferveo/src/pvss.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ pub fn do_verify_aggregation<E: Pairing>(
return Err(Error::InvalidTranscriptAggregate);
}

// Now, we verify that the aggregated PVSS transcript is a valid aggregation
// Now, we verify that the first element of the aggregated PVSS transcript
// (i.e. the final DKG public key) is actually the sum of the first element
// of all the transcripts
let mut y = E::G1::zero();
for pvss in vss.values() {
y += pvss.coeffs[0].into_group();
Expand Down

0 comments on commit 28fd1d6

Please sign in to comment.