aboutsummaryrefslogtreecommitdiffstats
path: root/swarm
diff options
context:
space:
mode:
authorMatthew Di Ferrante <mattdf@users.noreply.github.com>2017-12-01 20:03:39 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-12-01 20:03:39 +0800
commit80c6dfc19fdb714912349a18174c4ebf70c775e4 (patch)
tree1f3bb83cd985fc48363b6ec4665b23c242035d18 /swarm
parentd927c67f9d77d036e48b27e81056bbddcc5297c5 (diff)
downloadgo-tangerine-80c6dfc19fdb714912349a18174c4ebf70c775e4.tar
go-tangerine-80c6dfc19fdb714912349a18174c4ebf70c775e4.tar.gz
go-tangerine-80c6dfc19fdb714912349a18174c4ebf70c775e4.tar.bz2
go-tangerine-80c6dfc19fdb714912349a18174c4ebf70c775e4.tar.lz
go-tangerine-80c6dfc19fdb714912349a18174c4ebf70c775e4.tar.xz
go-tangerine-80c6dfc19fdb714912349a18174c4ebf70c775e4.tar.zst
go-tangerine-80c6dfc19fdb714912349a18174c4ebf70c775e4.zip
crypto/bn256: fix generator on G1 (#15591)
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.
Diffstat (limited to 'swarm')
0 files changed, 0 insertions, 0 deletions