go-ethereum/crypto/bn256/cloudflare
Antonio Sanso f26b5653e8
crypto/bn256: add documentation on subgroup checks for G2 (#32066)
This PR improves the IsOnCurve methods for BN254 G2 points by:

* Clarifying its behavior the docstring, making it explicit that it
verifies both the point being on the curve and in the correct subgroup.

* Adding an in-line comment explaining the subgroup membership check
(c.Mul(Order)).

 * Minor wording adjustments for readability and consistency.
2025-06-20 13:18:20 +02:00
..
bn256.go
bn256_test.go
constants.go
curve.go
example_test.go
gfp.go
gfp2.go
gfp6.go
gfp12.go crypto/bn256: fix MulScalar (#30974) 2025-01-02 14:04:06 +01:00
gfp_amd64.s
gfp_arm64.s
gfp_decl.go
gfp_generic.go
gfp_test.go
lattice.go
lattice_test.go
LICENSE
main_test.go
mul_amd64.h
mul_arm64.h crypto/bn256/cloudflare: pull in upstream fix for R27 and R29 usage (#32057) 2025-06-18 14:17:30 +02:00
mul_bmi2_amd64.h
optate.go
twist.go crypto/bn256: add documentation on subgroup checks for G2 (#32066) 2025-06-20 13:18:20 +02:00