Update bls12381_fuzz.go

This commit is contained in:
Christina 2025-01-27 16:29:39 +02:00 committed by GitHub
parent ad47eed83a
commit ce5388a15c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -346,7 +346,7 @@ func multiExpG1Gnark(gs []gnark.G1Affine, scalars []fr.Element) gnark.G1Affine {
return res
}
// multiExpG1Gnark is a naive implementation of G1 multi-exponentiation
// multiExpG2Gnark is a naive implementation of G2 multi-exponentiation
func multiExpG2Gnark(gs []gnark.G2Affine, scalars []fr.Element) gnark.G2Affine {
res := gnark.G2Affine{}
for i := 0; i < len(gs); i++ {