From 28fd1d6a1319e6b248f2760e38473f3341b63b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=BA=C3=B1ez?= Date: Wed, 24 Jul 2024 20:04:31 +0200 Subject: [PATCH] Clarify comment during aggregation verification --- ferveo/src/pvss.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ferveo/src/pvss.rs b/ferveo/src/pvss.rs index 5108f6b9..20e3b52a 100644 --- a/ferveo/src/pvss.rs +++ b/ferveo/src/pvss.rs @@ -267,7 +267,9 @@ pub fn do_verify_aggregation( 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();