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 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
new 8133fdc Merge pull request #30 from apache/add-amcl-wrappers
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:
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 +
.../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 ++-
python/examples/example_ecdsa.py | 12 +-
python/examples/example_full.py | 359 +++++++++++++++++++++
.../{example_nm_commit.py => example_rsa.py.in} | 34 +-
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, 1784 insertions(+), 227 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%)
create mode 100755 python/examples/example_full.py
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 testVectors/gcm/decrypt.json
create mode 100644 testVectors/gcm/encrypt.json