Skip to content

Commit

Permalink
Add f64 and quickly check test vectors for a solinas prime.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaker committed Nov 11, 2024
1 parent 2d2c6d6 commit 9870ebd
Show file tree
Hide file tree
Showing 5 changed files with 1,978 additions and 3 deletions.
1 change: 1 addition & 0 deletions nimue-poseidon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ark-bls12-381 = "0.5.0"
[features]
bls12-381 = ["ark-bls12-381"]
bn254 = ["ark-bn254"]
solinas = []

[[example]]
name = "schnorr_algebraic_hash"
Expand Down
1 change: 0 additions & 1 deletion nimue-poseidon/src/bn254.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
poseidon_sponge!(254, PoseidonPermx5_254_3, x5_254_3);
poseidon_sponge!(254, PoseidonPermx5_254_5, x5_254_5);

mod x5_254_3 {
use ark_ff::MontFp;
pub type Field = ark_bn254::Fr;
Expand Down
Loading

0 comments on commit 9870ebd

Please sign in to comment.