Skip to content

Commit

Permalink
Update the crate name in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
skaunov committed Feb 12, 2024
1 parent 1927a83 commit ec4cf20
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions rust-arkworks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ keywords = ["nullifier", "zero-knowledge", "ECDSA", "PLUME"]

[dependencies]
ark-ec = "~0.3.0"
ark-ff = "0.3.0"
ark-std = "0.3.0"
ark-serialize = "0.3.0"
ark-serialize-derive = "0.3.0"
secp256k1 = { git = "https://github.com/geometryresearch/ark-secp256k1.git" }
ark-ff = "~0.3.0"
ark-std = "~0.3.0"
ark-serialize = "~0.3.0"
ark-serialize-derive = "~0.3.0"
secp256k1 = { git = "https://github.com/geometryresearch/ark-secp256k1.git", version = "0.1.0" }
rand_core = { version = "0.6", default-features = false, features = [
"getrandom",
] }
Expand Down
6 changes: 3 additions & 3 deletions rust-k256/tests/verification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use helpers::{gen_test_scalar_sk, test_gen_signals, PlumeVersion};
use k256::elliptic_curve::sec1::ToEncodedPoint;
use plume_crypto::{PlumeSignature, PlumeSignatureV1Fields, ProjectivePoint};
use plume_rustcrypto::{PlumeSignature, PlumeSignatureV1Fields, ProjectivePoint};

const G: ProjectivePoint = ProjectivePoint::GENERATOR;
const M: &[u8; 29] = b"An example app message string";
Expand Down Expand Up @@ -158,7 +158,7 @@ mod helpers {
let pt: ProjectivePoint = Secp256k1::hash_from_bytes::<ExpandMsgXmd<Sha256>>(
&[s],
//b"CURVE_XMD:SHA-256_SSWU_RO_"
&[plume_crypto::DST],
&[plume_rustcrypto::DST],
)
.unwrap();
pt
Expand Down Expand Up @@ -208,7 +208,7 @@ mod helpers {
&pk.to_encoded_point(true).to_bytes().to_vec()
].concat().as_slice()],
//b"CURVE_XMD:SHA-256_SSWU_RO_",
&[plume_crypto::DST],
&[plume_rustcrypto::DST],
)
.unwrap();

Expand Down

0 comments on commit ec4cf20

Please sign in to comment.