github.com/consensys/gnark-crypto@v0.14.0/internal/generator/config/secp256k1.go (about) 1 package config 2 3 var SECP256K1 = Curve{ 4 Name: "secp256k1", 5 CurvePackage: "secp256k1", 6 EnumID: "SECP256k1", 7 FrModulus: "115792089237316195423570985008687907852837564279074904382605163141518161494337", 8 FpModulus: "115792089237316195423570985008687907853269984665640564039457584007908834671663", 9 G1: Point{ 10 CoordType: "fp.Element", 11 CoordExtDegree: 1, 12 PointName: "g1", 13 GLV: true, 14 CofactorCleaning: false, 15 CRange: []int{4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}, 16 }, 17 HashE1: &HashSuiteSvdw{ 18 z: []string{"1"}, 19 c1: []string{"8"}, 20 c2: []string{"57896044618658097711785492504343953926634992332820282019728792003954417335831"}, 21 c3: []string{"10388779673325959979325452626823788324994718367665745800388075445979975427086"}, 22 c4: []string{"77194726158210796949047323339125271902179989777093709359638389338605889781098"}, 23 }, 24 } 25 26 func init() { 27 addCurve(&SECP256K1) 28 }