bsc/crypto
Matthew Di Ferrante 80c6dfc19f 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.
2017-12-01 13:03:39 +01:00
..
bn256 crypto/bn256: fix generator on G1 (#15591) 2017-12-01 13:03:39 +01:00
ecies crypto: fix megacheck warnings (#14917) 2017-08-08 13:58:22 +03:00
randentropy crypto: Remove dead code 2016-02-21 22:46:31 +00:00
secp256k1 all: unify big.Int zero checks, use common/math in more places (#3716) 2017-02-28 15:09:11 +01:00
sha3 crypto: fix megacheck warnings (#14917) 2017-08-08 13:58:22 +03:00
crypto_test.go accounts/keystore, crypto: don't enforce key checks on existing keyfiles 2017-06-01 11:11:06 +03:00
crypto.go accounts/keystore, crypto: don't enforce key checks on existing keyfiles 2017-06-01 11:11:06 +03:00
signature_cgo.go all: update license information 2017-04-14 10:29:00 +02:00
signature_nocgo.go all: update license information 2017-04-14 10:29:00 +02:00
signature_test.go all: update license information 2017-04-14 10:29:00 +02:00