Rust-language assets for Pirate Chain / Zcash (with modifications to support Qortal cross-chain trades)
Go to file
bmerge ef7ade8c2c Auto merge of #78 - ebfull:release-0.14, r=ebfull
Release of pairing 0.14.0.

This release makes some changes in response to an audit of this library, as well as some obversations about the API that I made. Some names were changed (`divn` -> `shr`, `muln` -> `shl`) and `add_nocarry`/`sub_noborrow` no longer return anything (as their names would suggest.) Some potentially misleading comments are fixed as well.

The release also applies `rustfmt` and new lints from `clippy` to the codebase, enforced by the CI on a more recent version of the Nightly compiler.

Thanks go to @jasondavies for his contributions to this release.
2018-03-05 03:31:26 +00:00
benches Simplify pairing_benches. 2017-09-28 11:31:46 -06:00
src Apply rustfmt to the codebase. 2018-02-21 11:08:58 -07:00
.gitignore Initial commit 2017-07-08 10:55:43 -06:00
Cargo.toml Release of pairing 0.14.0. 2018-03-04 20:01:23 -07: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 Release of pairing 0.14.0. 2018-03-04 20:01:23 -07: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.14"
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.