mirror of
https://github.com/arnaucube/gnark-plonky2-verifier.git
synced 2026-01-12 09:01:32 +01:00
reducing extension gate (#12)
This commit is contained in:
@@ -7,14 +7,14 @@ import (
|
||||
"github.com/consensys/gnark/std/math/emulated"
|
||||
)
|
||||
|
||||
const D = 2
|
||||
|
||||
type EmulatedField = emulated.Goldilocks
|
||||
type F = emulated.Element[EmulatedField]
|
||||
type QuadraticExtension = [2]F
|
||||
type QEAlgebra = [2]QuadraticExtension
|
||||
type QEAlgebra = [D]QuadraticExtension
|
||||
type Hash = [4]F
|
||||
|
||||
const D = 2
|
||||
|
||||
var TEST_CURVE = ecc.BN254
|
||||
|
||||
func NewFieldElement(x uint64) F {
|
||||
|
||||
Reference in New Issue
Block a user