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 c5f0733 Merge pull request #37 from apache/review-mike
add c6d3d5a Add bounds check in factoring nizkp verify
add 4682b29 Justify random generation in mta
add 9fbae7b Add ID and additional data from RFC8235
add 58b2fd1 Add tests and test vectors
add 1fa363b Add benchmark and examples
add 739cfe6 update python wrappers
add 257d3ba Fix sonar report
new 9b979fd Merge pull request #38 from apache/review-ncc
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:
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(-)