Skip to content

Commit

Permalink
Fixing comment on PubPoly Equalt constant time
Browse files Browse the repository at this point in the history
  • Loading branch information
AnomalRoil committed Feb 21, 2024
1 parent fedb7bc commit b631ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/poly.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b631ca2

Please sign in to comment.