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/03/13 11:11:49 UTC
[incubator-milagro-MPC] 01/01: Merge pull request #30 from
apache/add-amcl-wrappers
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 8133fdc4d35709c1a1c9941f9145a9adb218ea87
Merge: 41517a3 8b9da1d
Author: samuele-andreoli <sa...@yahoo.it>
AuthorDate: Fri Mar 13 11:11:41 2020 +0000
Merge pull request #30 from apache/add-amcl-wrappers
Add amcl wrappers
README.md | 16 ++
cmake/PythonParameters.cmake | 45 +++++
examples/example_ecdsa.c | 65 ++-----
examples/example_ecdsa_mpc.c | 5 +-
examples/example_full.c | 13 +-
include/amcl/commitments.h | 4 +-
include/amcl/factoring_zk.h | 4 +-
include/amcl/mpc.h | 20 +++
include/amcl/mta.h | 5 +-
python/CMakeLists.txt | 7 +
python/amcl/CMakeLists.txt | 9 +-
python/amcl/aes.py | 144 +++++++++++++++
python/amcl/mpc.py | 128 +++++++++++++-
python/amcl/rsa.py.in | 323 ++++++++++++++++++++++++++++++++++
python/benchmark/CMakeLists.txt | 5 +
python/benchmark/bench_aes.py | 51 ++++++
python/benchmark/bench_rsa.py.in | 67 +++++++
python/examples/CMakeLists.txt | 5 +
python/examples/example_aes.py | 52 ++++++
python/examples/example_ecdsa.py | 12 +-
python/examples/example_full.py | 359 ++++++++++++++++++++++++++++++++++++++
python/examples/example_rsa.py.in | 56 ++++++
python/test/CMakeLists.txt | 12 ++
python/test/test_aes.py | 97 ++++++++++
python/test/test_ecdsa.py | 17 +-
python/test/test_nm_commit.py | 10 +-
python/test/test_rsa.py.in | 143 +++++++++++++++
python/test/test_schnorr.py | 1 -
python/test/test_zk_factoring.py | 10 +-
src/CMakeLists.txt | 7 -
src/mpc.c | 45 ++++-
test/smoke/test_ecdsa_smoke.c | 73 ++------
testVectors/gcm/decrypt.json | 122 +++++++++++++
testVectors/gcm/encrypt.json | 122 +++++++++++++
34 files changed, 1883 insertions(+), 171 deletions(-)