Skip to content

a portable and fast pairing-based cryptography library

License

Notifications You must be signed in to change notification settings

FujitsuResearch/bls-katzwang

 
 

Repository files navigation

A New Pairing-based Two-round Tightly-secure Multi-signature scheme with Key Aggregation

What's that?

  • This is a repository for the implementation of the new multi-signature.

Requirements

  • $ sudo apt install libgmp-dev
  • $ sudo apt install cmake
  • $ sudo apt install clang

Setup mcl (for WSL on Windows)

$ git clone https://github.com/FujitsuResearch/bls-katzwang
$ cd bls-katzwang
$ make -j4 CXX=clang++
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_CXX_COMPILER=clang++
$ make
$ cd ../bin
$ cmake .. -DBUILD_TESTING=ON
$ make -j4

Run bls_katzwang_sig

(After any modification in bls_katzwang_sig.cpp)

$ g++ -c sample/SHA256.cpp -o lib/libsha256.s -I./include
$ make bin/bls_katzwang_sig.exe
$ ./bls/bls_katzwang_sig.exe
Type your message.
aaa
Type the number of signers.
10
KeyGen Time: 2 [ms]
Round1 Time (generate seed): 0 [ms]
Round2 Time (compute h): 0 [ms]
Compute Sigma Time (compute h): 0 [ms]
Individual Verification Time: 6 [ms]
Signature Aggregation Time: 0 [ms]
Key Check (PoPs) Time: 11 [ms]
Key Aggregation Time: 0 [ms]
Verification Time: 0 [ms]
verification result :Success

Reference

License

  • For sample/bls_katzwang_sig.cpp: BSD 3-Clause Clear

About

a portable and fast pairing-based cryptography library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • LLVM 48.8%
  • C++ 37.9%
  • Assembly 7.4%
  • C# 1.2%
  • Python 1.1%
  • Java 1.0%
  • Other 2.6%