scipr-lab / libff

C++ library for Finite Fields and Elliptic Curves
Other
149 stars 82 forks source link

Optimize cofactors clearing for BLS12-381 #91

Open AntoineRondelet opened 3 years ago

AntoineRondelet commented 3 years ago

Let's implement Scott's trick for efficient cofactor clearing in G1 (see Section 5 https://eprint.iacr.org/2019/403.pdf) along with Budroni and Pintore's method for cofactor mult in G2.