mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-13 21:28:36 +00:00
The comment formula showed (i+3) but the code multiplies by 9 (Lsh 3 + add = 8+1). This was a error when porting from upstream golang.org/x/crypto/bn256 where ξ=i+3. Go-ethereum changed the constant to ξ=i+9 but forgot to update the inner formula. |
||
|---|---|---|
| .. | ||
| 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 | ||