This is an automated email from the ASF dual-hosted git repository.
sandreoli pushed a change to branch issue18-add-python-flow-example
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git.
from 0a180eb do not copy .so files to python dir
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
add 4b8bfe4 Fix bug when using amcl compiled with DEBUG_NORM
add b86c22f Merge pull request #27 from apache/issue25-debug-norm
add 8f053cc Update AMCL and apply trick to MTA ZKP
add 41517a3 Merge pull request #31 from apache/issue29-update-amcl
add fda5ba5 Add custom functions for keys and k generation
add fd1e161 Fix doxygen
add 695f2e8 Wrap custom functions for keys and k generation. Lint code
add 053d300 Add full flow using python wrappers
add fd0b5eb do not copy .so files to python dir
add a3e13ad Add AES wrappers and fix tests
add 7bad751 Add RSA wrappers
add 8b9da1d Fix code smells
add 8133fdc Merge pull request #30 from apache/add-amcl-wrappers
new 576b86e Merge branch 'develop' into issue18-add-python-flow-example
new 722e0c8 Fix paillier sk dump
The 2 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:
.travis.yml | 31 +-
Dockerfile | 14 -
README.md | 24 +-
cmake/PythonParameters.cmake | 45 +++
include/amcl/commitments.h | 4 +-
include/amcl/mpc.h | 25 +-
include/amcl/mta.h | 8 +-
include/amcl/schnorr.h | 12 +-
python/CMakeLists.txt | 7 +
python/amcl/CMakeLists.txt | 9 +-
python/amcl/aes.py | 144 +++++++++
python/amcl/commitments.py | 4 +-
python/amcl/mpc.py | 12 +-
python/amcl/rsa.py.in | 323 +++++++++++++++++++++
python/amcl/schnorr.py | 6 +-
python/benchmark/CMakeLists.txt | 5 +
.../benchmark/{bench_nm_commit.py => bench_aes.py} | 34 ++-
python/benchmark/bench_rsa.py.in | 67 +++++
python/examples/CMakeLists.txt | 5 +
.../{example_nm_commit.py => example_aes.py} | 48 ++-
.../{example_nm_commit.py => example_rsa.py.in} | 34 ++-
python/test/CMakeLists.txt | 12 +
python/test/test_aes.py | 97 +++++++
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 +-
sonar-project.properties | 24 ++
src/commitments.c | 16 +-
src/factoring_zk.c | 4 +-
src/mpc.c | 70 ++---
src/mta.c | 75 +++--
src/schnorr.c | 14 +-
test/smoke/test_bc_setup_smoke.c | 4 +-
test/unit/test_mta_rp_challenge.c | 6 +-
test/unit/test_mta_zk_challenge.c | 6 +-
test/unit/test_mta_zkwc_challenge.c | 6 +-
testVectors/gcm/decrypt.json | 122 ++++++++
testVectors/gcm/encrypt.json | 122 ++++++++
testVectors/mta/mta_challenge.json | 20 +-
testVectors/mta/mta_challenge.txt | 20 +-
testVectors/mta/mtawc_challenge.json | 20 +-
testVectors/mta/mtawc_challenge.txt | 20 +-
testVectors/mta/rp_challenge.json | 20 +-
testVectors/mta/rp_challenge.txt | 20 +-
45 files changed, 1455 insertions(+), 268 deletions(-)
create mode 100644 cmake/PythonParameters.cmake
create mode 100644 python/amcl/aes.py
create mode 100644 python/amcl/rsa.py.in
copy python/benchmark/{bench_nm_commit.py => bench_aes.py} (52%)
create mode 100755 python/benchmark/bench_rsa.py.in
copy python/examples/{example_nm_commit.py => example_aes.py} (50%)
copy python/examples/{example_nm_commit.py => example_rsa.py.in} (58%)
create mode 100755 python/test/test_aes.py
create mode 100755 python/test/test_rsa.py.in
create mode 100644 sonar-project.properties
create mode 100644 testVectors/gcm/decrypt.json
create mode 100644 testVectors/gcm/encrypt.json