From 48fdcbeda2c464e565114a572f63438826d0d08c Mon Sep 17 00:00:00 2001 From: Denis Varlakov Date: Thu, 23 May 2024 13:21:29 +0200 Subject: [PATCH] Update `generic-ec` dep to v0.3 --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a0aba02..8770094 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -344,10 +344,11 @@ dependencies = [ [[package]] name = "generic-ec" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f315ffeaae6a05691c5a27028b4ae960d3a430e406d0109ff8502e2f84ae97b" +checksum = "5c35601473af37794b53e8c7dc4a540a659d8de54c957990e88715b4037597d1" dependencies = [ + "curve25519-dalek", "generic-ec-core", "generic-ec-curves", "hex", @@ -361,9 +362,9 @@ dependencies = [ [[package]] name = "generic-ec-core" -version = "0.1.3" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22cab102fc88bfc017c16e69d21edae6f41ab58bfe69eed09ed0a2cf10ec923f" +checksum = "f156564cc8aa47456da807826b1a0aa9cf420474d9f41593ffbdde65133d4bea" dependencies = [ "generic-array", "rand_core", @@ -374,11 +375,10 @@ dependencies = [ [[package]] name = "generic-ec-curves" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a133d38cde4fef7aea4e367ca51f291db0248495a424ec4208cdace08ba59f4" +checksum = "b5926949b758d01801c7edd75357495fe54c5fc25580a193de4c994c94d22307" dependencies = [ - "crypto-bigint", "curve25519-dalek", "elliptic-curve", "generic-ec-core", @@ -517,7 +517,7 @@ dependencies = [ [[package]] name = "paillier-zk" -version = "0.1.0" +version = "0.2.0" dependencies = [ "anyhow", "digest", diff --git a/Cargo.toml b/Cargo.toml index 111310a..8917905 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["paillier", "zk-proofs", "zero-knowledge"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -generic-ec = "0.2" +generic-ec = "0.3" rand_core = { version = "0.6", default-features = false } digest = "0.10" fast-paillier = "0.1" @@ -23,7 +23,7 @@ serde = { version = "1", features = ["derive"], optional = true } serde_with = { version = "3", default-features = false, features = ["macros"], optional = true } [dev-dependencies] -generic-ec = { version = "0.2", features = ["all-curves"] } +generic-ec = { version = "0.3", features = ["all-curves"] } rand_dev = { version = "0.1.0", default-features = false } sha2 = { version = "0.10", default-features = false }