bls12_381 0.2.0
This commit is contained in:
parent
bdb42bcbc8
commit
5f99c52143
|
@ -24,7 +24,7 @@ byteorder = "1"
|
||||||
subtle = "2.2.1"
|
subtle = "2.2.1"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
bls12_381 = { version = "0.1", path = "../bls12_381" }
|
bls12_381 = { version = "0.2", path = "../bls12_381" }
|
||||||
hex-literal = "0.2"
|
hex-literal = "0.2"
|
||||||
rand = "0.7"
|
rand = "0.7"
|
||||||
rand_xorshift = "0.2"
|
rand_xorshift = "0.2"
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
[package]
|
[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"
|
description = "Implementation of the BLS12-381 pairing-friendly elliptic curve construction"
|
||||||
documentation = "https://docs.rs/bls12_381/"
|
documentation = "https://docs.rs/bls12_381/"
|
||||||
homepage = "https://github.com/zkcrypto/bls12_381"
|
homepage = "https://github.com/zkcrypto/bls12_381"
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
name = "bls12_381"
|
name = "bls12_381"
|
||||||
repository = "https://github.com/zkcrypto/bls12_381"
|
repository = "https://github.com/zkcrypto/bls12_381"
|
||||||
version = "0.1.1"
|
version = "0.2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
|
|
|
@ -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
|
# 0.1.1
|
||||||
|
|
||||||
Added `clear_cofactor` methods to `G1Projective` and `G2Projective`. If the crate feature `endo`
|
Added `clear_cofactor` methods to `G1Projective` and `G2Projective`. If the crate feature `endo`
|
||||||
|
|
|
@ -15,7 +15,7 @@ edition = "2018"
|
||||||
|
|
||||||
[dependencies.bls12_381]
|
[dependencies.bls12_381]
|
||||||
path = "../bls12_381"
|
path = "../bls12_381"
|
||||||
version = "0.1"
|
version = "0.2"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[dependencies.byteorder]
|
[dependencies.byteorder]
|
||||||
|
|
|
@ -13,7 +13,7 @@ edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bech32 = "0.7"
|
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"] }
|
bs58 = { version = "0.3", features = ["check"] }
|
||||||
ff = { version = "0.7", path = "../ff" }
|
ff = { version = "0.7", path = "../ff" }
|
||||||
group = { version = "0.7", path = "../group" }
|
group = { version = "0.7", path = "../group" }
|
||||||
|
|
|
@ -18,7 +18,7 @@ all-features = true
|
||||||
aes = "0.5"
|
aes = "0.5"
|
||||||
blake2b_simd = "0.5"
|
blake2b_simd = "0.5"
|
||||||
blake2s_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"
|
byteorder = "1"
|
||||||
crypto_api_chachapoly = "0.4"
|
crypto_api_chachapoly = "0.4"
|
||||||
equihash = { version = "0.1", path = "../components/equihash" }
|
equihash = { version = "0.1", path = "../components/equihash" }
|
||||||
|
|
|
@ -17,7 +17,7 @@ all-features = true
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bellman = { version = "0.6", path = "../bellman", default-features = false, features = ["groth16"] }
|
bellman = { version = "0.6", path = "../bellman", default-features = false, features = ["groth16"] }
|
||||||
blake2b_simd = "0.5"
|
blake2b_simd = "0.5"
|
||||||
bls12_381 = { version = "0.1", path = "../bls12_381" }
|
bls12_381 = { version = "0.2", path = "../bls12_381" }
|
||||||
byteorder = "1"
|
byteorder = "1"
|
||||||
directories = { version = "3", optional = true }
|
directories = { version = "3", optional = true }
|
||||||
ff = { version = "0.7", path = "../ff" }
|
ff = { version = "0.7", path = "../ff" }
|
||||||
|
|
Loading…
Reference in New Issue