github.com/consensys/gnark-crypto@v0.14.0/internal/generator/config/stark-curve.go (about)

     1  package config
     2  
     3  var STARK_CURVE = Curve{
     4  	Name:         "stark-curve",
     5  	CurvePackage: "starkcurve",
     6  	EnumID:       "STARK_CURVE",
     7  	FrModulus:    "3618502788666131213697322783095070105526743751716087489154079457884512865583",
     8  	FpModulus:    "3618502788666131213697322783095070105623107215331596699973092056135872020481",
     9  	G1: Point{
    10  		CoordType:        "fp.Element",
    11  		CoordExtDegree:   1,
    12  		PointName:        "g1",
    13  		GLV:              false,
    14  		CofactorCleaning: false,
    15  		CRange:           defaultCRange(),
    16  	},
    17  	HashE1: &HashSuiteSvdw{
    18  		z:  []string{"1"},
    19  		c1: []string{"3141592653589793238462643383279502884197169399375105820974944592307816406667"},
    20  		c2: []string{"1809251394333065606848661391547535052811553607665798349986546028067936010240"},
    21  		c3: []string{"747120397548504753672821049844706693752799645928246271384591722031176001048"},
    22  		c4: []string{"272520077186478842991245371323181269386250180546566216570369979330317493608"},
    23  	},
    24  }
    25  
    26  func init() {
    27  	addCurve(&STARK_CURVE)
    28  }