mirror of https://github.com/poanetwork/quorum.git
Generator in the current lib uses -2 as the y point when doing ScalarBaseMult, this makes it so that points/signatures generated from libs like py_ecc don't match/validate as pretty much all other libs (including libsnark) have (1, 2) as the standard generator. This does not affect consensus as the generator is never used in the VM, points are always explicitly defined and there is not ScalarBaseMult op - it only makes it so that doing "import github.com/ethereum/go-ethereum/crypto/bn256" doesn't generate bad points in userland tools. |
||
---|---|---|
.. | ||
bn256.go | ||
bn256_test.go | ||
constants.go | ||
curve.go | ||
example_test.go | ||
gfp2.go | ||
gfp6.go | ||
gfp12.go | ||
main_test.go | ||
optate.go | ||
twist.go |