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/05/14 22:47:35 UTC
[incubator-milagro-MPC] 19/27: Fix schnorr documentation
This is an automated email from the ASF dual-hosted git repository.
sandreoli pushed a commit to branch update-model-no-replay
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git
commit 560349501ceff0d08a420dbaf481737afe5b00fa
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);