Skip to content

Commit

Permalink
Bump ark versions; add bls12_381 and bn254 to nimue-poseidon.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaker committed Nov 10, 2024
1 parent 879831b commit fd4421f
Show file tree
Hide file tree
Showing 9 changed files with 1,932 additions and 275 deletions.
4 changes: 2 additions & 2 deletions nimue-anemoi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ edition = "2021"
license = "MIT/Apache-2.0"

[dependencies]
ark-ff = "^0.4.2"
ark-ff = "^0.5"
nimue = { path = "../nimue", features = ["ark"] }
zeroize = "1.8.1"
anemoi = {git = "https://github.com/mmaker/anemoi", features=["bls12_381"]}
ark-bls12-381 = "^0.4.0"
ark-bls12-381 = "^0.5"
arrayvec = "0.7.6"
11 changes: 8 additions & 3 deletions nimue-poseidon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ license = "MIT/Apache-2.0"

[dependencies]
nimue = { path = "../nimue", features = ["ark"]}
ark-ff = "^0.4.2"
ark-ff = "0.5.0"
zeroize = "1.8.1"
ark-bls12-381 = "^0.4.0"
ark-bls12-381 = {version = "^0.5", optional = true}
ark-bn254 = {version = "^0.5", optional = true}

[dev-dependencies]
ark-bls12-381 = "^0.4.0"
ark-bls12-381 = "0.5.0"

[features]
bls12-381 = ["ark-bls12-381"]
bn254 = ["ark-bn254"]

[[example]]
name = "schnorr_algebraic_hash"
Expand Down
890 changes: 890 additions & 0 deletions nimue-poseidon/src/bls12_381.rs

Large diffs are not rendered by default.

215 changes: 0 additions & 215 deletions nimue-poseidon/src/bls12_381/fr_3_2.rs

This file was deleted.

3 changes: 0 additions & 3 deletions nimue-poseidon/src/bls12_381/mod.rs

This file was deleted.

Loading

0 comments on commit fd4421f

Please sign in to comment.