kilic / bls12-381

High-speed BLS12-381 implementation in Go
Apache License 2.0
124 stars 47 forks source link

Feature Request: G1, G2, Pairing Operations available externally #4

Closed xcshuan closed 4 years ago

xcshuan commented 4 years ago

There are some scenarios that require the operations of Pairing, not just signature verification, but need to operate G1, G2, GT add, mul, pairing and other operations to design specific pairing-based cryptographic schemes.

herumi implements the pairing library with C++(mcl), and based on this, the bls library (bls) is implemented, so can this library be split into two libraries? A pairing library is used for actual calculations, and the bls library wraps the pairing library to implement the signature scheme.