diff options
| author | J08nY | 2022-12-07 15:14:57 +0100 |
|---|---|---|
| committer | J08nY | 2022-12-07 15:14:57 +0100 |
| commit | cd41e851723dfebd76a978717c0d89569c495971 (patch) | |
| tree | df3daf0513570dad34a9a3b27d6c495f72822d89 | |
| parent | 1bef185f9781bcbdde03969961b6f0dde175a9cd (diff) | |
| download | std-curves-cd41e851723dfebd76a978717c0d89569c495971.tar.gz std-curves-cd41e851723dfebd76a978717c0d89569c495971.tar.zst std-curves-cd41e851723dfebd76a978717c0d89569c495971.zip | |
Add BLS12-377.
Fix #18.
| -rw-r--r-- | bls/curves.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/bls/curves.json b/bls/curves.json index 8f4e959..f264bcc 100644 --- a/bls/curves.json +++ b/bls/curves.json @@ -3,6 +3,35 @@ "desc": "BLS curves. A family of pairing friendly curves, with embedding degree = 12 or 24.", "curves": [ { + "name": "BLS12-377", + "category": "bls", + "desc": "Curve from Zexe paper: https://eprint.iacr.org/2018/962, params taken from: https://eips.ethereum.org/EIPS/eip-2539 where they are explicitly listed.", + "field": { + "type": "Prime", + "p": "0x01ae3a4617c510eac63b05c06ca1493b1a22d9f300f5138f1ef3622fba094800170b5d44300000008508c00000000001", + "bits": 377 + }, + "form": "Weierstrass", + "params": { + "a": { + "raw": "0x00" + }, + "b": { + "raw": "0x01" + } + }, + "generator": { + "x": { + "raw": "0x008848defe740a67c8fc6225bf87ff5485951e2caa9d41bb188282c8bd37cb5cd5481512ffcd394eeab9b16eb21be9ef" + }, + "y": { + "raw": "0x01914a69c5102eff1f674f5d30afeec4bd7fb348ca3e52d96d182ad44fb82305c2fe3d3634a9591afd82de55559c8ea6" + } + }, + "order": "0x12ab655e9a2ca55660b44d1e5c37b00159aa76fed00000010a11800000000001", + "cofactor": "0x170b5d44300000000000000000000000" + }, + { "name": "BLS12-381", "category": "bls", "desc": "Curve from https://electriccoin.co/blog/new-snark-curve/. As used in ZCash.", |
