zkcrypto / bls12_381

Implementation of the BLS12-381 pairing-friendly elliptic curve group
Other
291 stars 175 forks source link

Interest in faster implementation of scalar multiplication in G1/G2 #66

Open dfaranha opened 3 years ago

dfaranha commented 3 years ago

Hi,

I have a bunch of optimizations for faster G1/G2 scalar multiplications sitting in a fork at https://github.com/dfaranha/bls12_381

These provide a 2x speedup and include:

Some technical details can be found at https://skillsmatter.com/skillscasts/17052-experimenting-with-faster-elliptic-curves-in-rust

I would like to know if there is interest in merging, so it makes sense to put time on preparing a proper pull request.

Thank you for your attention!

str4d commented 3 years ago

I'm definitely interested!

randombit commented 2 years ago

@dfaranha Any update on this? We're using this crate for BLS signatures and having faster scalar mult would provide a very nice improvement.

dfaranha commented 2 years ago

Sorry for the wait, my teaching-heavy semester started in early August and I suddenly had to prioritize other stuff.

I prepared a pull request with the supposedly simpler G1 parts here: https://github.com/zkcrypto/bls12_381/pull/79