Skip to content

Commit

Permalink
fix for new curv
Browse files Browse the repository at this point in the history
  • Loading branch information
omershlo committed Mar 4, 2019
1 parent ca1fefc commit b22e803
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gotham-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ git = "https://github.com/KZen-networks/multi-party-ecdsa"

[dependencies.curv]
git = "https://github.com/KZen-networks/curv"
features = ["curvesecp256k1"]
features = ["ec_secp256k1"]

[patch.crates-io]
rust-gmp = { version = "0.5.0", features = ["serde_support"], git = "https://github.com/KZen-networks/rust-gmp" }
Expand Down
2 changes: 1 addition & 1 deletion gotham-client/src/ecdsa/keygen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use reqwest;
use serde_json;
use time::PreciseTime;

use curv::cryptographic_primitives::twoparty::dh_key_exchange::*;
use curv::cryptographic_primitives::twoparty::dh_key_exchange_variant_with_pok_comm::*;
use kms::chain_code::two_party as chain_code;
use kms::ecdsa::two_party::*;
use multi_party_ecdsa::protocols::two_party_ecdsa::lindell_2017::*;
Expand Down
2 changes: 1 addition & 1 deletion gotham-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ git = "https://github.com/KZen-networks/multi-party-ecdsa"

[dependencies.curv]
git = "https://github.com/KZen-networks/curv"
features = ["curvesecp256k1"]
features = ["ec_secp256k1"]

[patch.crates-io]
rust-gmp = { version = "0.5.0", features = ["serde_support"], git = "https://github.com/KZen-networks/rust-gmp" }
4 changes: 2 additions & 2 deletions gotham-server/src/routes/ecdsa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
// version 3 of the License, or (at your option) any later version.
//

use curv::cryptographic_primitives::proofs::dlog_zk_protocol::*;
use curv::cryptographic_primitives::proofs::sigma_dlog::*;
use curv::cryptographic_primitives::twoparty::coin_flip_optimal_rounds;
use curv::cryptographic_primitives::twoparty::dh_key_exchange::*;
use curv::cryptographic_primitives::twoparty::dh_key_exchange_variant_with_pok_comm::*;
use curv::{BigInt, GE};
use kms::chain_code::two_party as chain_code;
use kms::ecdsa::two_party::*;
Expand Down

0 comments on commit b22e803

Please sign in to comment.