Skip to content

Commit

Permalink
publish crypto 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoXuan40404 committed Mar 30, 2021
1 parent 97c0263 commit e0e146d
Show file tree
Hide file tree
Showing 27 changed files with 70 additions and 70 deletions.
4 changes: 2 additions & 2 deletions common/coder/base64/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_common_coder_base64"
version = "1.0.0"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -11,4 +11,4 @@ description = "Library of WeDPR base64."
[dependencies]
base64 = "0.13.0"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils/" }
wedpr_l_utils = "1.1.0"
4 changes: 2 additions & 2 deletions common/coder/hex/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_common_coder_hex"
version = "1.0.0"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -11,4 +11,4 @@ description = "Library of WeDPR hex."
[dependencies]
hex = "0.4.2"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils/" }
wedpr_l_utils = "1.1.0"
2 changes: 1 addition & 1 deletion common/utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_utils"
version = "1.0.0"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crypto/block_cipher/aes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ aes = "0.6.0"
block-modes = "0.7.0"
rand = "0.8.3"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
2 changes: 1 addition & 1 deletion crypto/block_cipher/sm4/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ block-modes = "0.7.0"
rand = "0.8.3"
sm4 = "0.3.0"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
4 changes: 2 additions & 2 deletions crypto/ecies/secp256k1/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_crypto_ecies_secp256k1"
version = "1.0.0"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -11,4 +11,4 @@ description = "Library of WeDPR shared ecies."
[dependencies]
ecies = "0.1.4"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
2 changes: 1 addition & 1 deletion crypto/hash/blake2b/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ description = "Library of WeDPR shared Hash Function implement by blake2."
[dependencies]
blake2 = "0.9.1"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
4 changes: 2 additions & 2 deletions crypto/hash/keccak256/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_crypto_hash_keccak256"
version = "1.0.0"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -11,4 +11,4 @@ description = "Library of WeDPR shared Hash Function implement by keccak256."
[dependencies]
sha3 = "0.8"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
2 changes: 1 addition & 1 deletion crypto/hash/ripemd160/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ description = "Library of WeDPR shared Hash Function implement by blake2."
[dependencies]
ripemd160 = "0.9.1"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = {path = "../../../common/utils"}
wedpr_l_utils = "1.1.0"
2 changes: 1 addition & 1 deletion crypto/hash/sha3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ description = "Library of WeDPR shared Hash Function implement by sha3."
[dependencies]
sha3 = "0.8"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
4 changes: 2 additions & 2 deletions crypto/hash/sm3/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_crypto_hash_sm3"
version = "1.0.0"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -11,4 +11,4 @@ description = "Library of WeDPR shared Hash Function implement by sm3."
[dependencies]
wedpr_l_libsm = "0.3.1"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
4 changes: 2 additions & 2 deletions crypto/signature/ed25519/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_crypto_signature_ed25519"
version = "1.0.1"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -14,4 +14,4 @@ lazy_static = "1.4.0"
rand = "0.7"

wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
4 changes: 2 additions & 2 deletions crypto/signature/secp256k1/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_crypto_signature_secp256k1"
version = "1.0.1"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -13,4 +13,4 @@ lazy_static = "1.4.0"
rand = "0.6"
secp256k1 = { version = "0.19.0", features = [ "recovery", "rand" ] }
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
6 changes: 3 additions & 3 deletions crypto/signature/sm2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_crypto_signature_sm2"
version = "1.0.1"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -10,6 +10,6 @@ description = "Library of WeDPR shared Siganture Function implement by sm2."

