File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 9
9
package bn256
10
10
11
11
import (
12
- bn256cf "github.com/ethereum/go-ethereum/crypto/bn256/cloudflare "
12
+ gnark "github.com/ethereum/go-ethereum/crypto/bn256/gnark "
13
13
)
14
14
15
15
// G1 is an abstract cyclic group. The zero value is suitable for use as the
16
16
// output of an operation, but cannot be used as an input.
17
- type G1 = bn256cf .G1
17
+ type G1 = gnark .G1
18
18
19
19
// G2 is an abstract cyclic group. The zero value is suitable for use as the
20
20
// output of an operation, but cannot be used as an input.
21
- type G2 = bn256cf .G2
21
+ type G2 = gnark .G2
22
22
23
23
// PairingCheck calculates the Optimal Ate pairing for a set of points.
24
24
func PairingCheck (a []* G1 , b []* G2 ) bool {
25
- return bn256cf .PairingCheck (a , b )
25
+ return gnark .PairingCheck (a , b )
26
26
}
You can’t perform that action at this time.
0 commit comments