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/07 13:13:00 UTC

[incubator-milagro-MPC] 05/05: Fix schnorr documentation

This is an automated email from the ASF dual-hosted git repository.

sandreoli pushed a commit to branch add-dschnorr-proof
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git

commit b8f064b8be3af9ae778f7c390f6ebf70705c5a4f
Author: Samuele Andreoli <sa...@yahoo.it>
AuthorDate: Fri Feb 7 11:50:25 2020 +0000

    Fix schnorr documentation
---
 include/amcl/schnorr.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/amcl/schnorr.h b/include/amcl/schnorr.h
index e659b04..087d6ce 100644
--- a/include/amcl/schnorr.h
+++ b/include/amcl/schnorr.h
@@ -138,7 +138,8 @@ extern void SCHNORR_D_prove(octet *A, octet *B, octet *E, octet *S, octet *L, oc
  * @param V     Public ECP of the DLOG. V = s.R + l.G. Compressed form
  * @param C     Commitment value received from the prover
  * @param E     Challenge for the Schnorr Proof
- * @param P     Proof received from the prover
+ * @param T     First component of the proof received
+ * @param U     Second component of the proof received
  * @return      SCHNORR_OK if the prove is valid or an error code
  */
 extern int SCHNORR_D_verify(octet *R, octet *V, octet *C, octet *E, octet *T, octet *U);