go-ethereum/crypto/bn256/google
bigbear f7f57d29d4
crypto/bn256: fix comment in MulXi (#34659)
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.
2026-04-13 13:57:11 +02:00
..
bn256.go tests/fuzzers: added bn marshaling fuzzers (#32053) 2025-06-17 23:02:36 +02:00
bn256_test.go
constants.go crypto/bn256: refine comments according to #19577, #21595, and #21836 (#21847) 2020-11-17 09:51:36 +01:00
curve.go
example_test.go
gfp2.go crypto/bn256: fix comment in MulXi (#34659) 2026-04-13 13:57:11 +02:00
gfp6.go
gfp12.go crypto/bn256: fix MulScalar (#30974) 2025-01-02 14:04:06 +01:00
main_test.go
optate.go
twist.go crypto/bn256: add documentation on subgroup checks for G2 (#32066) 2025-06-20 13:18:20 +02:00