go-ethereum/crypto
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
..
blake2b all: fix some typos in comments and names (#31023) 2025-01-14 14:16:15 +01:00
bn256 crypto/bn256: add documentation on subgroup checks for G2 (#32066) 2025-06-20 13:18:20 +02:00
ecies all: fix some typos in comments and names (#31023) 2025-01-14 14:16:15 +01:00
kzg4844 crypto/kzg4844: remove kzg initialization (#32017) 2025-06-12 17:53:16 +08:00
secp256k1 crypto/secp256k1: update libsecp256k1 (#31242) 2025-03-12 12:21:50 +01:00
signify build: replace tenv linter with usetesting (#31172) 2025-02-21 13:36:18 +01:00
crypto.go all: create global hasher pool (#31769) 2025-05-09 13:52:40 +08:00
crypto_test.go all: reuse the global hash buffer (#31839) 2025-06-18 15:29:14 +08:00
signature_cgo.go crypto: use pure Go signature implementation in tinygo (#31878) 2025-05-23 11:14:40 +02:00
signature_nocgo.go crypto: use pure Go signature implementation in tinygo (#31878) 2025-05-23 11:14:40 +02:00
signature_test.go all: remove duplicate word in comments (#29531) 2024-04-15 08:34:31 +02:00