Skip to content

Commit

Permalink
Fix misleading comment
Browse files Browse the repository at this point in the history
  • Loading branch information
K1li4nL committed Aug 3, 2024
1 parent 1a8e4d5 commit aae91ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pairing/bn256/point.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func (p *pointG1) Hash(m []byte) kyber.Point {
return p
}

// hashes a byte slice into two points on a curve represented by big.Int
// hashes a byte slice into a curve point represented by two big.Int's
// ideally we want to do this using gfP, but gfP doesn't have a ModSqrt function
func hashToPoint(m []byte) (*big.Int, *big.Int) {
h := sha256.Sum256(m)
Expand Down

0 comments on commit aae91ff

Please sign in to comment.