diff --git a/CHANGELOG.md b/CHANGELOG.md index 237a72262..2c3034ecd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ ## Pending +### Breaking changes + +### Features + +### Improvements + +### Bugfixes + +## v0.5.0 + - [\#772](https://github.com/arkworks-rs/algebra/pull/772) (`ark-ff`) Implementation of `mul` method for `BigInteger`. - [\#794](https://github.com/arkworks-rs/algebra/pull/794) (`ark-ff`) Fix `wasm` compilation. - [\#837](https://github.com/arkworks-rs/algebra/pull/837) (`ark-serialize`) Fix array deserialization panic. diff --git a/Cargo.toml b/Cargo.toml index b428fc19f..00ffc7f84 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ exclude = ["curves/**"] resolver = "2" [workspace.package] -version = "0.4.2" +version = "0.5.0" authors = [ "arkworks contributors" ] homepage = "https://arkworks.rs" repository = "https://github.com/arkworks-rs/algebra" @@ -35,18 +35,18 @@ rustdoc-args = [ "--html-in-header katex-header.html" ] dependent-version = "fix" [workspace.dependencies] -ark-ec = { version = "0.4.2", path = "./ec", default-features = false } -ark-ff = { version = "0.4.2", path = "./ff", default-features = false } -ark-ff-asm = { version = "0.4.2", path = "./ff-asm" } -ark-ff-macros = { version = "0.4.2", path = "./ff-macros" } -ark-poly = { version = "0.4.2", path = "./poly", default-features = false } -ark-serialize = { version = "0.4.2", path = "./serialize", default-features = false } -ark-serialize-derive = { version = "0.4.2", path = "./serialize-derive" } -ark-std = { version = "0.4.0", default-features = false } - -ark-algebra-bench-templates = { version = "0.4.2", path = "./bench-templates", default-features = false } -ark-algebra-test-templates = { version = "0.4.2", path = "./test-templates", default-features = false } -ark-test-curves = { version = "0.4.2", path = "./test-curves", default-features = false } +ark-ec = { version = "0.5.0", path = "./ec", default-features = false } +ark-ff = { version = "0.5.0", path = "./ff", default-features = false } +ark-ff-asm = { version = "0.5.0", path = "./ff-asm" } +ark-ff-macros = { version = "0.5.0", path = "./ff-macros" } +ark-poly = { version = "0.5.0", path = "./poly", default-features = false } +ark-serialize = { version = "0.5.0", path = "./serialize", default-features = false } +ark-serialize-derive = { version = "0.5.0", path = "./serialize-derive" } +ark-std = { version = "0.5.0", default-features = false } + +ark-algebra-bench-templates = { version = "0.5.0", path = "./bench-templates", default-features = false } +ark-algebra-test-templates = { version = "0.5.0", path = "./test-templates", default-features = false } +ark-test-curves = { version = "0.5.0", path = "./test-curves", default-features = false } num-traits = { version = "0.2", default-features = false } num-bigint = { version = "0.4", default-features = false } @@ -98,6 +98,3 @@ lto = "thin" incremental = true debug-assertions = true debug = true - -[patch.crates-io] -ark-std = { git = "https://github.com/arkworks-rs/std/" } diff --git a/bench-templates/Cargo.toml b/bench-templates/Cargo.toml index 0d092c639..8b018b89e 100644 --- a/bench-templates/Cargo.toml +++ b/bench-templates/Cargo.toml @@ -13,7 +13,7 @@ license.workspace = true edition.workspace = true rust-version.workspace = true metadata.docs.rs.workspace = true -metadata.release.workspace = true +package.metadata.release.workspace = true ################################# Dependencies ################################ diff --git a/curves/CHANGELOG.md b/curves/CHANGELOG.md index f16a65700..1bced84d9 100644 --- a/curves/CHANGELOG.md +++ b/curves/CHANGELOG.md @@ -6,6 +6,16 @@ ### Features +### Improvements + +### Bugfixes + +## v0.5.0 + +### Breaking changes + +### Features + - [\#156](https://github.com/arkworks-rs/curves/pull/156) Add the bw6-767 curve. - [\#174](https://github.com/arkworks-rs/curves/pull/174) Add the "grumpkin" curve. diff --git a/curves/Cargo.toml b/curves/Cargo.toml index 337b39167..ef7dae6e3 100644 --- a/curves/Cargo.toml +++ b/curves/Cargo.toml @@ -43,6 +43,43 @@ members = [ ] resolver = "2" +[workspace.package] +version = "0.5.0" +authors = [ "arkworks contributors" ] +homepage = "https://arkworks.rs" +repository = "https://github.com/arkworks-rs/algebra" +categories = ["cryptography"] +keywords = ["cryptography", "finite-fields", "elliptic-curves" ] +include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] +license = "MIT OR Apache-2.0" +edition = "2021" +rust-version = "1.75" + +[workspace.dependencies] +ark-ec = { version = "0.5.0", path = "../ec", default-features = false } +ark-ff = { version = "0.5.0", path = "../ff", default-features = false } +ark-ff-asm = { version = "0.5.0", path = "../ff-asm" } +ark-poly = { version = "0.5.0", path = "../poly", default-features = false } +ark-serialize = { version = "0.5.0", path = "../serialize", default-features = false } +ark-algebra-test-templates = { version = "0.5.0", path = "../test-templates", default-features = false } +ark-algebra-bench-templates = { version = "0.5.0", path = "../bench-templates", default-features = false } + +ark-bls12-377 = { version = "0.5.0", path = "./bls12_377", default-features = false } +ark-bls12-381 = { version = "0.5.0", path = "./bls12_381", default-features = false } +ark-ed-on-cp6-782 = { version = "0.5.0", path = "./ed_on_cp6_782", default-features = false } +ark-bn254 = { version = "0.5.0", path = "./bn254", default-features = false } +ark-mnt4-298 = { version = "0.5.0", path = "./mnt4_298", default-features = false } +ark-mnt4-753 = { version = "0.5.0", path = "./mnt4_753", default-features = false } +ark-pallas = { version = "0.5.0", path = "./pallas", default-features = false } +ark-secp256k1 = { version = "0.5.0", path = "./secp256k1" } +ark-curve25519 = { version = "0.5.0", path = "./curve25519" } + +ark-curve-constraint-tests = { version = "0.5.0", path = "./curve-constraint-tests" } + +ark-std = { version = "0.5.0", default-features = false } +ark-r1cs-std = { version = "0.5.0", default-features = false } +ark-relations = {version = "0.5.0", default-features = false } + [profile.release] opt-level = 3 lto = "thin" @@ -69,11 +106,13 @@ debug-assertions = true debug = true [patch.crates-io] -ark-ff = { path = "../ff" } ark-ec = { path = "../ec" } +ark-ff = { path = "../ff" } +ark-ff-asm = { path = "../ff-asm" } ark-poly = { path = "../poly" } ark-serialize = { path = "../serialize" } ark-algebra-test-templates = { path = "../test-templates" } ark-algebra-bench-templates = { path = "../bench-templates" } +ark-curve-constraint-tests = { path = "./curve-constraint-tests" } ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std/" } ark-std = { git = "https://github.com/arkworks-rs/std/" } diff --git a/curves/bls12_377/Cargo.toml b/curves/bls12_377/Cargo.toml index 730b4d2d7..5de276a92 100644 --- a/curves/bls12_377/Cargo.toml +++ b/curves/bls12_377/Cargo.toml @@ -1,30 +1,30 @@ [package] name = "ark-bls12-377" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The BLS12-377 pairing-friendly elliptic curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-bls12-377/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version= "0.4.0", default-features = false } -ark-ec = { version= "0.4.0", default-features = false } -ark-r1cs-std = { version= "0.4.0", default-features = false, optional = true } -ark-std = { version = "0.4.0", default-features = false } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-std = { workspace = true } [dev-dependencies] -ark-relations = { version= "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } -sha2 = { version = "0.10", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } +ark-curve-constraint-tests = { workspace = true } +sha2 = { version = "0.10" } [features] default = [ "curve" ] diff --git a/curves/bls12_381/Cargo.toml b/curves/bls12_381/Cargo.toml index 83566a410..88d06e11d 100644 --- a/curves/bls12_381/Cargo.toml +++ b/curves/bls12_381/Cargo.toml @@ -1,26 +1,26 @@ [package] name = "ark-bls12-381" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The BLS12-381 pairing-friendly elliptic curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-bls12-381/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version= "0.4.0", default-features = false } -ark-ec = { version= "0.4.0" } -ark-std = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-serialize = { workspace = true } [dev-dependencies] -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } hex = "^0.4.0" [features] diff --git a/curves/bn254/Cargo.toml b/curves/bn254/Cargo.toml index 42ac33cf0..965f26b3b 100644 --- a/curves/bn254/Cargo.toml +++ b/curves/bn254/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "ark-bn254" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The BN254 pairing-friendly elliptic curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-bn254/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version= "0.4.0", default-features = false } -ark-ec = { version= "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } [dev-dependencies] -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } -ark-relations = { version = "0.4.0", default-features = false } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } +ark-relations = { workspace = true } [features] default = [ "curve" ] diff --git a/curves/bw6_761/Cargo.toml b/curves/bw6_761/Cargo.toml index cb4abaa5b..b22d749cb 100644 --- a/curves/bw6_761/Cargo.toml +++ b/curves/bw6_761/Cargo.toml @@ -1,27 +1,27 @@ [package] name = "ark-bw6-761" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The BW6-761 pairing-friendly elliptic curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-bw6-761/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version= "0.4.0", default-features = false } -ark-ec = { version= "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-bls12-377 = { version = "0.4.0", path = "../bls12_377", default-features = false, features = [ "base_field" ] } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-bls12-377 = { workspace = true, features = [ "base_field" ] } [dev-dependencies] -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } [features] default = [] diff --git a/curves/bw6_767/Cargo.toml b/curves/bw6_767/Cargo.toml index d5ab0bf6d..78402e464 100644 --- a/curves/bw6_767/Cargo.toml +++ b/curves/bw6_767/Cargo.toml @@ -1,27 +1,27 @@ [package] name = "ark-bw6-767" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The BW6-767 pairing-friendly elliptic curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-bw6-767/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version= "0.4.0", default-features = false } -ark-ec = { version= "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-bls12-381 = { version = "0.4.0", path = "../bls12_381", default-features = false, features = [ "curve" ] } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-bls12-381 = { workspace = true, features = [ "curve" ] } [dev-dependencies] -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } [features] default = [] diff --git a/curves/cp6_782/Cargo.toml b/curves/cp6_782/Cargo.toml index 2fcc822b7..7f6830c86 100644 --- a/curves/cp6_782/Cargo.toml +++ b/curves/cp6_782/Cargo.toml @@ -1,28 +1,28 @@ [package] name = "ark-cp6-782" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The CP6-782 pairing-friendly elliptic curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-cp6-782/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-bls12-377 = { version = "0.4.0", path = "../bls12_377", default-features = false, features = [ "base_field" ] } -itertools = { version = "0.10", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-bls12-377 = { workspace = true, features = [ "base_field" ] } +itertools = { version = "0.10" } +ark-serialize = { workspace = true } [dev-dependencies] -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } [features] default = [] diff --git a/curves/curve-constraint-tests/Cargo.toml b/curves/curve-constraint-tests/Cargo.toml index 6df8baf94..0ada0958d 100644 --- a/curves/curve-constraint-tests/Cargo.toml +++ b/curves/curve-constraint-tests/Cargo.toml @@ -1,24 +1,24 @@ [package] name = "ark-curve-constraint-tests" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "A library for testing constraints for finite fields, elliptic curves, and pairings" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-curve-constraint-tests/" keywords = ["cryptography", "finite-fields", "elliptic-curves", "r1cs" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-std = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-ff = { version = "0.4.0", default-features = false } -ark-relations = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } +ark-std = { workspace = true } +ark-serialize = { workspace = true } +ark-ff = { workspace = true } +ark-relations = { workspace = true } +ark-r1cs-std = { workspace = true } +ark-ec = { workspace = true } [features] default = [] diff --git a/curves/curve25519/Cargo.toml b/curves/curve25519/Cargo.toml index 6ecd65da1..127af35d3 100644 --- a/curves/curve25519/Cargo.toml +++ b/curves/curve25519/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "ark-curve25519" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The curve25519 Montgomery curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-curve25519/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/ed25519/Cargo.toml b/curves/ed25519/Cargo.toml index c03e64af7..d19e2dc1d 100644 --- a/curves/ed25519/Cargo.toml +++ b/curves/ed25519/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "ark-ed25519" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The ed25519 twisted Edwards curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-ed25519/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-curve25519 = { version = "0.4.0", path = "../curve25519" } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-curve25519 = { workspace = true } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/ed_on_bls12_377/Cargo.toml b/curves/ed_on_bls12_377/Cargo.toml index 359628436..518b20161 100644 --- a/curves/ed_on_bls12_377/Cargo.toml +++ b/curves/ed_on_bls12_377/Cargo.toml @@ -1,30 +1,30 @@ [package] name = "ark-ed-on-bls12-377" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "A Twisted Edwards curve defined over the scalar field of the BLS12-377 curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-ed-on-bls12-377/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-bls12-377 = { version = "0.4.0", path = "../bls12_377", default-features = false, features = [ "scalar_field" ] } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-bls12-377 = { workspace = true, features = [ "scalar_field" ] } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/ed_on_bls12_381/Cargo.toml b/curves/ed_on_bls12_381/Cargo.toml index 3840dfa07..9d93cba57 100644 --- a/curves/ed_on_bls12_381/Cargo.toml +++ b/curves/ed_on_bls12_381/Cargo.toml @@ -1,30 +1,30 @@ [package] name = "ark-ed-on-bls12-381" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "A Twisted Edwards curve defined over the scalar field of the BLS12-381 curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-ed-on-bls12-381/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-bls12-381 = { version = "0.4.0", path = "../bls12_381", default-features = false, features = [ "scalar_field" ] } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-bls12-381 = { workspace = true, features = [ "scalar_field" ] } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/ed_on_bls12_381_bandersnatch/Cargo.toml b/curves/ed_on_bls12_381_bandersnatch/Cargo.toml index eb3c41db4..5cf58f1b9 100644 --- a/curves/ed_on_bls12_381_bandersnatch/Cargo.toml +++ b/curves/ed_on_bls12_381_bandersnatch/Cargo.toml @@ -1,28 +1,29 @@ [package] name = "ark-ed-on-bls12-381-bandersnatch" -version = "0.4.0" +version.workspace = true authors = [ "zhenfei zhang", "arkworks contributors" ] description = "Bandersnatch: a curve defined over the scalar field of the BLS12-381 curve" -repository = "https://github.com/zhenfeizhang/bandersnatch-rust" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +homepage.workspace = true +repository.workspace = true +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-bls12-381 = { version = "0.4.0", path = "../bls12_381", default-features = false, features = [ "scalar_field" ] } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-bls12-381 = { workspace = true, features = [ "scalar_field" ] } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } -sha2 = { version = "0.10", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } +sha2 = { version = "0.10" } [features] default = [] diff --git a/curves/ed_on_bn254/Cargo.toml b/curves/ed_on_bn254/Cargo.toml index 91b7c62dc..73ec3523a 100644 --- a/curves/ed_on_bn254/Cargo.toml +++ b/curves/ed_on_bn254/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "ark-ed-on-bn254" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "A Twisted Edwards curve defined over the scalar field of the BN254 curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-ed-on-bn254/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-bn254 = { version = "0.4.0", path = "../bn254", default-features = false, features = [ "scalar_field" ] } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-bn254 = { workspace = true, features = [ "scalar_field" ] } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/ed_on_bw6_761/Cargo.toml b/curves/ed_on_bw6_761/Cargo.toml index 2ca14764a..beb4411b2 100644 --- a/curves/ed_on_bw6_761/Cargo.toml +++ b/curves/ed_on_bw6_761/Cargo.toml @@ -1,25 +1,25 @@ [package] name = "ark-ed-on-bw6-761" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "A Twisted Edwards curve defined over the scalar field of the BW6-761 curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-ed-on-bw6-761/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ed-on-cp6-782 = { version = "0.4.0", path = "../ed_on_cp6_782", default-features = false } +ark-ed-on-cp6-782 = { workspace = true } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false } -ark-ff = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } +ark-relations = { workspace = true } +ark-r1cs-std = { workspace = true } +ark-ff = { workspace = true } +ark-std = { workspace = true } [features] default = [] diff --git a/curves/ed_on_cp6_782/Cargo.toml b/curves/ed_on_cp6_782/Cargo.toml index c4220bbf5..20f8179ce 100644 --- a/curves/ed_on_cp6_782/Cargo.toml +++ b/curves/ed_on_cp6_782/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "ark-ed-on-cp6-782" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "A Twisted Edwards curve defined over the scalar field of the CP6-782 curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-ed-on-cp6-782/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-bls12-377 = { version = "0.4.0", path = "../bls12_377", default-features = false, features = [ "base_field" ] } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-bls12-377 = { workspace = true, features = [ "base_field" ] } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/ed_on_mnt4_298/Cargo.toml b/curves/ed_on_mnt4_298/Cargo.toml index 3220adbfb..1211a35b8 100644 --- a/curves/ed_on_mnt4_298/Cargo.toml +++ b/curves/ed_on_mnt4_298/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "ark-ed-on-mnt4-298" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "A Twisted Edwards curve defined over the scalar field of the MNT4-298 curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-ed-on-mnt4-298/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-mnt4-298 = { version = "0.4.0", path = "../mnt4_298", default-features = false, features = [ "scalar_field" ] } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-mnt4-298 = { workspace = true, features = [ "scalar_field" ] } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/ed_on_mnt4_753/Cargo.toml b/curves/ed_on_mnt4_753/Cargo.toml index 8262eb755..3dd706b47 100644 --- a/curves/ed_on_mnt4_753/Cargo.toml +++ b/curves/ed_on_mnt4_753/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "ark-ed-on-mnt4-753" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "A Twisted Edwards curve defined over the scalar field of the MNT4-753 curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-ed-on-mnt4-753/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-mnt4-753 = { version = "0.4.0", path = "../mnt4_753", default-features = false, features = [ "scalar_field" ] } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-mnt4-753 = { workspace = true, features = [ "scalar_field" ] } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/grumpkin/Cargo.toml b/curves/grumpkin/Cargo.toml index 63fb5177d..cad0f81d4 100644 --- a/curves/grumpkin/Cargo.toml +++ b/curves/grumpkin/Cargo.toml @@ -1,30 +1,31 @@ [package] name = "ark-grumpkin" -version = "0.4.0" +version.workspace = true authors = [ "CPerezz", "arkworks contributors" ] description = "The Grumpkin prime-order elliptic curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-grumpkin/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-std = { version = "0.4.0", default-features = false } -ark-bn254 = { version = "0.4.0", path = "../bn254", default-features = false, features = [ "scalar_field", "curve" ] } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-std = { workspace = true } +ark-bn254 = { workspace = true, features = [ "scalar_field", "curve" ] } + [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/mnt4_298/Cargo.toml b/curves/mnt4_298/Cargo.toml index e2180bdc4..7952e0e1c 100644 --- a/curves/mnt4_298/Cargo.toml +++ b/curves/mnt4_298/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "ark-mnt4-298" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The MNT4-298 pairing-friendly elliptic curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-mnt4-298/" -keywords = ["cryptography", "finite-fields" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [ "curve" ] diff --git a/curves/mnt4_753/Cargo.toml b/curves/mnt4_753/Cargo.toml index a434a51fb..2cb9d6511 100644 --- a/curves/mnt4_753/Cargo.toml +++ b/curves/mnt4_753/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "ark-mnt4-753" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The MNT4-753 pairing-friendly elliptic curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-mnt4-753/" -keywords = ["cryptography", "finite-fields" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [ "curve" ] diff --git a/curves/mnt6_298/Cargo.toml b/curves/mnt6_298/Cargo.toml index 420afd89a..38095d3a3 100644 --- a/curves/mnt6_298/Cargo.toml +++ b/curves/mnt6_298/Cargo.toml @@ -1,30 +1,30 @@ [package] name = "ark-mnt6-298" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The MNT6-298 pairing-friendly elliptic curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-mnt6-298/" -keywords = ["cryptography", "finite-fields", "elliptic-curves"] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-mnt4-298 = { version = "0.4.0", path = "../mnt4_298", default-features = false, features = [ "scalar_field", "base_field" ] } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-mnt4-298 = { workspace = true, features = [ "scalar_field", "base_field" ] } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/mnt6_753/Cargo.toml b/curves/mnt6_753/Cargo.toml index a0f4024d9..db676d5e5 100644 --- a/curves/mnt6_753/Cargo.toml +++ b/curves/mnt6_753/Cargo.toml @@ -1,30 +1,30 @@ [package] name = "ark-mnt6-753" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The MNT6-753 pairing-friendly elliptic curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-mnt6-753/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-std = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-mnt4-753 = { version = "0.4.0", path = "../mnt4_753", default-features = false, features = [ "scalar_field", "base_field" ] } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-std = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-mnt4-753 = { workspace = true, features = [ "scalar_field", "base_field" ] } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/pallas/Cargo.toml b/curves/pallas/Cargo.toml index f60ee1813..cb42e0e5b 100644 --- a/curves/pallas/Cargo.toml +++ b/curves/pallas/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "ark-pallas" -version = "0.4.0" +version.workspace = true authors = [ "Ying Tong Lai", "Daira Hopwood", "O(1) Labs", "arkworks contributors" ] description = "The Pallas prime-order elliptic curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-pallas/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-std = { version = "0.4.0", default-features = false } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-std = { workspace = true } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [ "curve" ] diff --git a/curves/secp256k1/Cargo.toml b/curves/secp256k1/Cargo.toml index de0dfeda4..38b99b41f 100644 --- a/curves/secp256k1/Cargo.toml +++ b/curves/secp256k1/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "ark-secp256k1" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The secp256k1 curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-secp256k1/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-std = { version = "0.4.0", default-features = false } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-std = { workspace = true } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/secp256k1/src/curves/mod.rs b/curves/secp256k1/src/curves/mod.rs index 5adc6d1c9..1b40b1007 100644 --- a/curves/secp256k1/src/curves/mod.rs +++ b/curves/secp256k1/src/curves/mod.rs @@ -1,4 +1,8 @@ use ark_ec::{ + hashing::curve_maps::{ + swu::SWUConfig, + wb::{IsogenyMap, WBConfig}, + }, models::CurveConfig, short_weierstrass::{self as sw, SWCurveConfig}, }; @@ -43,6 +47,61 @@ impl SWCurveConfig for Config { } } +/// +/// for `secp256k1_XMD:SHA-256_SSWU_` suites +pub struct ConfigIsogenous {} +impl CurveConfig for ConfigIsogenous { + type BaseField = ::BaseField; + type ScalarField = ::ScalarField; + + const COFACTOR: &'static [u64] = Config::COFACTOR; + const COFACTOR_INV: Self::ScalarField = Config::COFACTOR_INV; +} +type TheIsoCurveAffine = sw::Affine; +impl SWCurveConfig for ConfigIsogenous { + const COEFF_A: Self::BaseField = + MontFp!("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"); + const COEFF_B: Self::BaseField = MontFp!("1771"); + const GENERATOR: TheIsoCurveAffine = TheIsoCurveAffine::new_unchecked( + MontFp!("75295888890003590383366995344834012177557063699577440394299653383124903397514"), + MontFp!("82553647407850972504999846303729620951309077682374043495922869307182479212755"), + ); +} +impl SWUConfig for ConfigIsogenous { + const ZETA: Self::BaseField = MontFp!("-11"); +} +// Parameters from the [IETF draft v16, section E.3](https://www.ietf.org/archive/id/draft-irtf-cfrg-hash-to-curve-16.html#name-suites-for-secp256k1). +impl WBConfig for Config { + type IsogenousCurve = ConfigIsogenous; + + const ISOGENY_MAP: IsogenyMap<'static, Self::IsogenousCurve, Self> = IsogenyMap { + x_map_numerator: &[ + MontFp!("0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7"), + MontFp!("0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581"), + MontFp!("0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262"), + MontFp!("0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"), + ], + x_map_denominator: &[ + MontFp!("0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b"), + MontFp!("0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14"), + MontFp!("1"), + MontFp!("0"), + ], + y_map_numerator: &[ + MontFp!("0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c"), + MontFp!("0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3"), + MontFp!("0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931"), + MontFp!("0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"), + ], + y_map_denominator: &[ + MontFp!("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b"), + MontFp!("0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573"), + MontFp!("0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f"), + MontFp!("1"), + ], + }; +} + /// G_GENERATOR_X = /// 55066263022277343669578718895168534326250603453777594175500187360389116729240 pub const G_GENERATOR_X: Fq = diff --git a/curves/secp256k1/src/curves/tests.rs b/curves/secp256k1/src/curves/tests.rs index f7bc50cd2..0adae7165 100755 --- a/curves/secp256k1/src/curves/tests.rs +++ b/curves/secp256k1/src/curves/tests.rs @@ -2,3 +2,61 @@ use crate::Projective; use ark_algebra_test_templates::*; test_group!(g1; Projective; sw); + +/// this will be failing until [the hasher is fixed](https://github.com/arkworks-rs/algebra/issues/849) \ +/// though the test can be improved with a fixed hasher until then +#[test] +fn test_h2c() { + /* suite = secp256k1_XMD:SHA-256_SSWU_RO_ + dst = QUUX-V01-CS02-with-secp256k1_XMD:SHA-256_SSWU_RO_ + + msg = + P.x = c1cae290e291aee617ebaef1be6d73861479c48b841eaba9b7b5852ddfeb1346 + C1CAE290E291AEE617EBAEF1BE6D73861479C48B841EABA9B7B5852DDFEB1346 + P.y = 64fa678e07ae116126f08b022a94af6de15985c996c3a91b64c406a960e51067 + 64FA678E07AE116126F08B022A94AF6DE15985C996C3A91B64C406A960E51067 + u[0] = 6b0f9910dd2ba71c78f2ee9f04d73b5f4c5f7fc773a701abea1e57 + 3cab002fb3 + u[1] = 1ae6c212e08fe1a5937f6202f929a2cc8ef4ee5b9782db68b0d579 + 9fd8f09e16 + Q0.x = 74519ef88b32b425a095e4ebcc84d81b64e9e2c2675340a720bb1a + 1857b99f1e + Q0.y = c174fa322ab7c192e11748beed45b508e9fdb1ce046dee9c2cd3a2 + a86b410936 + Q1.x = 44548adb1b399263ded3510554d28b4bead34b8cf9a37b4bd0bd2b + a4db87ae63 + Q1.y = 96eb8e2faf05e368efe5957c6167001760233e6dd2487516b46ae7 + 25c4cce0c6 */ + use std::str::FromStr; + + // assert_eq!( + // ExpanderXmd::expand([]), + // hex::decode("68a985b87eb6b46952128911f2a4412bbc302a9d759667f87f7a21d803f07235") + // ); + + let dst = b"QUUX-V01-CS02-with-secp256k1_XMD:SHA-256_SSWU_RO_"; + + let defhasher: FixedFieldHasher = as HashToField>::new(dst); + let u: [secp256k1::fq::Fq; 2] = defhasher.hash_to_field::<2>(&[]); + println!("{}", u[0]); + assert_eq!( + u[0], + crate::Fq::new(BigInt::from_str(//_radix( + "48425033926223359121679389614872723077618800904285921194876400224709273202611" + // 4424703167977793061848381150098601127251783968775290647828255579651460940578 + // "6b0f9910dd2ba71c78f2ee9f04d73b5f4c5f7fc773a701abea1e573cab002fb3" + ).unwrap()), + ); + + assert_eq!( + ark_ec::hashing::map_to_curve_hasher::MapToCurveBasedHasher::< + ark_ec::short_weierstrass::Projective, + FixedFieldHasher, + ark_ec::hashing::curve_maps::wb::WBMap + >::new(dst).unwrap().hash(&[]).unwrap(), + secp256k1::Affine::new( + secp256k1::fq::Fq::new(BigInt::from_str("87654846584422849836571930156466438379984710599888121545025567473301233275718").unwrap()), + secp256k1::fq::Fq::new(BigInt::from_str("45673711333516174500892987253036094404176536844955599116957274814081860440167").unwrap()), + ) + ); +} \ No newline at end of file diff --git a/curves/secp256r1/Cargo.toml b/curves/secp256r1/Cargo.toml index e4a602258..7f09b59f2 100644 --- a/curves/secp256r1/Cargo.toml +++ b/curves/secp256r1/Cargo.toml @@ -1,28 +1,28 @@ [package] name = "ark-secp256r1" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The secp256r1 curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-secp256r1/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-std = { version = "0.4.0", default-features = false } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-std = { workspace = true } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/secp384r1/Cargo.toml b/curves/secp384r1/Cargo.toml index f99ff64b1..d82a6c85d 100644 --- a/curves/secp384r1/Cargo.toml +++ b/curves/secp384r1/Cargo.toml @@ -1,28 +1,28 @@ [package] name = "ark-secp384r1" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The secp384r1 curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-secp384r1/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-std = { version = "0.4.0", default-features = false } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-std = { workspace = true } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/secq256k1/Cargo.toml b/curves/secq256k1/Cargo.toml index c01e39989..8959dbde3 100644 --- a/curves/secq256k1/Cargo.toml +++ b/curves/secq256k1/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "ark-secq256k1" -version = "0.4.0" -authors = [ "arkworks contributors" ] +version.workspace = true +authors.workspace = true description = "The secq256k1 curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-secp256k1/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-std = { version = "0.4.0", default-features = false } -ark-secp256k1 = { version = "0.4.0", path = "../secp256k1" } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-std = { workspace = true } +ark-secp256k1 = { workspace = true } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/curves/vesta/Cargo.toml b/curves/vesta/Cargo.toml index ab1d3f41a..9e8f97d5b 100644 --- a/curves/vesta/Cargo.toml +++ b/curves/vesta/Cargo.toml @@ -1,30 +1,30 @@ [package] name = "ark-vesta" -version = "0.4.0" +version.workspace = true authors = [ "Ying Tong Lai", "Daira Hopwood", "O(1) Labs", "arkworks contributors" ] description = "The Vesta prime-order elliptic curve" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/algebra" +homepage.workspace = true +repository.workspace = true documentation = "https://docs.rs/ark-vesta/" -keywords = ["cryptography", "finite-fields", "elliptic-curves" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src"] -license = "MIT/Apache-2.0" -edition = "2021" +keywords.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true [dependencies] -ark-ff = { version = "0.4.0", default-features = false } -ark-ec = { version = "0.4.0", default-features = false } -ark-r1cs-std = { version = "0.4.0", default-features = false, optional = true } -ark-std = { version = "0.4.0", default-features = false } -ark-pallas = { version = "0.4.0", path = "../pallas", default-features = false, features = [ "scalar_field", "base_field" ] } +ark-ff = { workspace = true } +ark-ec = { workspace = true } +ark-r1cs-std = { workspace = true, optional = true } +ark-std = { workspace = true } +ark-pallas = { workspace = true, features = [ "scalar_field", "base_field" ] } [dev-dependencies] -ark-relations = { version = "0.4.0", default-features = false } -ark-serialize = { version = "0.4.0", default-features = false } -ark-algebra-test-templates = { version = "0.4.0", default-features = false } -ark-algebra-bench-templates = { version = "0.4.0", default-features = false } -ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false } +ark-relations = { workspace = true } +ark-serialize = { workspace = true } +ark-algebra-test-templates = { workspace = true } +ark-algebra-bench-templates = { workspace = true } +ark-curve-constraint-tests = { path = "../curve-constraint-tests" } [features] default = [] diff --git a/ec/Cargo.toml b/ec/Cargo.toml index f887ab410..7f6538e49 100644 --- a/ec/Cargo.toml +++ b/ec/Cargo.toml @@ -12,7 +12,7 @@ license.workspace = true edition.workspace = true rust-version.workspace = true metadata.docs.rs.workspace = true -metadata.release.workspace = true +package.metadata.release.workspace = true keywords = ["cryptography", "elliptic-curves", "pairing"] [dependencies] diff --git a/ec/src/hashing/curve_maps/wb.rs b/ec/src/hashing/curve_maps/wb.rs index 30abf3b77..1826ceba5 100644 --- a/ec/src/hashing/curve_maps/wb.rs +++ b/ec/src/hashing/curve_maps/wb.rs @@ -14,13 +14,13 @@ use super::swu::{SWUConfig, SWUMap}; type BaseField = ::BaseField; /// [`IsogenyMap`] defines an isogeny between curves of -/// form `Phi(x, y) := (a(x), b(x)*y). -/// The `x` coordinate of the codomain point only depends on the -/// `x`-coordinate of the domain point, and the -/// `y`-coordinate of the codomain point is a multiple of the `y`-coordinate of the domain point. -/// The multiplier depends on the `x`-coordinate of the domain point. +/// form `Phi(x, y) := (a(x), b(x)*y)`. +/// The $x$ coordinate of the codomain point only depends on the +/// $x$ coordinate of the domain point, and the +/// $y$ coordinate of the codomain point is a multiple of the $y$ coordinate of the domain point. +/// The multiplier depends on the $x$ coordinate of the domain point. /// All isogeny maps of curves of short Weierstrass form can be written in this way. See -/// [\[Ga18]\]. Theorem 9.7.5 for details. +/// [\[Ga18]\] for details. /// /// We assume that `Domain` and `Codomain` have the same `BaseField` but we use both /// `BaseField` and `BaseField` in our fields' definitions to avoid diff --git a/ff-asm/Cargo.toml b/ff-asm/Cargo.toml index 6fd036e15..14cee54bf 100644 --- a/ff-asm/Cargo.toml +++ b/ff-asm/Cargo.toml @@ -12,7 +12,7 @@ license.workspace = true edition.workspace = true rust-version.workspace = true metadata.docs.rs.workspace = true -metadata.release.workspace = true +package.metadata.release.workspace = true keywords = ["cryptography", "finite-fields", "assembly" ] [dependencies] diff --git a/ff-macros/Cargo.toml b/ff-macros/Cargo.toml index 3e63eb105..2cf69c6b5 100644 --- a/ff-macros/Cargo.toml +++ b/ff-macros/Cargo.toml @@ -12,7 +12,7 @@ license.workspace = true edition.workspace = true rust-version.workspace = true metadata.docs.rs.workspace = true -metadata.release.workspace = true +package.metadata.release.workspace = true keywords = ["cryptography", "finite-fields", "assembly" ] [dependencies] diff --git a/ff/Cargo.toml b/ff/Cargo.toml index 35a5ed767..9fce60fce 100644 --- a/ff/Cargo.toml +++ b/ff/Cargo.toml @@ -13,7 +13,7 @@ license.workspace = true edition.workspace = true rust-version.workspace = true metadata.docs.rs.workspace = true -metadata.release.workspace = true +package.metadata.release.workspace = true [dependencies] ark-ff-asm.workspace = true diff --git a/poly/Cargo.toml b/poly/Cargo.toml index 328baebbc..a0a8d94cb 100644 --- a/poly/Cargo.toml +++ b/poly/Cargo.toml @@ -12,7 +12,7 @@ license.workspace = true edition.workspace = true rust-version.workspace = true metadata.docs.rs.workspace = true -metadata.release.workspace = true +package.metadata.release.workspace = true keywords = ["cryptography", "finite-fields", "fft", "polynomials"] [dependencies] diff --git a/serialize-derive/Cargo.toml b/serialize-derive/Cargo.toml index 256ec4005..579271442 100644 --- a/serialize-derive/Cargo.toml +++ b/serialize-derive/Cargo.toml @@ -12,7 +12,7 @@ license.workspace = true edition.workspace = true rust-version.workspace = true metadata.docs.rs.workspace = true -metadata.release.workspace = true +package.metadata.release.workspace = true keywords = ["cryptography", "finite-fields", "elliptic-curves", "serialization"] ################################# Dependencies ################################ diff --git a/serialize/Cargo.toml b/serialize/Cargo.toml index ed55e0f37..506cfa9ba 100644 --- a/serialize/Cargo.toml +++ b/serialize/Cargo.toml @@ -12,7 +12,7 @@ license.workspace = true edition.workspace = true rust-version.workspace = true metadata.docs.rs.workspace = true -metadata.release.workspace = true +package.metadata.release.workspace = true keywords = ["cryptography", "serialization" ] [dependencies] diff --git a/test-curves/Cargo.toml b/test-curves/Cargo.toml index f36e257ca..79300f65e 100644 --- a/test-curves/Cargo.toml +++ b/test-curves/Cargo.toml @@ -13,7 +13,7 @@ license.workspace = true edition.workspace = true rust-version.workspace = true metadata.docs.rs.workspace = true -metadata.release.workspace = true +package.metadata.release.workspace = true [dependencies] ark-std = { workspace = true, default-features = false } diff --git a/test-templates/Cargo.toml b/test-templates/Cargo.toml index 1dcab3b00..d8cfc9482 100644 --- a/test-templates/Cargo.toml +++ b/test-templates/Cargo.toml @@ -13,7 +13,7 @@ license.workspace = true edition.workspace = true rust-version.workspace = true metadata.docs.rs.workspace = true -metadata.release.workspace = true +package.metadata.release.workspace = true [dependencies] ark-std.workspace = true