From 5a3098c887bb87c318a2a6d06ed325b7687eb0f2 Mon Sep 17 00:00:00 2001 From: lauener Date: Sat, 3 Aug 2024 06:29:40 +0200 Subject: [PATCH] Fix misleading comment --- pairing/bn256/point.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pairing/bn256/point.go b/pairing/bn256/point.go index 4f9172fe5..e78e5444b 100644 --- a/pairing/bn256/point.go +++ b/pairing/bn256/point.go @@ -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)