mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
Update bls12381_fuzz.go
This commit is contained in:
parent
ad47eed83a
commit
ce5388a15c
1 changed files with 1 additions and 1 deletions
|
|
@ -346,7 +346,7 @@ func multiExpG1Gnark(gs []gnark.G1Affine, scalars []fr.Element) gnark.G1Affine {
|
||||||
return res
|
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 {
|
func multiExpG2Gnark(gs []gnark.G2Affine, scalars []fr.Element) gnark.G2Affine {
|
||||||
res := gnark.G2Affine{}
|
res := gnark.G2Affine{}
|
||||||
for i := 0; i < len(gs); i++ {
|
for i := 0; i < len(gs); i++ {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue