This is an automated email from the ASF dual-hosted git repository.
sandreoli pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git.
from 75f2c35 fix typo
add 877350c Add double Schnorr proof
add 7a81940 Add tests for double schnorr proof
add 0fefe8c add benchmakr and examples for double schnorr proof
add 12f3277 Add support for interactive schnorr/double schnorr proofs
add b8f064b Fix schnorr documentation
add 2e53314 Merge pull request #2 from apache/add-dschnorr-proof
add 128002d Update Range Proof to use new API in milagro and prepare for
receiver ZK
add 9a02171 Add receiver zk proof
add 0f0d704 Add tests for receiver ZK proof
add 67b0ab7 Add examples and benchmarks for receiver ZK proof
add 10a191a Add mtawc zkp
add 80de71f Add tests for mtawc zkp
add 1ab4ed2 Add benchmark and example for mtawc zkp
add 536971b Fix warning in build
add 6f0d865 Update reference to milagro-crypto-c
add 02d58f6 Add rc check in mtawc zkp octets test
add 990b4ed Add random challenge generation for interactive ZK proofs
add c44db0c Merge pull request #1 from apache/add-mta-zk-proofs
new f73e9cb Merge pull request #3 from apache/apache
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
Dockerfile | 5 +-
README.md | 1 +
benchmark/{bench_schnorr.c => bench_d_schnorr.c} | 66 +-
benchmark/bench_mta_zk.c | 217 +++++++
benchmark/bench_mta_zkwc.c | 226 +++++++
examples/example_d_schnorr.c | 144 ++++
examples/{example_mta_rp.c => example_mta_zk.c} | 112 +++-
...ample_mta_rp.c => example_mta_zk_interactive.c} | 128 ++--
examples/{example_mta_rp.c => example_mta_zkwc.c} | 134 ++--
...ple_schnorr.c => example_schnorr_interactive.c} | 12 +-
include/amcl/mta.h | 375 ++++++++++-
include/amcl/schnorr.h | 63 +-
src/mta.c | 723 ++++++++++++++++++---
src/schnorr.c | 195 +++++-
test/smoke/test_d_schnorr_smoke.c | 113 ++++
test/smoke/test_mta_rp_smoke.c | 2 +-
..._rp_smoke.c => test_mta_zk_interactive_smoke.c} | 56 +-
.../{test_mta_rp_smoke.c => test_mta_zk_smoke.c} | 56 +-
.../{test_mta_rp_smoke.c => test_mta_zkwc_smoke.c} | 65 +-
...rr_smoke.c => test_schnorr_interactive_smoke.c} | 4 +-
test/test.c | 65 +-
test/test.h | 29 +
test/unit/CMakeLists.txt | 28 +-
...norr_challenge.c => test_d_schnorr_challenge.c} | 13 +-
...st_schnorr_commit.c => test_d_schnorr_commit.c} | 31 +-
...test_schnorr_prove.c => test_d_schnorr_prove.c} | 57 +-
...st_schnorr_verify.c => test_d_schnorr_verify.c} | 44 +-
test/unit/test_mta_rp_octets.c | 33 +-
..._mta_rp_challenge.c => test_mta_zk_challenge.c} | 43 +-
.../{test_mta_rp_commit.c => test_mta_zk_commit.c} | 80 ++-
.../{test_mta_rp_octets.c => test_mta_zk_octets.c} | 97 ++-
.../{test_mta_rp_prove.c => test_mta_zk_prove.c} | 70 +-
.../{test_mta_rp_verify.c => test_mta_zk_verify.c} | 101 ++-
...ta_rp_challenge.c => test_mta_zkwc_challenge.c} | 51 +-
test/unit/test_mta_zkwc_commit.c | 158 +++++
test/unit/test_mta_zkwc_octets.c | 160 +++++
.../{test_mta_rp_prove.c => test_mta_zkwc_prove.c} | 70 +-
...test_mta_rp_verify.c => test_mta_zkwc_verify.c} | 116 ++--
testVectors/mta/mta_challenge.json | 142 ++++
testVectors/mta/mta_challenge.txt | 130 ++++
testVectors/mta/mta_commit.json | 222 +++++++
testVectors/mta/mta_commit.txt | 210 ++++++
testVectors/mta/mta_prove.json | 202 ++++++
testVectors/mta/mta_prove.txt | 190 ++++++
testVectors/mta/mta_verify.json | 222 +++++++
testVectors/mta/mta_verify.txt | 210 ++++++
testVectors/mta/mtawc_challenge.json | 172 +++++
testVectors/mta/mtawc_challenge.txt | 160 +++++
testVectors/mta/mtawc_commit.json | 232 +++++++
testVectors/mta/mtawc_commit.txt | 220 +++++++
testVectors/mta/mtawc_prove.json | 202 ++++++
testVectors/mta/mtawc_prove.txt | 190 ++++++
testVectors/mta/mtawc_verify.json | 242 +++++++
testVectors/mta/mtawc_verify.txt | 230 +++++++
testVectors/schnorr/dchallenge.json | 72 ++
testVectors/schnorr/dchallenge.txt | 60 ++
testVectors/schnorr/dcommit.json | 72 ++
testVectors/schnorr/dcommit.txt | 60 ++
testVectors/schnorr/dprove.json | 102 +++
testVectors/schnorr/dprove.txt | 90 +++
testVectors/schnorr/dverify.json | 92 +++
testVectors/schnorr/dverify.txt | 80 +++
62 files changed, 7090 insertions(+), 657 deletions(-)
copy benchmark/{bench_schnorr.c => bench_d_schnorr.c} (60%)
create mode 100644 benchmark/bench_mta_zk.c
create mode 100644 benchmark/bench_mta_zkwc.c
create mode 100644 examples/example_d_schnorr.c
copy examples/{example_mta_rp.c => example_mta_zk.c} (57%)
copy examples/{example_mta_rp.c => example_mta_zk_interactive.c} (54%)
copy examples/{example_mta_rp.c => example_mta_zkwc.c} (55%)
copy examples/{example_schnorr.c => example_schnorr_interactive.c} (87%)
create mode 100644 test/smoke/test_d_schnorr_smoke.c
copy test/smoke/{test_mta_rp_smoke.c => test_mta_zk_interactive_smoke.c} (57%)
copy test/smoke/{test_mta_rp_smoke.c => test_mta_zk_smoke.c} (57%)
copy test/smoke/{test_mta_rp_smoke.c => test_mta_zkwc_smoke.c} (55%)
copy test/smoke/{test_schnorr_smoke.c => test_schnorr_interactive_smoke.c}
(95%)
copy test/unit/{test_schnorr_challenge.c => test_d_schnorr_challenge.c} (86%)
copy test/unit/{test_schnorr_commit.c => test_d_schnorr_commit.c} (69%)
copy test/unit/{test_schnorr_prove.c => test_d_schnorr_prove.c} (59%)
copy test/unit/{test_schnorr_verify.c => test_d_schnorr_verify.c} (68%)
copy test/unit/{test_mta_rp_challenge.c => test_mta_zk_challenge.c} (70%)
copy test/unit/{test_mta_rp_commit.c => test_mta_zk_commit.c} (52%)
copy test/unit/{test_mta_rp_octets.c => test_mta_zk_octets.c} (54%)
copy test/unit/{test_mta_rp_prove.c => test_mta_zk_prove.c} (60%)
copy test/unit/{test_mta_rp_verify.c => test_mta_zk_verify.c} (56%)
copy test/unit/{test_mta_rp_challenge.c => test_mta_zkwc_challenge.c} (65%)
create mode 100644 test/unit/test_mta_zkwc_commit.c
create mode 100644 test/unit/test_mta_zkwc_octets.c
copy test/unit/{test_mta_rp_prove.c => test_mta_zkwc_prove.c} (57%)
copy test/unit/{test_mta_rp_verify.c => test_mta_zkwc_verify.c} (51%)
create mode 100644 testVectors/mta/mta_challenge.json
create mode 100644 testVectors/mta/mta_challenge.txt
create mode 100644 testVectors/mta/mta_commit.json
create mode 100644 testVectors/mta/mta_commit.txt
create mode 100644 testVectors/mta/mta_prove.json
create mode 100644 testVectors/mta/mta_prove.txt
create mode 100644 testVectors/mta/mta_verify.json
create mode 100644 testVectors/mta/mta_verify.txt
create mode 100644 testVectors/mta/mtawc_challenge.json
create mode 100644 testVectors/mta/mtawc_challenge.txt
create mode 100644 testVectors/mta/mtawc_commit.json
create mode 100644 testVectors/mta/mtawc_commit.txt
create mode 100644 testVectors/mta/mtawc_prove.json
create mode 100644 testVectors/mta/mtawc_prove.txt
create mode 100644 testVectors/mta/mtawc_verify.json
create mode 100644 testVectors/mta/mtawc_verify.txt
create mode 100644 testVectors/schnorr/dchallenge.json
create mode 100644 testVectors/schnorr/dchallenge.txt
create mode 100644 testVectors/schnorr/dcommit.json
create mode 100644 testVectors/schnorr/dcommit.txt
create mode 100644 testVectors/schnorr/dprove.json
create mode 100644 testVectors/schnorr/dprove.txt
create mode 100644 testVectors/schnorr/dverify.json
create mode 100644 testVectors/schnorr/dverify.txt