aboutsummaryrefslogtreecommitdiff
path: root/src/secretsharing/secretsharing_protocol.h
diff options
context:
space:
mode:
authorWillow Liquorice <willow@howhill.com>2022-09-02 22:47:08 +0100
committerWillow Liquorice <willow@howhill.com>2022-10-03 00:44:29 +0100
commitcb4c05179fcd01efaac94dc1bdc992cf951a9aff (patch)
tree41f6b6b44335f19b36426c31f4d176c10c1ad191 /src/secretsharing/secretsharing_protocol.h
parentd4f25caabd6098a2cbb713c9cd8228c1f9a26fe4 (diff)
downloadgnunet-cb4c05179fcd01efaac94dc1bdc992cf951a9aff.tar.gz
gnunet-cb4c05179fcd01efaac94dc1bdc992cf951a9aff.zip
-DOC: used \f$ commands to bracket formulae here, so the inside is actually treated like LaTeX
Diffstat (limited to 'src/secretsharing/secretsharing_protocol.h')
-rw-r--r--src/secretsharing/secretsharing_protocol.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/secretsharing/secretsharing_protocol.h b/src/secretsharing/secretsharing_protocol.h
index d4aaecb6c..e6f3ba286 100644
--- a/src/secretsharing/secretsharing_protocol.h
+++ b/src/secretsharing/secretsharing_protocol.h
@@ -108,22 +108,22 @@ struct GNUNET_SECRETSHARING_DecryptData
108 */ 108 */
109 struct GNUNET_PeerIdentity peer; 109 struct GNUNET_PeerIdentity peer;
110 /** 110 /**
111 * Partial decryption, computed as c_1^{s_i} 111 * Partial decryption, computed as \f$c_1^{s_i}\f$
112 */ 112 */
113 struct GNUNET_SECRETSHARING_FieldElement partial_decryption; 113 struct GNUNET_SECRETSHARING_FieldElement partial_decryption;
114 /** 114 /**
115 * Commitment for the non-interactive zero knowledge proof. 115 * Commitment for the non-interactive zero knowledge proof.
116 * g^\beta, with \beta < q 116 * \f$g^\beta\f$, with \f$\beta < q\f$
117 */ 117 */
118 struct GNUNET_SECRETSHARING_FieldElement nizk_commit1; 118 struct GNUNET_SECRETSHARING_FieldElement nizk_commit1;
119 /** 119 /**
120 * Commitment for the non-interactive zero knowledge proof. 120 * Commitment for the non-interactive zero knowledge proof.
121 * c_1^\beta, with \beta < q 121 * \f$c_1^\beta\f$, with \f$\beta < q\f$
122 */ 122 */
123 struct GNUNET_SECRETSHARING_FieldElement nizk_commit2; 123 struct GNUNET_SECRETSHARING_FieldElement nizk_commit2;
124 /** 124 /**
125 * Response to the challenge computed from the protocol transcript. 125 * Response to the challenge computed from the protocol transcript.
126 * r = \beta + challenge \cdot share_i 126 * \f$r = \beta + challenge \cdot share_i\f$
127 */ 127 */
128 struct GNUNET_SECRETSHARING_FieldElement nizk_response; 128 struct GNUNET_SECRETSHARING_FieldElement nizk_response;
129}; 129};