ethereum / py_ecc

Python implementation of ECC pairing and bn_128 and bls12_381 curve operations
MIT License
183 stars 82 forks source link

Extract `subgroup_check` from `signature_to_G2` #116

Closed hwwhww closed 3 years ago

hwwhww commented 3 years ago

What was wrong?

signature_to_G2 should be only for deserialization and decompression.

How was it fixed?

Extract subgroup_check(signature_point) from signature_to_G2.

Cute Animal Picture

🦐

hwwhww commented 3 years ago

I just summoned CI to run. 🧙 Merging now!