bls12_381 0.2.0

This commit is contained in:
Jack Grigg 2020-08-22 11:46:27 +01:00
parent bdb42bcbc8
commit 5f99c52143
7 changed files with 42 additions and 7 deletions

View File

@ -24,7 +24,7 @@ byteorder = "1"
subtle = "2.2.1"
[dev-dependencies]
bls12_381 = { version = "0.1", path = "../bls12_381" }
bls12_381 = { version = "0.2", path = "../bls12_381" }
hex-literal = "0.2"
rand = "0.7"
rand_xorshift = "0.2"

View File

@ -1,12 +1,15 @@
[package]
authors = ["Sean Bowe <ewillbefull@gmail.com>"]
authors = [
"Sean Bowe <ewillbefull@gmail.com>",
"Jack Grigg <thestr4d@gmail.com>",
]
description = "Implementation of the BLS12-381 pairing-friendly elliptic curve construction"
documentation = "https://docs.rs/bls12_381/"
homepage = "https://github.com/zkcrypto/bls12_381"
license = "MIT/Apache-2.0"
name = "bls12_381"
repository = "https://github.com/zkcrypto/bls12_381"
version = "0.1.1"
version = "0.2.0"
edition = "2018"
[package.metadata.docs.rs]

View File

@ -1,3 +1,35 @@
# 0.2.0
This release adds implementations of the `ff`, `group`, and `pairing` traits (with the
latter two being gated by the `groups` and `pairings` feature flags respectively).
Additional trait implementations (for standard traits) have been added where the `ff`,
`group`, and `pairing` trait bounds require them.
## Added
* `bls12_381::Bls12`, a `pairing::Engine` for BLS12-381 pairing operations. It implements
the following traits:
* `pairing::{Engine, MultiMillerLoop}`
* New trait implementations for `bls12_381::G1Projective`:
* `group::{Curve, Group, GroupEncoding, WnafGroup}`
* `group::prime::{PrimeCurve, PrimeGroup}`
* New trait implementations for `bls12_381::G1Affine`:
* `group::{GroupEncoding, UncompressedEncoding}`
* `group::prime::PrimeCurveAffine`
* `pairing::PairingCurveAffine`
* New trait implementations for `bls12_381::G2Projective`:
* `group::{Curve, Group, GroupEncoding, WnafGroup}`
* `group::prime::{PrimeCurve, PrimeGroup}`
* New trait implementations for `bls12_381::G2Affine`:
* `group::{GroupEncoding, UncompressedEncoding}`
* `group::prime::PrimeCurveAffine`
* `pairing::PairingCurveAffine`
* New trait implementations for `bls12_381::Gt`:
* `group::Group`
* New trait implementations for `bls12_381::MillerLoopResult`:
* `pairing::MillerLoopResult`
* New trait implementations for `bls12_381::Scalar`:
* `ff::{Field, PrimeField}`
# 0.1.1
Added `clear_cofactor` methods to `G1Projective` and `G2Projective`. If the crate feature `endo`

View File

@ -15,7 +15,7 @@ edition = "2018"
[dependencies.bls12_381]
path = "../bls12_381"
version = "0.1"
version = "0.2"
default-features = false
[dependencies.byteorder]

View File

@ -13,7 +13,7 @@ edition = "2018"
[dependencies]
bech32 = "0.7"
bls12_381 = { version = "0.1", path = "../bls12_381" }
bls12_381 = { version = "0.2", path = "../bls12_381" }
bs58 = { version = "0.3", features = ["check"] }
ff = { version = "0.7", path = "../ff" }
group = { version = "0.7", path = "../group" }

View File

@ -18,7 +18,7 @@ all-features = true
aes = "0.5"
blake2b_simd = "0.5"
blake2s_simd = "0.5"
bls12_381 = { version = "0.1", path = "../bls12_381" }
bls12_381 = { version = "0.2", path = "../bls12_381" }
byteorder = "1"
crypto_api_chachapoly = "0.4"
equihash = { version = "0.1", path = "../components/equihash" }

View File

@ -17,7 +17,7 @@ all-features = true
[dependencies]
bellman = { version = "0.6", path = "../bellman", default-features = false, features = ["groth16"] }
blake2b_simd = "0.5"
bls12_381 = { version = "0.1", path = "../bls12_381" }
bls12_381 = { version = "0.2", path = "../bls12_381" }
byteorder = "1"
directories = { version = "3", optional = true }
ff = { version = "0.7", path = "../ff" }