Skip to content

Commit

Permalink
Merge pull request #359 from SherLzp/develop
Browse files Browse the repository at this point in the history
Export BW6-761 E3/E6
  • Loading branch information
yelhousni committed Mar 20, 2023
2 parents 5185eb8 + 9171106 commit 74285bd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ecc/bw6-761/bw6-761.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
package bw6761

import (
"github.com/consensys/gnark-crypto/ecc/bw6-761/internal/fptower"
"math/big"

"github.com/consensys/gnark-crypto/ecc"
Expand Down Expand Up @@ -78,6 +79,12 @@ var glvBasis ecc.Lattice
// seed x₀ of the curve
var xGen big.Int

// 𝔽p3
type E3 = fptower.E3

// 𝔽p6
type E6 = fptower.E6

func init() {
aCurveCoeff.SetUint64(0)
bCurveCoeff.SetOne().Neg(&bCurveCoeff)
Expand Down

0 comments on commit 74285bd

Please sign in to comment.