rozbb / ripp

Argument systems for inner pairing products

Home Page:https://eprint.iacr.org/2019/1177

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RIPP (Rust Inner Pairing Products)

RIPP is a Rust library for proofs about inner pairing products, and applications built atop these. These protocols and applications are described in our paper "Proofs for Inner Pairing Products and Applications"

The library currently contains an implementation of our proof system for verifiably outsourcing pairing products. In the future, we intend to implement the other protocols described in our paper, along with the polynomial commitment schemes and our protocol for aggregating Groth16 proofs based upon these protocols.

This library is released under the MIT License and the Apache v2 License (see License).

WARNING: This is an academic proof-of-concept prototype, and in particular has not received careful code review. This implementation is NOT ready for production use.

Build guide

The library compiles on the stable toolchain of the Rust compiler. To install the latest version of Rust, first install rustup by following the instructions here, or via your platform's package manager. Once rustup is installed, install the Rust toolchain by invoking:

rustup install stable

After that, use cargo, the standard Rust build tool, to build the library:

git clone https://github.com/scipr-lab/ripp.git
cd ripp
cargo build --release

This library comes with unit tests for each of the provided crates. Run the tests with:

cargo test

Lastly, the library comes with benchmarks.

cargo bench
cargo run --release --example groth16_aggregation
cargo run --release --example scaling-ipp

License

RIPP is licensed under either of the following licenses, at your discretion.

Unless you explicitly state otherwise, any contribution submitted for inclusion in RIPP by you shall be dual licensed as above (as defined in the Apache v2 License), without any additional terms or conditions.

Reference paper

Proofs for Inner Pairing Products and Applications
Benedikt Bünz, Mary Maller, Pratyush Mishra, Noah Vesely
IACR ePrint Report 2019/1177

About

Argument systems for inner pairing products

https://eprint.iacr.org/2019/1177

License:Apache License 2.0


Languages

Language:Rust 97.2%Language:Gnuplot 2.8%