/bls12

DEPRECATED

Primary LanguageC

DEPRECATED

More useful implementations exist:

Bilinear pairing BLS12-381.

RTFM

Performance

(2.6ghz Haswell)

BenchmarkBaseMultG1              10000            204899 ns/op
BenchmarkMultG1                   3000            543081 ns/op
BenchmarkMultG2                   3000            593233 ns/op
BenchmarkPair                     1000           1930860 ns/op

Ie about ~500 pairings/s. This is not far off from BN256.

Building gotchas

This is wrapper for RELIC. It is self-contained in that it links to amalgam of c files from git submodule of relic, no libraries involved. Meaning import should just straight work.