You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@milagro.apache.org by km...@apache.org on 2020/03/04 11:21:21 UTC

[incubator-milagro-MPC] branch master updated (75f2c35 -> bbf62d7)

This is an automated email from the ASF dual-hosted git repository.

kmccusker pushed a change to branch master
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
     add f73e9cb  Merge pull request #3 from apache/apache
     add a643ae5  Add phase 5 API
     add ebad52d  Add phase 5 tests and test vectors
     add 72c37ec  Add phase 5 benchmark and example
     add be7fb85  Merge pull request #4 from apache/add-phase5-api
     add ba6a54d  review commitments code
     add eebc718  review factoring zkp
     add bf499d6  review mta and mpc code
     add e009325  use compressed form for ECP
     add 0292209  Use CT functions and clean memory in mta ZK proofs
     add d357b06  fix zk verify
     add 1af19ab  remove model file
     add 119e11c  Merge pull request #5 from apache/review
     add 2491d34  reduce keys storage
     add 5505b38  Merge pull request #12 from apache/issue10
     add 9f406a3  add coveralls
     add 0219c3f  Merge pull request #13 from apache/issue11
     add 3b0fe54  Expose ECP R value for Phase5 flow
     add 00e8316  amend gitignore after removign model
     add 476d954  format code
     add 2ad9b19  Add example for full flow
     add 7a19a8f  Merge branch 'develop' into add-full-example
     add e26c94a  Merge pull request #6 from apache/add-full-example
     add 743bbb4  Add wrapper for Schnorr Proof
     add 30602c6  First cleanup and move src into module
     add 25e1117  Refactor tests
     add 92df5e8  Refactor examples
     add 33ea100  Refactor benchmarks
     add 942c67b  remove copied .so files to python dir
     add 07c2bc5  Factor out core amcl utils and reuse the same ffi instance
     add cc38357  unexport ffi variables
     add d6ba378  make tests run in parallel
     add 74caf6d  Point to amcl develop in build
     add c506fc6  Merge branch 'issue7-schnorr-python-wrapper' of github.com:apache/incubator-milagro-MPC into issue7-schnorr-python-wrapper
     add 7d3416a  make amcl tests run in parallel
     add 62b9eaf  Merge pull request #15 from apache/issue7-schnorr-python-wrapper
     add 33e0128  Add NM commit wrappers with test, benchmark and example
     add 7553c2d  format code
     add 3e5e138  use same ffi instance in commitments
     add b591d66  Merge pull request #16 from apache/issue8-nm-commit-wrapper
     add c1e9389  use octets in factoring zk API
     add b070e9e  Add zk factoring wrapper, test, benchmark and example
     add cdd2972  Merge pull request #17 from apache/issue9-factoring-zkp-wrapper
     add 5698837  add BLS Python wrapper
     add beceada  add correct permissions for python installation
     add 0005cba  use absolute paths in Python examples
     add 6adaa7c  Merge pull request #20 from apache/issue19
     add f599311  add static code analysis
     add 83cccc4  change org for sonar
     add 73efc2c  update README
     add 1d4de99  Merge pull request #23 from apache/issue21
     new bbf62d7  Merge pull request #26 from apache/develop

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:
 .dockerignore                                      |    8 +-
 .gitignore                                         |   19 +-
 .travis.yml                                        |   56 +-
 Dockerfile                                         |   24 +-
 README.md                                          |    8 +-
 benchmark/bench.h                                  |    2 +-
 benchmark/{bench_schnorr.c => bench_d_schnorr.c}   |   66 +-
 benchmark/bench_factoring_zk.c                     |   14 +-
 benchmark/bench_mta_zk.c                           |  217 +++
 benchmark/bench_mta_zkwc.c                         |  226 +++
 benchmark/bench_nm_commit.c                        |    2 +-
 benchmark/bench_phase5.c                           |  197 +++
 examples/example_d_schnorr.c                       |  144 ++
 examples/example_dump_keys.c                       |   40 +-
 examples/example_ecdsa.c                           |   68 +-
 examples/example_factoring_zk.c                    |   17 +-
 examples/example_full.c                            | 1653 ++++++++++++++++++++
 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 +-
 examples/example_nm_commit.c                       |   12 +-
 examples/example_phase5.c                          |  208 +++
 examples/example_r.c                               |   10 +-
 ...ple_schnorr.c => example_schnorr_interactive.c} |   12 +-
 include/amcl/commitments.h                         |    7 +-
 include/amcl/factoring_zk.h                        |   28 +-
 include/amcl/mpc.h                                 |  116 +-
 include/amcl/mta.h                                 |  379 ++++-
 include/amcl/schnorr.h                             |   69 +-
 python/CMakeLists.txt                              |   35 +-
 python/README.md                                   |   45 +-
 python/amcl/CMakeLists.txt                         |   27 +
 python/amcl/__init__.py                            |    0
 python/amcl/bls.py                                 |  234 +++
 python/amcl/commitments.py                         |  115 ++
 python/amcl/core_utils.py                          |  179 +++
 python/amcl/factoring_zk.py                        |  120 ++
 python/amcl/mpc.py                                 |  621 ++++++++
 python/amcl/schnorr.py                             |  218 +++
 python/amcl_mpc.py                                 |  850 ----------
 python/bench_mpc.py                                |  105 --
 python/benchmark/CMakeLists.txt                    |   17 +
 python/benchmark/bench.py                          |   62 +
 python/benchmark/bench_mta.py                      |   76 +
 python/benchmark/bench_nm_commit.py                |   47 +
 python/benchmark/bench_schnorr.py                  |   57 +
 python/benchmark/bench_zk_factoring.py             |   49 +
 python/example_ecdsa.py                            |  142 --
 python/examples/CMakeLists.txt                     |   17 +
 python/examples/example_bls.py                     |  150 ++
 python/{ => examples}/example_dump_keys.py         |   81 +-
 python/examples/example_ecdsa.py                   |  126 ++
 python/{ => examples}/example_mta.py               |   84 +-
 python/examples/example_nm_commit.py               |   54 +
 python/{ => examples}/example_r.py                 |  111 +-
 python/{ => examples}/example_s.py                 |  118 +-
 python/examples/example_schnorr.py                 |   79 +
 python/examples/example_zk_factoring.py            |   63 +
 python/test/CMakeLists.txt                         |   64 +
 python/test/test_ecdsa.py                          |  128 ++
 python/{ => test}/test_mta.py                      |   50 +-
 python/test/test_nm_commit.py                      |   90 ++
 python/test/test_r.py                              |   93 ++
 python/test/test_s.py                              |  100 ++
 python/test/test_schnorr.py                        |  149 ++
 python/test/test_zk_factoring.py                   |  103 ++
 python/test_ecdsa.py                               |  149 --
 python/test_r.py                                   |   87 --
 python/test_s.py                                   |   98 --
 scripts/build.sh                                   |    2 +-
 scripts/buildAMCL.sh                               |    4 +-
 scripts/test.sh                                    |    2 +-
 sonar-project.properties                           |   24 +
 src/CMakeLists.txt                                 |    7 +-
 src/commitments.c                                  |   34 +-
 src/factoring_zk.c                                 |   70 +-
 src/mpc.c                                          |  378 +++--
 src/mta.c                                          |  922 +++++++++--
 src/schnorr.c                                      |  209 ++-
 test/smoke/test_d_schnorr_smoke.c                  |  113 ++
 test/smoke/test_dump_keys_smoke.c                  |   59 +-
 test/smoke/test_ecdsa_smoke.c                      |   76 +-
 test/smoke/test_factoring_zk_smoke.c               |   29 +-
 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 +-
 test/smoke/test_nm_commit_smoke.c                  |    2 +-
 test/smoke/test_phase5_smoke.c                     |  149 ++
 test/smoke/test_r_smoke.c                          |    2 +-
 ...rr_smoke.c => test_schnorr_interactive_smoke.c} |    4 +-
 test/test.c                                        |   73 +-
 test/test.h                                        |   29 +
 test/unit/CMakeLists.txt                           |   37 +-
 ...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_factoring_zk_prove.c                |   19 +-
 test/unit/test_factoring_zk_verify.c               |    6 +-
 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 +-
 test/unit/test_nm_commit.c                         |   10 +-
 .../{test_nm_commit.c => test_phase5_commit.c}     |   88 +-
 test/unit/test_phase5_prove.c                      |  200 +++
 test/unit/test_phase5_verify.c                     |  160 ++
 test/unit/test_r.c                                 |    6 +-
 testVectors/commitments/nm_commit.json             |   62 +
 testVectors/mpc/R.json                             |    2 +-
 testVectors/mpc/R.txt                              |  540 +++----
 testVectors/mpc/phase5_commit.json                 |   92 ++
 testVectors/mpc/phase5_commit.txt                  |   80 +
 testVectors/mpc/phase5_prove.json                  |  142 ++
 testVectors/mpc/phase5_prove.txt                   |  130 ++
 testVectors/mpc/phase5_verify.json                 |   72 +
 testVectors/mpc/phase5_verify.txt                  |   60 +
 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 +
 vagrant/README.md                                  |    2 +-
 vagrant/bootstrap.sh                               |   29 +-
 151 files changed, 14722 insertions(+), 3279 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 benchmark/bench_phase5.c
 create mode 100644 examples/example_d_schnorr.c
 create mode 100644 examples/example_full.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%)
 create mode 100644 examples/example_phase5.c
 copy examples/{example_schnorr.c => example_schnorr_interactive.c} (87%)
 create mode 100644 python/amcl/CMakeLists.txt
 create mode 100644 python/amcl/__init__.py
 create mode 100755 python/amcl/bls.py
 create mode 100644 python/amcl/commitments.py
 create mode 100644 python/amcl/core_utils.py
 create mode 100644 python/amcl/factoring_zk.py
 create mode 100644 python/amcl/mpc.py
 create mode 100644 python/amcl/schnorr.py
 delete mode 100755 python/amcl_mpc.py
 delete mode 100755 python/bench_mpc.py
 create mode 100644 python/benchmark/CMakeLists.txt
 create mode 100644 python/benchmark/bench.py
 create mode 100755 python/benchmark/bench_mta.py
 create mode 100755 python/benchmark/bench_nm_commit.py
 create mode 100755 python/benchmark/bench_schnorr.py
 create mode 100755 python/benchmark/bench_zk_factoring.py
 delete mode 100755 python/example_ecdsa.py
 create mode 100644 python/examples/CMakeLists.txt
 create mode 100755 python/examples/example_bls.py
 rename python/{ => examples}/example_dump_keys.py (77%)
 create mode 100755 python/examples/example_ecdsa.py
 rename python/{ => examples}/example_mta.py (81%)
 create mode 100755 python/examples/example_nm_commit.py
 rename python/{ => examples}/example_r.py (89%)
 rename python/{ => examples}/example_s.py (89%)
 create mode 100755 python/examples/example_schnorr.py
 create mode 100755 python/examples/example_zk_factoring.py
 create mode 100644 python/test/CMakeLists.txt
 create mode 100755 python/test/test_ecdsa.py
 rename python/{ => test}/test_mta.py (53%)
 create mode 100755 python/test/test_nm_commit.py
 create mode 100755 python/test/test_r.py
 create mode 100755 python/test/test_s.py
 create mode 100755 python/test/test_schnorr.py
 create mode 100755 python/test/test_zk_factoring.py
 delete mode 100755 python/test_ecdsa.py
 delete mode 100755 python/test_r.py
 delete mode 100755 python/test_s.py
 create mode 100644 sonar-project.properties
 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%)
 create mode 100644 test/smoke/test_phase5_smoke.c
 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%)
 copy test/unit/{test_nm_commit.c => test_phase5_commit.c} (51%)
 create mode 100644 test/unit/test_phase5_prove.c
 create mode 100644 test/unit/test_phase5_verify.c
 create mode 100644 testVectors/commitments/nm_commit.json
 create mode 100644 testVectors/mpc/phase5_commit.json
 create mode 100644 testVectors/mpc/phase5_commit.txt
 create mode 100644 testVectors/mpc/phase5_prove.json
 create mode 100644 testVectors/mpc/phase5_prove.txt
 create mode 100644 testVectors/mpc/phase5_verify.json
 create mode 100644 testVectors/mpc/phase5_verify.txt
 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


