Skip to content

Commit f8d0ea4

Browse files
authored
add unbounded anonymous_ciphertext_voting (#59)
* add unbounded anonymous_ciphertext_voting * add java ffi for acv * supplement test for anonymous_ciphertext_voting
1 parent fe3fff6 commit f8d0ea4

File tree

21 files changed

+5079
-346
lines changed

21 files changed

+5079
-346
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[workspace]
2-
32
members = [
43
"bounty",
54
"ffi/ffi_c/ffi_c_ktb",
@@ -8,6 +7,7 @@ members = [
87
"ffi/ffi_java/ffi_java_ktb",
98
"ffi/ffi_java/ffi_java_scd",
109
"ffi/ffi_java/ffi_java_vcl",
10+
"ffi/ffi_java/ffi_java_acv",
1111
"protos",
1212
"solution/key_tool_box/hierarchical_deterministic_key",
1313
"solution/selective_certificate_disclosure",

ffi/ffi_java/ffi_java_acv/Cargo.toml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[package]
2+
name = "ffi_java_acv"
3+
version = "1.5.0"
4+
edition = "2018"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[lib]
9+
name = "ffi_java_acv"
10+
crate-type = [ "cdylib", "staticlib" ]
11+
12+
[dependencies]
13+
jni = "0.13.0"
14+
protobuf = "2.22.1"
15+
wedpr_ffi_common = "1.1.0"
16+
wedpr_ffi_macros = "1.1.0"
17+
18+
wedpr_l_crypto_zkp_utils = {version = "1.3.0", git = "https://github.com/WeBankBlockchain/WeDPR-Lab-Crypto", branch = "dev-1.3.0"}
19+
wedpr_s_protos = { path = "../../../protos" }
20+
wedpr_s_anonymous_ciphertext_voting = { path = "../../../solution/anonymous_ciphertext_voting" }
21+
22+
# This is required to generate C/C++ header files.
23+
[build-dependencies]
24+
cbindgen = "0.9.0"
25+
26+
[target.'cfg(target_os = "android")'.dependencies]
27+
jni = { version = "0.13.1", default-features = false }

0 commit comments

Comments
 (0)