You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@milagro.apache.org by sa...@apache.org on 2020/02/19 15:57:05 UTC

[incubator-milagro-MPC] 01/01: Merge pull request #15 from apache/issue7-schnorr-python-wrapper

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 62b9eafe0e37d2791028d041b7d44404dc19d835
Merge: e26c94a 7d3416a
Author: samuele-andreoli <sa...@yahoo.it>
AuthorDate: Wed Feb 19 15:56:56 2020 +0000

    Merge pull request #15 from apache/issue7-schnorr-python-wrapper
    
    Issue7 schnorr python wrapper

 Dockerfile                                 |   5 +-
 README.md                                  |   1 -
 python/CMakeLists.txt                      |  35 +-
 python/README.md                           |  45 +-
 python/amcl/CMakeLists.txt                 |  19 +
 python/amcl/__init__.py                    |   0
 python/amcl/core_utils.py                  | 181 +++++++
 python/amcl/mpc.py                         | 621 +++++++++++++++++++++++
 python/amcl/schnorr.py                     | 219 +++++++++
 python/amcl_mpc.py                         | 764 -----------------------------
 python/bench_mpc.py                        | 105 ----
 python/benchmark/CMakeLists.txt            |  17 +
 python/benchmark/bench.py                  |  62 +++
 python/benchmark/bench_mta.py              |  76 +++
 python/benchmark/bench_schnorr.py          |  57 +++
 python/example_ecdsa.py                    | 142 ------
 python/examples/CMakeLists.txt             |  17 +
 python/{ => examples}/example_dump_keys.py |  70 +--
 python/examples/example_ecdsa.py           | 121 +++++
 python/{ => examples}/example_mta.py       |  83 ++--
 python/{ => examples}/example_r.py         | 110 ++---
 python/{ => examples}/example_s.py         | 117 ++---
 python/examples/example_schnorr.py         |  79 +++
 python/test/CMakeLists.txt                 |  53 ++
 python/test/test_ecdsa.py                  | 128 +++++
 python/{ => test}/test_mta.py              |  50 +-
 python/test/test_r.py                      |  93 ++++
 python/test/test_s.py                      | 100 ++++
 python/test/test_schnorr.py                | 149 ++++++
 python/test_ecdsa.py                       | 149 ------
 python/test_r.py                           |  87 ----
 python/test_s.py                           |  98 ----
 scripts/build.sh                           |   2 +-
 scripts/buildAMCL.sh                       |   3 +-
 scripts/test.sh                            |   2 +-
 src/CMakeLists.txt                         |   8 -
 36 files changed, 2225 insertions(+), 1643 deletions(-)