[dependencies]
lazy_static = "1.4.0"
wedpr_l_libsm = { git = "https://github.com.cnpmjs.org/WeDPR-Team/libsm" }
wedpr_l_libsm = "0.3.2"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
8 changes: 4 additions & 4 deletions crypto/vrf/curve25519/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_crypto_vrf_curve25519"
version = "1.0.0"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -12,7 +12,7 @@ description = "Library of WeDPR shared VRF Function implement by curve25519."
curve25519-dalek = { version = "1", features = [ "serde" ] }
rand = "0.6"
sha3 = "0.8.2"
wedpr_l_crypto_hash_keccak256 = { path = "../../hash/keccak256" }
wedpr_l_crypto_zkp_utils = { path = "../../zkp/utils" }
wedpr_l_crypto_hash_keccak256 = "1.1.0"
wedpr_l_crypto_zkp_utils = "1.1.0"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
8 changes: 4 additions & 4 deletions crypto/zkp/discrete_logarithm_proof/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_crypto_zkp_discrete_logarithm_proof"
version = "1.0.0"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -10,7 +10,7 @@ description = "Library of WeDPR shared zkp Function implement discrete logarithm

[dependencies]
curve25519-dalek = { version = "1", features = [ "serde" ] }
wedpr_l_crypto_zkp_utils = { path = "../utils" }
wedpr_l_crypto_zkp_utils = "1.1.0"
wedpr_l_macros = "1.0.0"
wedpr_l_protos = { path = "../../../protos" }
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_protos = "1.1.0"
wedpr_l_utils = "1.1.0"
6 changes: 3 additions & 3 deletions crypto/zkp/range_proof/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_crypto_zkp_range_proof"
version = "1.0.0"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -12,6 +12,6 @@ description = "Library of WeDPR shared zkp Function implement range proof."
bulletproofs = "1.0.4"
curve25519-dalek = { version = "1", features = [ "serde" ] }
merlin = "1"
wedpr_l_crypto_zkp_utils = "1.0.0"
wedpr_l_crypto_zkp_utils = "1.1.0"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
6 changes: 3 additions & 3 deletions crypto/zkp/utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_crypto_zkp_utils"
version = "1.0.0"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -13,6 +13,6 @@ curve25519-dalek = { version = "1", features = [ "serde" ] }
lazy_static = "1.4.0"
rand = "0.6"
sha3 = "0.8.0"
wedpr_l_crypto_hash_keccak256 = { path = "../../hash/keccak256" }
wedpr_l_crypto_hash_keccak256 = "1.1.0"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
8 changes: 4 additions & 4 deletions ffi/ffi_c/ffi_c_crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ lazy_static = "1.4.0"
libc = "0.2.60"
protobuf = "2.22.1"
wedpr_ffi_c_common = "1.0.0"
wedpr_ffi_common_base64 = { package = "wedpr_ffi_common", version = "1.0.0", features = [ "wedpr_f_base64" ], default-features = false, optional = true }
wedpr_ffi_common_hex = { package = "wedpr_ffi_common", version = "1.0.0", features = [ "wedpr_f_hex" ], default-features = false, optional = true }
wedpr_ffi_macros = "1.0.0"
wedpr_ffi_common_base64 = { package = "wedpr_ffi_common", version = "1.1.0", features = [ "wedpr_f_base64" ], default-features = false, optional = true }
wedpr_ffi_common_hex = { package = "wedpr_ffi_common", version = "1.1.0", features = [ "wedpr_f_hex" ], default-features = false, optional = true }
wedpr_ffi_macros = "1.1.0"
wedpr_l_crypto_block_cipher_aes = { path = "../../../crypto/block_cipher/aes", optional = true }
wedpr_l_crypto_block_cipher_sm4 = { path = "../../../crypto/block_cipher/sm4", optional = true }
wedpr_l_crypto_ecies_secp256k1 = { path = "../../../crypto/ecies/secp256k1", optional = true }
Expand All @@ -48,7 +48,7 @@ wedpr_l_crypto_signature_sm2 = { path = "../../../crypto/signature/sm2", optiona
wedpr_l_crypto_vrf_curve25519 = { path = "../../../crypto/vrf/curve25519", optional = true }
wedpr_l_macros = "1.0.0"
wedpr_l_protos = { path = "../../../protos" }
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
# This is required to generate C/C++ header files.
[build-dependencies]
cbindgen = "0.9.0"
6 changes: 3 additions & 3 deletions ffi/ffi_c/ffi_c_crypto_binary/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ lazy_static = "1.4.0"
libc = "0.2.60"
protobuf = "2.22.1"
wedpr_ffi_c_common = "1.0.0"
wedpr_ffi_common = { path = "../../ffi_common/" }
wedpr_ffi_macros = { path = "../../ffi_macros/" }
wedpr_ffi_common = "1.1.0"
wedpr_ffi_macros = "1.1.0"
wedpr_l_crypto_block_cipher_aes = { path = "../../../crypto/block_cipher/aes", optional = true }
wedpr_l_crypto_block_cipher_sm4 = { path = "../../../crypto/block_cipher/sm4", optional = true }
wedpr_l_crypto_ecies_secp256k1 = { path = "../../../crypto/ecies/secp256k1", optional = true }
Expand All @@ -45,7 +45,7 @@ wedpr_l_crypto_signature_sm2 = { path = "../../../crypto/signature/sm2", optiona
wedpr_l_crypto_vrf_curve25519 = { path = "../../../crypto/vrf/curve25519", optional = true }
wedpr_l_macros = "1.0.0"
wedpr_l_protos = { path = "../../../protos" }
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
# This is required to generate C/C++ header files.
[build-dependencies]
cbindgen = "0.9.0"
6 changes: 3 additions & 3 deletions ffi/ffi_c/ffi_c_fisco_bcos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ crate-type = [ "cdylib", "staticlib" ]
[dependencies]
libc = "0.2.60"
wedpr_ffi_c_common = "1.0.0"
wedpr_ffi_common = { path = "../../ffi_common/" }
wedpr_ffi_macros = { path = "../../ffi_macros/" }
wedpr_ffi_common = "1.1.0"
wedpr_ffi_macros = "1.1.0"
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"
wedpr_third_party_fisco_bcos = { path = "../../../third_party/fisco_bcos/" }
10 changes: 5 additions & 5 deletions ffi/ffi_common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_ffi_common"
version = "1.0.0"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -18,8 +18,8 @@ jni = "0.13.0"
lazy_static = "1.4.0"

libc = "0.2.60"
wedpr_ffi_macros = { git = "https://github.com.cnpmjs.org/WeBankBlockchain/WeDPR-Lab-Crypto.git", branch = "v1.1.0" }
wedpr_l_common_coder_base64 = { path = "../../common/coder/base64", optional = true }
wedpr_l_common_coder_hex = { path = "../../common/coder/hex", optional = true }
wedpr_ffi_macros = "1.1.0"
wedpr_l_common_coder_base64 = { version = "1.1.0", optional = true }
wedpr_l_common_coder_hex = { version = "1.1.0", optional = true }
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../common/utils" }
wedpr_l_utils = "1.1.0"
24 changes: 12 additions & 12 deletions ffi/ffi_java/ffi_java_crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,24 @@ crate-type = [ "cdylib", "staticlib" ]
[dependencies]
jni = "0.13.0"
lazy_static = "1.4.0"
wedpr_ffi_common_base64 = { package = "wedpr_ffi_common", version = "1.0.0", features = [ "wedpr_f_base64" ], default-features = false, optional = true }
wedpr_ffi_common_hex = { package = "wedpr_ffi_common", version = "1.0.0", features = [ "wedpr_f_hex" ], default-features = false, optional = true }
wedpr_ffi_macros = "1.0.0"
wedpr_l_crypto_block_cipher_aes = { path = "../../../crypto/block_cipher/aes", optional = true }
wedpr_l_crypto_block_cipher_sm4 = { path = "../../../crypto/block_cipher/sm4", optional = true }
wedpr_ffi_common_base64 = { package = "wedpr_ffi_common", version = "1.1.0", features = [ "wedpr_f_base64" ], default-features = false, optional = true }
wedpr_ffi_common_hex = { package = "wedpr_ffi_common", version = "1.1.0", features = [ "wedpr_f_hex" ], default-features = false, optional = true }
wedpr_ffi_macros = "1.1.0"
wedpr_l_crypto_block_cipher_aes = { version = "1.0.0", optional = true }
wedpr_l_crypto_block_cipher_sm4 = { version = "1.0.0", optional = true }

wedpr_l_crypto_ecies_secp256k1 = { path = "../../../crypto/ecies/secp256k1", optional = true }
wedpr_l_crypto_hash_blake2b = { path = "../../../crypto/hash/blake2b", optional = true }
wedpr_l_crypto_hash_keccak256 = { path = "../../../crypto/hash/keccak256", optional = true }
wedpr_l_crypto_hash_ripemd160 = { path = "../../../crypto/hash/ripemd160", optional = true }
wedpr_l_crypto_hash_sha3 = { path = "../../../crypto/hash/sha3", optional = true }
wedpr_l_crypto_hash_sm3 = { path = "../../../crypto/hash/sm3", optional = true }
wedpr_l_crypto_ecies_secp256k1 = { version = "1.1.0", optional = true }
wedpr_l_crypto_hash_blake2b = { version = "1.0.0", optional = true }
wedpr_l_crypto_hash_keccak256 = { version = "1.1.0", optional = true }
wedpr_l_crypto_hash_ripemd160 = { version = "1.0.0", optional = true }
wedpr_l_crypto_hash_sha3 = { version = "1.0.0", optional = true }
wedpr_l_crypto_hash_sm3 = { version = "1.0.0", optional = true }
wedpr_l_crypto_signature_ed25519 = { path = "../../../crypto/signature/ed25519", optional = true }
wedpr_l_crypto_signature_secp256k1 = { path = "../../../crypto/signature/secp256k1", optional = true }
wedpr_l_crypto_signature_sm2 = { path = "../../../crypto/signature/sm2", optional = true }
wedpr_l_crypto_vrf_curve25519 = { path = "../../../crypto/vrf/curve25519", optional = true }
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"

[target.'cfg(target_os = "android")'.dependencies]
jni = { version = "0.13.1", default-features = false }
Expand Down
6 changes: 3 additions & 3 deletions ffi/ffi_java/ffi_java_crypto_binary/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ crate-type = [ "cdylib", "staticlib" ]
[dependencies]
jni = "0.13.0"
lazy_static = "1.4.0"
wedpr_ffi_common = { path = "../../ffi_common" }
wedpr_ffi_macros = { path = "../../ffi_macros" }
wedpr_ffi_common = "1.1.0"
wedpr_ffi_macros = "1.1.0"
wedpr_l_crypto_block_cipher_aes = { path = "../../../crypto/block_cipher/aes", optional = true }
wedpr_l_crypto_block_cipher_sm4 = { path = "../../../crypto/block_cipher/sm4", optional = true }

Expand All @@ -43,7 +43,7 @@ wedpr_l_crypto_signature_secp256k1 = { path = "../../../crypto/signature/secp256
wedpr_l_crypto_signature_sm2 = { path = "../../../crypto/signature/sm2", optional = true }
wedpr_l_crypto_vrf_curve25519 = { path = "../../../crypto/vrf/curve25519", optional = true }
wedpr_l_macros = "1.0.0"
wedpr_l_utils = { path = "../../../common/utils" }
wedpr_l_utils = "1.1.0"

[target.'cfg(target_os = "android")'.dependencies]
jni = { version = "0.13.1", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion ffi/ffi_macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_ffi_macros"
version = "1.0.0"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion protos/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wedpr_l_protos"
version = "1.0.0"
version = "1.1.0"
authors = [ "WeDPR <[email protected]>" ]
edition = "2018"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion third_party/fisco_bcos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ etcommon-bigint = "0.2"
sputnikvm = "0.10.1"

sputnikvm-precompiled-bn128 = "0.10.1"
wedpr_l_utils = { path = "../../common/utils" }
wedpr_l_utils = "1.1.0"

[dev-dependencies]
hex = "0.4"

0 comments on commit e0e146d

Please sign in to comment.