Weierstrass BN254 zero-knowledge trusted setup ceremony.
Go to file
bmerge f9d4c8b6aa Auto merge of #57 - ebfull:relic-interop, r=ebfull
RELIC interop

Closes #2

RELIC has changed the G2 generator to match ours: 25aafecbec

RELIC will not have the same serialization as us.

One last difference is that RELIC conjugates the pairing result to account for the negative curve parameter. It doesn't matter for BLS curves but it's strictly more correct.
2017-10-04 15:51:28 +00:00
benches Simplify pairing_benches. 2017-09-28 11:31:46 -06:00
src Account for negative curve parameter to be compatible with RELIC. 2017-10-03 14:27:01 -06:00
.gitignore Initial commit 2017-07-08 10:55:43 -06:00
Cargo.toml Update clippy and compensate for new lints. 2017-09-28 17:10:06 -06:00
COPYRIGHT Add COPYRIGHT file to inform of conditions for contributing and license information. 2017-09-28 15:39:29 -06:00
LICENSE-APACHE Modify the LICENSE-APACHE and LICENSE-MIT files. 2017-09-28 15:29:58 -06:00
LICENSE-MIT Modify the LICENSE-APACHE and LICENSE-MIT files. 2017-09-28 15:29:58 -06:00
README.md Bump version to 0.12.0. 2017-09-28 16:52:12 -06:00

pairing Crates.io

This is a Rust crate for using pairing-friendly elliptic curves. Currently, only the BLS12-381 construction is implemented.

Documentation

Bring the pairing crate into your project just as you normally would.

If you're using a supported platform and the nightly Rust compiler, you can enable the u128-support feature for faster arithmetic.

[dependencies.pairing]
version = "0.12"
features = ["u128-support"]

Security Warnings

This library does not make any guarantees about constant-time operations, memory access patterns, or resistance to side-channel attacks.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.