crypto: fix docstring names (#28923)

This commit is contained in:
Daniel Liu 2024-11-29 16:08:32 +08:00
parent cae53aa7fd
commit fabfcc7f6c

View file

@ -166,7 +166,7 @@ type G2 struct {
p *twistPoint
}
// RandomG1 returns x and g₂ˣ where x is a random, non-zero number read from r.
// RandomG2 returns x and g₂ˣ where x is a random, non-zero number read from r.
func RandomG2(r io.Reader) (*big.Int, *G2, error) {
var k *big.Int
var err error