diff --git a/rust-arkworks/Cargo.toml b/rust-arkworks/Cargo.toml index 5772dce..1dc7a90 100644 --- a/rust-arkworks/Cargo.toml +++ b/rust-arkworks/Cargo.toml @@ -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", ] } diff --git a/rust-k256/tests/verification.rs b/rust-k256/tests/verification.rs index 3ba177b..6b7d1e0 100644 --- a/rust-k256/tests/verification.rs +++ b/rust-k256/tests/verification.rs @@ -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"; @@ -158,7 +158,7 @@ mod helpers { let pt: ProjectivePoint = Secp256k1::hash_from_bytes::>( &[s], //b"CURVE_XMD:SHA-256_SSWU_RO_" - &[plume_crypto::DST], + &[plume_rustcrypto::DST], ) .unwrap(); pt @@ -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();