a portable and fast pairing-based cryptography library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
MITSUNARI Shigeo 987ecf1e73 pairing TBD 9 years ago
include/mcl pairing TBD 9 years ago
java duplicate lib 9 years ago
sample rename Gmp to gmp 9 years ago
src fix fpDbl_mod_NIST_P521 9 years ago
test add Fp::divBy2 9 years ago
COPYRIGHT from mie 10 years ago
Makefile start to impl naive optimal ate 9 years ago
common.mk add DEBUG option 9 years ago
common.props move mcl.lib from bin to lib 9 years ago
debug.props from mie 10 years ago
mcl.sln add fp_tower_test proj 9 years ago
readme.md update document 9 years ago
release.props from mie 10 years ago

readme.md

mcl

A class library of finite field and elliptic curve.

Abstract

This is a library to make a protocol for elliptic curve cryptography.

Installation Requirements

Create a working directory (e.g., work) and clone the following repositories.

mkdir work
cd work
git clone git://github.com/herumi/xbyak.git
git clone git://github.com/herumi/cybozulib.git
git clone git://github.com/herumi/cybozulib_ext.git
  • Cybozulib_ext is a prerequisite for running OpenSSL and GMP on VC (Visual C++).
  • Xbyak is a prerequisite for optimizing the operations in the finite field on Intel CPUs.
  • OpenSSL and libgmp-dev are available via apt-get (or other similar commands) if using Linux.

Build and test

To make lib/libmcl.a and test, run

make test

To make sample programs, run

make sample

License

modified new BSD License http://opensource.org/licenses/BSD-3-Clause

The original source of the followings are git://github.com/aistcrypt/Lifted-ElGamal.git . These files are licensed by BSD-3-Clause and are used for only tests.

include/mcl/elgamal.hpp
include/mcl/window_method.hpp
test/elgamal_test.cpp
test/window_method_test.cpp
sample/vote.cpp

Author

MITSUNARI Shigeo(herumi@nifty.com)