You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File kyber/pairing/bn256/point.go /, lines 224-225
A simple quid-pro-quo, but we should have mercy on the people trying to follow the algorithms: // hashes a byte slice into two points on a curve represented by big.Int // ideally we want to do this using gfP, but gfP doesn't have a ModSqrt function func hashToPoint(m []byte) (*big.Int, *big.Int) {...}
Should be: "hashes into a point represented by two big.Int's"
The text was updated successfully, but these errors were encountered:
kubasiemion
changed the title
Misleading comment on the "hashToPoint()" funstion
Misleading comment on the "hashToPoint()" function
Feb 22, 2021
File kyber/pairing/bn256/point.go /, lines 224-225
A simple quid-pro-quo, but we should have mercy on the people trying to follow the algorithms:
// hashes a byte slice into two points on a curve represented by big.Int
// ideally we want to do this using gfP, but gfP doesn't have a ModSqrt function
func hashToPoint(m []byte) (*big.Int, *big.Int) {...}
Should be: "hashes into a point represented by two big.Int's"
The text was updated successfully, but these errors were encountered: