apache / incubator-milagro-crypto-rust

Apache Milagro Crypto Library - Rust Version
https://milagro.apache.org/
Apache License 2.0
31 stars 19 forks source link

BLS12-381 Optimise co-factor clearing for G1 #34

Open kirk-baird opened 4 years ago

kirk-baird commented 4 years ago

What is the issue

hash_to_curve() uses an inefficient cofactor clearing method on G1.

ToDo

Consider using pair::g1mul() for this.