[incubator-milagro-MPC] 01/01: Merge pull request #26 from apache/develop

Posted by km...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kmccusker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git

commit bbf62d70f99bc08048c7b6c3a8142c9219ee4fae
Merge: 75f2c35 1d4de99
Author: Kealan McCusker <ke...@gmail.com>
AuthorDate: Wed Mar 4 11:21:13 2020 +0000

    Merge pull request #26 from apache/develop
    
    initial PR to master

 .dockerignore                                      |    8 +-
 .gitignore                                         |   19 +-
 .travis.yml                                        |   56 +-
 Dockerfile                                         |   24 +-
 README.md                                          |    8 +-
 benchmark/bench.h                                  |    2 +-
 benchmark/bench_d_schnorr.c                        |  161 ++
 benchmark/bench_factoring_zk.c                     |   14 +-
 benchmark/bench_mta_zk.c                           |  217 +++
 benchmark/bench_mta_zkwc.c                         |  226 +++
 benchmark/bench_nm_commit.c                        |    2 +-
 benchmark/bench_phase5.c                           |  197 +++
 examples/example_d_schnorr.c                       |  144 ++
 examples/example_dump_keys.c                       |   40 +-
 examples/example_ecdsa.c                           |   68 +-
 examples/example_factoring_zk.c                    |   17 +-
 examples/example_full.c                            | 1653 ++++++++++++++++++++
 examples/example_mta_zk.c                          |  241 +++
 examples/example_mta_zk_interactive.c              |  247 +++
 examples/example_mta_zkwc.c                        |  257 +++
 examples/example_nm_commit.c                       |   12 +-
 examples/example_phase5.c                          |  208 +++
 examples/example_r.c                               |   10 +-
 examples/example_schnorr_interactive.c             |  103 ++
 include/amcl/commitments.h                         |    7 +-
 include/amcl/factoring_zk.h                        |   28 +-
 include/amcl/mpc.h                                 |  116 +-
 include/amcl/mta.h                                 |  379 ++++-
 include/amcl/schnorr.h                             |   69 +-
 python/CMakeLists.txt                              |   35 +-
 python/README.md                                   |   45 +-
 python/amcl/CMakeLists.txt                         |   27 +
 python/amcl/__init__.py                            |    0
 python/amcl/bls.py                                 |  234 +++
 python/amcl/commitments.py                         |  115 ++
 python/amcl/core_utils.py                          |  179 +++
 python/amcl/factoring_zk.py                        |  120 ++
 python/amcl/mpc.py                                 |  621 ++++++++
 python/amcl/schnorr.py                             |  218 +++
 python/amcl_mpc.py                                 |  850 ----------
 python/bench_mpc.py                                |  105 --
 python/benchmark/CMakeLists.txt                    |   17 +
 python/benchmark/bench.py                          |   62 +
 python/benchmark/bench_mta.py                      |   76 +
 python/benchmark/bench_nm_commit.py                |   47 +
 python/benchmark/bench_schnorr.py                  |   57 +
 python/benchmark/bench_zk_factoring.py             |   49 +
 python/example_ecdsa.py                            |  142 --
 python/examples/CMakeLists.txt                     |   17 +
 python/examples/example_bls.py                     |  150 ++
 python/{ => examples}/example_dump_keys.py         |   81 +-
 python/examples/example_ecdsa.py                   |  126 ++
 python/{ => examples}/example_mta.py               |   84 +-
 python/examples/example_nm_commit.py               |   54 +
 python/{ => examples}/example_r.py                 |  111 +-
 python/{ => examples}/example_s.py                 |  118 +-
 python/examples/example_schnorr.py                 |   79 +
 python/examples/example_zk_factoring.py            |   63 +
 python/test/CMakeLists.txt                         |   64 +
 python/test/test_ecdsa.py                          |  128 ++
 python/{ => test}/test_mta.py                      |   50 +-
 python/test/test_nm_commit.py                      |   90 ++
 python/test/test_r.py                              |   93 ++
 python/test/test_s.py                              |  100 ++
 python/test/test_schnorr.py                        |  149 ++
 python/test/test_zk_factoring.py                   |  103 ++
 python/test_ecdsa.py                               |  149 --
 python/test_r.py                                   |   87 --
 python/test_s.py                                   |   98 --
 scripts/build.sh                                   |    2 +-
 scripts/buildAMCL.sh                               |    4 +-
 scripts/test.sh                                    |    2 +-
 sonar-project.properties                           |   24 +
 src/CMakeLists.txt                                 |    7 +-
 src/commitments.c                                  |   34 +-
 src/factoring_zk.c                                 |   70 +-
 src/mpc.c                                          |  378 +++--
 src/mta.c                                          |  922 +++++++++--
 src/schnorr.c                                      |  209 ++-
 test/smoke/test_d_schnorr_smoke.c                  |  113 ++
 test/smoke/test_dump_keys_smoke.c                  |   59 +-
 test/smoke/test_ecdsa_smoke.c                      |   76 +-
 test/smoke/test_factoring_zk_smoke.c               |   29 +-
 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 +-
 test/smoke/test_nm_commit_smoke.c                  |    2 +-
 test/smoke/test_phase5_smoke.c                     |  149 ++
 test/smoke/test_r_smoke.c                          |    2 +-
 ...it_smoke.c => test_schnorr_interactive_smoke.c} |   51 +-
 test/test.c                                        |   73 +-
 test/test.h                                        |   29 +
 test/unit/CMakeLists.txt                           |   37 +-
 ...test_nm_commit.c => test_d_schnorr_challenge.c} |   68 +-
 ...actoring_zk_prove.c => test_d_schnorr_commit.c} |   72 +-
 .../{test_nm_commit.c => test_d_schnorr_prove.c}   |   91 +-
 test/unit/test_d_schnorr_verify.c                  |  135 ++
 test/unit/test_factoring_zk_prove.c                |   19 +-
 test/unit/test_factoring_zk_verify.c               |    6 +-
 test/unit/test_mta_rp_octets.c                     |   33 +-
 test/unit/test_mta_zk_challenge.c                  |  131 ++
 test/unit/test_mta_zk_commit.c                     |  151 ++
 .../{test_mta_rp_octets.c => test_mta_zk_octets.c} |   97 +-
 test/unit/test_mta_zk_prove.c                      |  150 ++
 test/unit/test_mta_zk_verify.c                     |  203 +++
 test/unit/test_mta_zkwc_challenge.c                |  139 ++
 test/unit/test_mta_zkwc_commit.c                   |  158 ++
 test/unit/test_mta_zkwc_octets.c                   |  160 ++
 test/unit/test_mta_zkwc_prove.c                    |  150 ++
 test/unit/test_mta_zkwc_verify.c                   |  198 +++
 test/unit/test_nm_commit.c                         |   10 +-
 .../{test_nm_commit.c => test_phase5_commit.c}     |   88 +-
 test/unit/test_phase5_prove.c                      |  200 +++
 test/unit/test_phase5_verify.c                     |  160 ++
 test/unit/test_r.c                                 |    6 +-
 testVectors/commitments/nm_commit.json             |   62 +
 testVectors/mpc/R.json                             |    2 +-
 testVectors/mpc/R.txt                              |  540 +++----
 testVectors/mpc/phase5_commit.json                 |   92 ++
 testVectors/mpc/phase5_commit.txt                  |   80 +
 testVectors/mpc/phase5_prove.json                  |  142 ++
 testVectors/mpc/phase5_prove.txt                   |  130 ++
 testVectors/mpc/phase5_verify.json                 |   72 +
 testVectors/mpc/phase5_verify.txt                  |   60 +
 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 +
 vagrant/README.md                                  |    2 +-
 vagrant/bootstrap.sh                               |   29 +-
 151 files changed, 16399 insertions(+), 3018 deletions(-)