Merge pull request #16 from iden3/feature/pk-bin

Add ProvingKey binary parser
This commit is contained in:
Eduard S
2020-05-20 12:31:36 +02:00
committed by GitHub
4 changed files with 449 additions and 7 deletions

View File

@@ -8,6 +8,8 @@ import (
bn256 "github.com/ethereum/go-ethereum/crypto/bn256/cloudflare"
)
var Q, _ = new(big.Int).SetString("21888242871839275222246405745257275088696311157297823662689037894645226208583", 10)
// R is the mod of the finite field
var R, _ = new(big.Int).SetString("21888242871839275222246405745257275088548364400416034343698204186575808495617", 10)