-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
poseidon-permutation: rewrite for embedded environments
- Loading branch information
1 parent
a7810be
commit f45ba1a
Showing
10 changed files
with
191 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "poseidon-paramgen" | |
version = "0.4.0" | ||
edition = "2018" | ||
authors = ["Penumbra <[email protected]>", "redshiftzero <[email protected]>"] | ||
description = "A crate for generating Poseidon parameters" | ||
description = "A crate for generating Poseidon parameters for decaf377" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/penumbra-zone/poseidon377" | ||
|
||
|
@@ -20,9 +20,7 @@ rand_core = { version = "0.6.3", default-features = false, features = ["getrando | |
poseidon-parameters = { path = "../poseidon-parameters", default-features = false, version = "1.0" } | ||
|
||
[dev-dependencies] | ||
ark-bn254 = "0.4" | ||
ark-ed-on-bls12-377 = "0.4" | ||
ark-ed-on-bls12-381 = "0.4" | ||
decaf377 = "0.8" | ||
|
||
[features] | ||
default = ["std"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,21 +3,22 @@ name = "poseidon-permutation" | |
version = "1.0.0" | ||
edition = "2018" | ||
authors = ["Penumbra <[email protected]>", "redshiftzero <[email protected]>"] | ||
description = "An instantiation of the Poseidon permutation" | ||
description = "An instantiation of the Poseidon permutation for decaf377" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/penumbra-zone/poseidon377" | ||
|
||
[dependencies] | ||
ark-ff = { version = "0.4", default-features = false } | ||
ark-std = { version = "^0.4.0", default-features = false } | ||
decaf377 = { version="0.8", default-features = false } | ||
ark-ff = { version = "0.4", default-features = false, optional=true } | ||
ark-std = { version = "^0.4.0", default-features = false, optional=true } | ||
ark-r1cs-std = {version = "0.4", default-features = false, optional=true } | ||
ark-relations = { version="0.4", default-features = false, optional=true } | ||
|
||
poseidon-parameters = { path = "../poseidon-parameters", default-features = false, version = "1.0" } | ||
|
||
[features] | ||
default = ["std"] | ||
r1cs = ["ark-r1cs-std", "ark-relations"] | ||
r1cs = ["std", "ark-ff/std", "ark-r1cs-std", "ark-relations", "decaf377/r1cs"] | ||
std = [ | ||
"ark-ff/std", | ||
"ark-std/std", | ||
|
Oops, something went wrong.