This is an automated email from the ASF dual-hosted git repository. sandreoli pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git
commit 9b979fd233f480d0081da80a3942ce1f3a4245f4 Merge: c5f0733 257d3ba Author: samuele-andreoli <[email protected]> AuthorDate: Tue May 19 15:54:22 2020 +0100 Merge pull request #38 from apache/review-ncc Review ncc benchmark/bench_d_schnorr.c | 15 +++- benchmark/bench_factoring_zk.c | 50 ++++++++++- benchmark/bench_schnorr.c | 14 +++- examples/example_d_schnorr.c | 24 ++++-- examples/example_factoring_zk.c | 20 ++++- examples/example_full.c | 112 +++++++++++++++++++------ examples/example_schnorr.c | 12 ++- include/amcl/factoring_zk.h | 42 ++++++++-- include/amcl/schnorr.h | 10 ++- python/amcl/core_utils.py | 2 + python/amcl/factoring_zk.py | 62 ++++++++++---- python/amcl/schnorr.py | 25 ++++-- python/benchmark/bench_schnorr.py | 14 ++-- python/benchmark/bench_zk_factoring.py | 20 +++-- python/examples/example_full.py | 43 ++++++---- python/examples/example_schnorr.py | 24 ++++-- python/examples/example_zk_factoring.py | 16 ++-- python/test/CMakeLists.txt | 2 +- python/test/test_schnorr.py | 11 ++- python/test/test_zk_factoring.py | 50 +++++++---- src/factoring_zk.c | 95 +++++++++++++-------- src/mta.c | 27 +++++- src/schnorr.c | 22 ++++- test/smoke/test_d_schnorr_smoke.c | 12 ++- test/smoke/test_factoring_zk_smoke.c | 37 ++++++++- test/smoke/test_schnorr_smoke.c | 11 ++- test/unit/test_d_schnorr_challenge.c | 28 ++++++- test/unit/test_factoring_zk_prove.c | 30 ++++++- test/unit/test_factoring_zk_verify.c | 49 ++++++++++- test/unit/test_schnorr_challenge.c | 28 ++++++- testVectors/factoring_zk/prove.json | 142 ++++++++++++++++++-------------- testVectors/factoring_zk/prove.txt | 141 +++++++++++++++++-------------- testVectors/factoring_zk/verify.json | 82 +++++++++++------- testVectors/factoring_zk/verify.txt | 81 +++++++++++------- testVectors/schnorr/challenge.json | 80 +++++++++++------- testVectors/schnorr/challenge.txt | 80 +++++++++++------- testVectors/schnorr/dchallenge.json | 100 +++++++++++++--------- testVectors/schnorr/dchallenge.txt | 100 +++++++++++++--------- 38 files changed, 1198 insertions(+), 515 deletions(-)
