aboutsummaryrefslogtreecommitdiff
path: root/src/secretsharing
diff options
context:
space:
mode:
authorpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>2018-06-27 10:59:51 +0000
committerpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>2018-06-27 10:59:51 +0000
commit62fa707cf1568a487323f904061a27dcfb0642fa (patch)
tree58ce765f1646fd9a65277f86d468ab17c654f58c /src/secretsharing
parent22bb8cad921b6be5f0b533ec58049ae8f467d2ac (diff)
downloadgnunet-62fa707cf1568a487323f904061a27dcfb0642fa.tar.gz
gnunet-62fa707cf1568a487323f904061a27dcfb0642fa.zip
-comments: the world ain't all male
Diffstat (limited to 'src/secretsharing')
-rw-r--r--src/secretsharing/gnunet-service-secretsharing.c2
-rw-r--r--src/secretsharing/secretsharing_api.c4
-rw-r--r--src/secretsharing/secretsharing_protocol.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/secretsharing/gnunet-service-secretsharing.c b/src/secretsharing/gnunet-service-secretsharing.c
index 505af0fba..1f565cfeb 100644
--- a/src/secretsharing/gnunet-service-secretsharing.c
+++ b/src/secretsharing/gnunet-service-secretsharing.c
@@ -51,7 +51,7 @@ struct KeygenPeerInfo
51 struct GNUNET_CRYPTO_PaillierPublicKey paillier_public_key; 51 struct GNUNET_CRYPTO_PaillierPublicKey paillier_public_key;
52 52
53 /** 53 /**
54 * The peer's commitment to his presecret. 54 * The peer's commitment to its presecret.
55 */ 55 */
56 gcry_mpi_t presecret_commitment; 56 gcry_mpi_t presecret_commitment;
57 57
diff --git a/src/secretsharing/secretsharing_api.c b/src/secretsharing/secretsharing_api.c
index cfb13f520..2a828f08d 100644
--- a/src/secretsharing/secretsharing_api.c
+++ b/src/secretsharing/secretsharing_api.c
@@ -314,7 +314,7 @@ handle_decrypt_done (void *cls,
314 * published the same value, it will be decrypted. 314 * published the same value, it will be decrypted.
315 * 315 *
316 * When the operation is canceled, the decrypt_cb is not called anymore, but the calling 316 * When the operation is canceled, the decrypt_cb is not called anymore, but the calling
317 * peer may already have irrevocably contributed his share for the decryption of the value. 317 * peer may already have irrevocably contributed its share for the decryption of the value.
318 * 318 *
319 * @param share our secret share to use for decryption 319 * @param share our secret share to use for decryption
320 * @param ciphertext ciphertext to publish in order to decrypt it (if enough peers agree) 320 * @param ciphertext ciphertext to publish in order to decrypt it (if enough peers agree)
@@ -485,7 +485,7 @@ GNUNET_SECRETSHARING_encrypt (const struct GNUNET_SECRETSHARING_PublicKey *publi
485 * Cancel a decryption. 485 * Cancel a decryption.
486 * 486 *
487 * The decrypt_cb is not called anymore, but the calling 487 * The decrypt_cb is not called anymore, but the calling
488 * peer may already have irrevocably contributed his share for the decryption of the value. 488 * peer may already have irrevocably contributed its share for the decryption of the value.
489 * 489 *
490 * @param dh to cancel 490 * @param dh to cancel
491 */ 491 */
diff --git a/src/secretsharing/secretsharing_protocol.h b/src/secretsharing/secretsharing_protocol.h
index 7627deb30..da1454ec0 100644
--- a/src/secretsharing/secretsharing_protocol.h
+++ b/src/secretsharing/secretsharing_protocol.h
@@ -58,7 +58,7 @@ struct GNUNET_SECRETSHARING_KeygenCommitData
58 */ 58 */
59 struct GNUNET_CRYPTO_PaillierPublicKey pubkey; 59 struct GNUNET_CRYPTO_PaillierPublicKey pubkey;
60 /** 60 /**
61 * Commitment of 'peer' to his presecret. 61 * Commitment of 'peer' to its presecret.
62 */ 62 */
63 struct GNUNET_HashCode commitment GNUNET_PACKED; 63 struct GNUNET_HashCode commitment GNUNET_PACKED;
64}; 64};