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/10 11:11:29 UTC
[incubator-milagro-MPC] 01/01: Merge pull request #2 from
apache/add-dschnorr-proof
This is an automated email from the ASF dual-hosted git repository.
sandreoli pushed a commit to branch apache
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git
commit 2e533148dadb3964019eb4f9d32b487c4114ac7b
Merge: 75f2c35 b8f064b
Author: samuele-andreoli <sa...@yahoo.it>
AuthorDate: Mon Feb 10 11:11:18 2020 +0000
Merge pull request #2 from apache/add-dschnorr-proof
Add dschnorr proof
benchmark/bench_d_schnorr.c | 161 +++++++++++++++++++++++
examples/example_d_schnorr.c | 144 ++++++++++++++++++++
examples/example_schnorr_interactive.c | 103 +++++++++++++++
include/amcl/schnorr.h | 63 ++++++++-
src/schnorr.c | 195 ++++++++++++++++++++++++++--
test/smoke/test_d_schnorr_smoke.c | 113 ++++++++++++++++
test/smoke/test_schnorr_interactive_smoke.c | 81 ++++++++++++
test/unit/CMakeLists.txt | 14 +-
test/unit/test_d_schnorr_challenge.c | 106 +++++++++++++++
test/unit/test_d_schnorr_commit.c | 116 +++++++++++++++++
test/unit/test_d_schnorr_prove.c | 125 ++++++++++++++++++
test/unit/test_d_schnorr_verify.c | 135 +++++++++++++++++++
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 ++++++++++++
20 files changed, 1968 insertions(+), 16 deletions(-)