Skip to content

simplespy/bls12

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Packages

No packages published

Languages

  • Go 48.2%
  • C 48.2%
  • Python 3.0%
  • Other 0.6%