From b631ca2b4bf8d8fb0f212b6ac7e9f9c0bc1b7391 Mon Sep 17 00:00:00 2001 From: Yolan Romailler Date: Wed, 21 Feb 2024 12:40:30 +0100 Subject: [PATCH] Fixing comment on PubPoly Equalt constant time --- share/poly.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/poly.go b/share/poly.go index e96631738..43381a9c1 100644 --- a/share/poly.go +++ b/share/poly.go @@ -379,7 +379,7 @@ func (p *PubPoly) Add(q *PubPoly) (*PubPoly, error) { } // Equal checks equality of two public commitment polynomials p and q. If p and -// q are trivially unequal (e.g., due to mismatching cryptographic groups), +// q are trivially unequal (e.g., due to mismatching cryptographic groups, or threshold issues), // this routine returns in variable time. Otherwise it runs in constant time // regardless of whether it eventually returns true or false. func (p *PubPoly) Equal(q *PubPoly) bool {