mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
formatting
This commit is contained in:
parent
dbf770342a
commit
9eb68f23eb
2 changed files with 0 additions and 2 deletions
|
|
@ -22,7 +22,6 @@ type GT struct {
|
|||
// It is needed for fuzzing. It should also be noted,
|
||||
// that the output of this function may not match other
|
||||
func Pair(a_ *G1, b_ *G2) *GT {
|
||||
|
||||
a := a_.inner
|
||||
b := b_.inner
|
||||
|
||||
|
|
|
|||
|
|
@ -166,7 +166,6 @@ func fuzzPair(data []byte) int {
|
|||
//
|
||||
// For the definition of `s` see 3.5 in https://eprint.iacr.org/2015/192.pdf
|
||||
func normalizeGTToGnark(cloudflareOrGoogleGT []byte) *gnark.GT {
|
||||
|
||||
// Compute s = 2*u(6*u^2 + 3*u + 1)
|
||||
u, _ := new(big.Int).SetString("0x44e992b44a6909f1", 0)
|
||||
u_exp2 := new(big.Int).Exp(u, big.NewInt(2), nil) // u^2
|
||||
|
|
|
|||
Loading…
Reference in a new issue