ethereum / py_ecc

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

Fix the x1 point check #121

Closed hwwhww closed 3 years ago

hwwhww commented 3 years ago

What was wrong?

A patch for #117 x1 size check was missing.

Credit to @asanso for finding and reporting it! 🙏

How was it fixed?

Add if x1 >= q check and test case.

Cute Animal Picture

🦑