cryptimeleon / mclwrap

A wrapper to bring the mcl pairing library into cryptimeleon
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Support for BLS12-381 #38

Closed JanBobolz closed 2 years ago

JanBobolz commented 2 years ago

One can now instantiate MclBilinearGroup optionally with the "BLS12-381" constructor argument.

This change is backwards compatible (hence the package name is somewhat awkward now) and BN254 is still the default.

If you try to run both groups (BN+BLS) within the same JVM, you'll get an error because we can only initialize either BN or BLS in mcl.