Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Release v0.3.0 #62

Merged
merged 2 commits into from
Jun 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
## Pending
# CHANGELOG

## Pending

### Breaking changes

### Features

### Improvements

### Bug fixes

## v0.3.0

### Breaking changes

- [\#60](https://github.com/arkworks-rs/curves/pull/60) Change the scalar group generator of `Fr` of `bls12_377` Fr from `11` to `22`.
- [\#61](https://github.com/arkworks-rs/curves/pull/61) Remove `ATE_LOOP_COUNT_IS_NEGATIVE` from BN254 curve parameter.

### Features

Expand All @@ -12,9 +26,11 @@
## v0.2.0

### Breaking changes

- Requires all crates from `arkworks-rs/algebra` to have version `v0.2.0` or greater.

### Features

- [\#3](https://github.com/arkworks-rs/curves/pull/3) Add constraints for
`ark-bls12-377`,
`ark-ed-on-bls12-377`,
Expand All @@ -33,9 +49,11 @@
- [\#53](https://github.com/arkworks-rs/curves/pull/53) Add benchmarks for Pallas and Vesta curves.

### Improvements

- [\#42](https://github.com/arkworks-rs/curves/pull/42) Remove the dependency of `rand_xorshift`.

### Bug fixes

- [\#28](https://github.com/arkworks-rs/curves/pull/28), [\#49](https://github.com/arkworks-rs/curves/pull/49) Fix broken documentation links.
- [\#38](https://github.com/arkworks-rs/curves/pull/38) Compile with `panic='abort'` in release mode, for safety of the library across FFI boundaries.
- [\#45](https://github.com/arkworks-rs/curves/pull/45) Fix `ark-ed-on-mnt4-753`.
Expand Down
18 changes: 9 additions & 9 deletions bls12_377/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-bls12-377"
version = "0.2.0"
version = "0.3.0"
authors = [ "arkworks contributors" ]
description = "The BLS12-377 pairing-friendly elliptic curve"
homepage = "https://arkworks.rs"
Expand All @@ -13,16 +13,16 @@ license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
ark-ff = { version="^0.2.0", default-features = false }
ark-ec = { version="^0.2.0", default-features = false }
ark-r1cs-std = { version="^0.2.0", default-features = false, optional = true }
ark-std = { version="^0.2.0", default-features = false }
ark-ff = { version="^0.3.0", default-features = false }
ark-ec = { version="^0.3.0", default-features = false }
ark-r1cs-std = { version="^0.3.0", default-features = false, optional = true }
ark-std = { version="^0.3.0", default-features = false }

[dev-dependencies]
ark-relations = { version="^0.2.0", default-features = false }
ark-serialize = { version="^0.2.0", default-features = false }
ark-algebra-test-templates = { version="^0.2.0", default-features = false }
ark-curve-constraint-tests = { version="^0.2.0", path = "../curve-constraint-tests", default-features = false }
ark-relations = { version="^0.3.0", default-features = false }
ark-serialize = { version="^0.3.0", default-features = false }
ark-algebra-test-templates = { version="^0.3.0", default-features = false }
ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false }

[features]
default = [ "curve" ]
Expand Down
12 changes: 6 additions & 6 deletions bls12_381/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-bls12-381"
version = "0.2.0"
version = "0.3.0"
authors = [ "arkworks contributors" ]
description = "The BLS12-381 pairing-friendly elliptic curve"
homepage = "https://arkworks.rs"
Expand All @@ -13,13 +13,13 @@ license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
ark-ff = { version="^0.2.0", default-features = false }
ark-ec = { version="^0.2.0", default-features = false }
ark-std = { version="^0.2.0", default-features = false }
ark-ff = { version="^0.3.0", default-features = false }
ark-ec = { version="^0.3.0", default-features = false }
ark-std = { version="^0.3.0", default-features = false }

[dev-dependencies]
ark-serialize = { version="^0.2.0", default-features = false }
ark-algebra-test-templates = { version="^0.2.0", default-features = false }
ark-serialize = { version="^0.3.0", default-features = false }
ark-algebra-test-templates = { version="^0.3.0", default-features = false }

[features]
default = [ "curve" ]
Expand Down
12 changes: 6 additions & 6 deletions bn254/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-bn254"
version = "0.2.0"
version = "0.3.0"
authors = [ "arkworks contributors" ]
description = "The BN254 pairing-friendly elliptic curve"
homepage = "https://arkworks.rs"
Expand All @@ -13,13 +13,13 @@ license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
ark-ff = { version="^0.2.0", default-features = false }
ark-ec = { version="^0.2.0", default-features = false }
ark-std = { version="^0.2.0", default-features = false }
ark-ff = { version="^0.3.0", default-features = false }
ark-ec = { version="^0.3.0", default-features = false }
ark-std = { version="^0.3.0", default-features = false }

[dev-dependencies]
ark-serialize = { version="^0.2.0", default-features = false }
ark-algebra-test-templates = { version="^0.2.0", default-features = false }
ark-serialize = { version="^0.3.0", default-features = false }
ark-algebra-test-templates = { version="^0.3.0", default-features = false }

[features]
default = [ "curve" ]
Expand Down
2 changes: 0 additions & 2 deletions bn254/src/curves/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ impl BnParameters for Parameters {
0, 1, 1, 1, 0, 0, -1, 0, 0, 1, 0, 0, 0, 0, 0, -1, 0, 0, 1, 1, 0, 0, -1, 0, 0, 0, 1, 1, 0,
-1, 0, 0, 1, 0, 1, 1,
];
/// `ate_loop_count` is positive.
const ATE_LOOP_COUNT_IS_NEGATIVE: bool = false;

const TWIST_MUL_BY_Q_X: Fq2 = field_new!(
Fq2,
Expand Down
14 changes: 7 additions & 7 deletions bw6_761/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-bw6-761"
version = "0.2.0"
version = "0.3.0"
authors = [ "arkworks contributors" ]
description = "The BW6-761 pairing-friendly elliptic curve"
homepage = "https://arkworks.rs"
Expand All @@ -13,14 +13,14 @@ license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
ark-ff = { version="^0.2.0", default-features = false }
ark-ec = { version="^0.2.0", default-features = false }
ark-std = { version="^0.2.0", default-features = false }
ark-bls12-377 = { version="^0.2.0", path = "../bls12_377", default-features = false, features = [ "base_field" ] }
ark-ff = { version="^0.3.0", default-features = false }
ark-ec = { version="^0.3.0", default-features = false }
ark-std = { version="^0.3.0", default-features = false }
ark-bls12-377 = { version="^0.3.0", path = "../bls12_377", default-features = false, features = [ "base_field" ] }

[dev-dependencies]
ark-serialize = { version="^0.2.0", default-features = false }
ark-algebra-test-templates = { version="^0.2.0", default-features = false }
ark-serialize = { version="^0.3.0", default-features = false }
ark-algebra-test-templates = { version="^0.3.0", default-features = false }

[features]
default = []
Expand Down
14 changes: 7 additions & 7 deletions cp6_782/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-cp6-782"
version = "0.2.0"
version = "0.3.0"
authors = [ "arkworks contributors" ]
description = "The CP6-782 pairing-friendly elliptic curve"
homepage = "https://arkworks.rs"
Expand All @@ -13,14 +13,14 @@ license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
ark-ff = { version = "^0.2.0", default-features = false }
ark-ec = { version = "^0.2.0", default-features = false }
ark-std = { version = "^0.2.0", default-features = false }
ark-bls12-377 = { version = "^0.2.0", path = "../bls12_377", default-features = false, features = [ "base_field" ] }
ark-ff = { version = "^0.3.0", default-features = false }
ark-ec = { version = "^0.3.0", default-features = false }
ark-std = { version = "^0.3.0", default-features = false }
ark-bls12-377 = { version = "^0.3.0", path = "../bls12_377", default-features = false, features = [ "base_field" ] }

[dev-dependencies]
ark-serialize = { version = "^0.2.0", default-features = false }
ark-algebra-test-templates = { version = "^0.2.0", default-features = false }
ark-serialize = { version = "^0.3.0", default-features = false }
ark-algebra-test-templates = { version = "^0.3.0", default-features = false }

[features]
default = []
Expand Down
10 changes: 5 additions & 5 deletions curve-benches/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-curve-benches"
version = "0.2.0"
version = "0.3.0"
authors = [
"Sean Bowe",
"Alessandro Chiesa",
Expand Down Expand Up @@ -28,10 +28,10 @@ build = "build.rs"
bencher = { version = "0.1.5" }

[dev-dependencies]
ark-std = { version = "^0.2.0", default-features = false }
ark-ec = { version = "^0.2.0", default-features = false }
ark-ff = { version = "^0.2.0", default-features = false }
ark-serialize = { version = "^0.2.0", default-features = false }
ark-std = { version = "^0.3.0", default-features = false }
ark-ec = { version = "^0.3.0", default-features = false }
ark-ff = { version = "^0.3.0", default-features = false }
ark-serialize = { version = "^0.3.0", default-features = false }

ark-mnt4-298 = { path = "../mnt4_298" }
ark-mnt6-298 = { path = "../mnt6_298" }
Expand Down
14 changes: 7 additions & 7 deletions curve-constraint-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-curve-constraint-tests"
version = "0.2.0"
version = "0.3.0"
authors = [ "arkworks contributors" ]
description = "A library for testing constraints for finite fields, elliptic curves, and pairings"
homepage = "https://arkworks.rs"
Expand All @@ -13,12 +13,12 @@ license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
ark-std = { version = "^0.2.0", default-features = false }
ark-serialize = { version = "^0.2.0", default-features = false }
ark-ff = { version = "^0.2.0", default-features = false }
ark-relations = { version = "^0.2.0", default-features = false }
ark-r1cs-std = { version = "^0.2.0", default-features = false }
ark-ec = { version = "^0.2.0", default-features = false }
ark-std = { version = "^0.3.0", default-features = false }
ark-serialize = { version = "^0.3.0", default-features = false }
ark-ff = { version = "^0.3.0", default-features = false }
ark-relations = { version = "^0.3.0", default-features = false }
ark-r1cs-std = { version = "^0.3.0", default-features = false }
ark-ec = { version = "^0.3.0", default-features = false }

[features]
default = []
Expand Down
18 changes: 9 additions & 9 deletions ed_on_bls12_377/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-ed-on-bls12-377"
version = "0.2.0"
version = "0.3.0"
authors = [ "arkworks contributors" ]
description = "A Twisted Edwards curve defined over the scalar field of the BLS12-377 curve"
homepage = "https://arkworks.rs"
Expand All @@ -13,16 +13,16 @@ license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
ark-ff = { version = "^0.2.0", default-features = false }
ark-ec = { version = "^0.2.0", default-features = false }
ark-std = { version = "^0.2.0", default-features = false }
ark-r1cs-std = { version = "^0.2.0", default-features = false, optional = true }
ark-bls12-377 = { version = "^0.2.0", path = "../bls12_377", default-features = false, features = [ "scalar_field" ] }
ark-ff = { version = "^0.3.0", default-features = false }
ark-ec = { version = "^0.3.0", default-features = false }
ark-std = { version = "^0.3.0", default-features = false }
ark-r1cs-std = { version = "^0.3.0", default-features = false, optional = true }
ark-bls12-377 = { version = "^0.3.0", path = "../bls12_377", default-features = false, features = [ "scalar_field" ] }

[dev-dependencies]
ark-relations = { version = "^0.2.0", default-features = false }
ark-serialize = { version = "^0.2.0", default-features = false }
ark-algebra-test-templates = { version = "^0.2.0", default-features = false }
ark-relations = { version = "^0.3.0", default-features = false }
ark-serialize = { version = "^0.3.0", default-features = false }
ark-algebra-test-templates = { version = "^0.3.0", default-features = false }
ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false }

[features]
Expand Down
18 changes: 9 additions & 9 deletions ed_on_bls12_381/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-ed-on-bls12-381"
version = "0.2.0"
version = "0.3.0"
authors = [ "arkworks contributors" ]
description = "A Twisted Edwards curve defined over the scalar field of the BLS12-381 curve"
homepage = "https://arkworks.rs"
Expand All @@ -13,16 +13,16 @@ license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
ark-ff = { version = "^0.2.0", default-features = false }
ark-ec = { version = "^0.2.0", default-features = false }
ark-std = { version = "^0.2.0", default-features = false }
ark-r1cs-std = { version = "^0.2.0", default-features = false, optional = true }
ark-bls12-381 = { version = "^0.2.0", path = "../bls12_381", default-features = false, features = [ "scalar_field" ] }
ark-ff = { version = "^0.3.0", default-features = false }
ark-ec = { version = "^0.3.0", default-features = false }
ark-std = { version = "^0.3.0", default-features = false }
ark-r1cs-std = { version = "^0.3.0", default-features = false, optional = true }
ark-bls12-381 = { version = "^0.3.0", path = "../bls12_381", default-features = false, features = [ "scalar_field" ] }

[dev-dependencies]
ark-relations = { version = "^0.2.0", default-features = false }
ark-serialize = { version = "^0.2.0", default-features = false }
ark-algebra-test-templates = { version = "^0.2.0", default-features = false }
ark-relations = { version = "^0.3.0", default-features = false }
ark-serialize = { version = "^0.3.0", default-features = false }
ark-algebra-test-templates = { version = "^0.3.0", default-features = false }
ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false }

[features]
Expand Down
18 changes: 9 additions & 9 deletions ed_on_bn254/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-ed-on-bn254"
version = "0.2.0"
version = "0.3.0"
authors = [ "arkworks contributors" ]
description = "A Twisted Edwards curve defined over the scalar field of the BN254 curve"
homepage = "https://arkworks.rs"
Expand All @@ -13,16 +13,16 @@ license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
ark-ff = { version = "^0.2.0", default-features = false }
ark-ec = { version = "^0.2.0", default-features = false }
ark-std = { version = "^0.2.0", default-features = false }
ark-r1cs-std = { version = "^0.2.0", default-features = false, optional = true }
ark-bn254 = { version = "^0.2.0", path = "../bn254", default-features = false, features = [ "scalar_field" ] }
ark-ff = { version = "^0.3.0", default-features = false }
ark-ec = { version = "^0.3.0", default-features = false }
ark-std = { version = "^0.3.0", default-features = false }
ark-r1cs-std = { version = "^0.3.0", default-features = false, optional = true }
ark-bn254 = { version = "^0.3.0", path = "../bn254", default-features = false, features = [ "scalar_field" ] }

[dev-dependencies]
ark-relations = { version = "^0.2.0", default-features = false }
ark-serialize = { version = "^0.2.0", default-features = false }
ark-algebra-test-templates = { version = "^0.2.0", default-features = false }
ark-relations = { version = "^0.3.0", default-features = false }
ark-serialize = { version = "^0.3.0", default-features = false }
ark-algebra-test-templates = { version = "^0.3.0", default-features = false }
ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false }

[features]
Expand Down
12 changes: 6 additions & 6 deletions ed_on_bw6_761/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-ed-on-bw6-761"
version = "0.2.0"
version = "0.3.0"
authors = [ "arkworks contributors" ]
description = "A Twisted Edwards curve defined over the scalar field of the BW6-761 curve"
homepage = "https://arkworks.rs"
Expand All @@ -13,13 +13,13 @@ license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
ark-ed-on-cp6-782 = { version = "^0.2.0", path = "../ed_on_cp6_782", default-features = false }
ark-ed-on-cp6-782 = { version = "^0.3.0", path = "../ed_on_cp6_782", default-features = false }

[dev-dependencies]
ark-relations = { version = "^0.2.0", default-features = false }
ark-r1cs-std = { version = "^0.2.0", default-features = false }
ark-ff = { version = "^0.2.0", default-features = false }
ark-std = { version = "^0.2.0", default-features = false }
ark-relations = { version = "^0.3.0", default-features = false }
ark-r1cs-std = { version = "^0.3.0", default-features = false }
ark-ff = { version = "^0.3.0", default-features = false }
ark-std = { version = "^0.3.0", default-features = false }

[features]
default = []
Expand Down
Loading