diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:00:55 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:00:55 +0200 |
commit | 1f2674fe293be7c1a852fbe4a7241fbcb149078f (patch) | |
tree | 075dd0aa3d2b19b0c62b18bdf3d99f324dea2966 /src/secretsharing | |
parent | 82a5d35360c4c882d9a5f92c4ac27c61bd4a4cc5 (diff) | |
download | gnunet-1f2674fe293be7c1a852fbe4a7241fbcb149078f.tar.gz gnunet-1f2674fe293be7c1a852fbe4a7241fbcb149078f.zip |
-fix typos
Diffstat (limited to 'src/secretsharing')
-rw-r--r-- | src/secretsharing/secretsharing.h | 2 | ||||
-rw-r--r-- | src/secretsharing/secretsharing_protocol.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/secretsharing/secretsharing.h b/src/secretsharing/secretsharing.h index af6263c46..6e104ebfa 100644 --- a/src/secretsharing/secretsharing.h +++ b/src/secretsharing/secretsharing.h | |||
@@ -67,7 +67,7 @@ struct GNUNET_SECRETSHARING_CreateMessage | |||
67 | struct GNUNET_TIME_AbsoluteNBO deadline; | 67 | struct GNUNET_TIME_AbsoluteNBO deadline; |
68 | 68 | ||
69 | /** | 69 | /** |
70 | * Mininum number of cooperating peers to decrypt a | 70 | * Minimum number of cooperating peers to decrypt a |
71 | * value. | 71 | * value. |
72 | */ | 72 | */ |
73 | uint16_t threshold GNUNET_PACKED; | 73 | uint16_t threshold GNUNET_PACKED; |
diff --git a/src/secretsharing/secretsharing_protocol.h b/src/secretsharing/secretsharing_protocol.h index d43d1cee5..d4aaecb6c 100644 --- a/src/secretsharing/secretsharing_protocol.h +++ b/src/secretsharing/secretsharing_protocol.h | |||
@@ -122,7 +122,7 @@ struct GNUNET_SECRETSHARING_DecryptData | |||
122 | */ | 122 | */ |
123 | struct GNUNET_SECRETSHARING_FieldElement nizk_commit2; | 123 | struct GNUNET_SECRETSHARING_FieldElement nizk_commit2; |
124 | /** | 124 | /** |
125 | * Reponse 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 | * r = \beta + challenge \cdot share_i |
127 | */ | 127 | */ |
128 | struct GNUNET_SECRETSHARING_FieldElement nizk_response; | 128 | struct GNUNET_SECRETSHARING_FieldElement nizk_response; |
@@ -133,7 +133,7 @@ struct GNUNET_SECRETSHARING_FairEncryption | |||
133 | { | 133 | { |
134 | struct GNUNET_CRYPTO_PaillierCiphertext c; | 134 | struct GNUNET_CRYPTO_PaillierCiphertext c; |
135 | /** | 135 | /** |
136 | * h = g^x, where x is the fairly encrypte secret. | 136 | * h = g^x, where x is the fairly encrypted secret. |
137 | */ | 137 | */ |
138 | char h[GNUNET_SECRETSHARING_ELGAMAL_BITS / 8]; | 138 | char h[GNUNET_SECRETSHARING_ELGAMAL_BITS / 8]; |
139 | char t1[GNUNET_SECRETSHARING_ELGAMAL_BITS / 8]; | 139 | char t1[GNUNET_SECRETSHARING_ELGAMAL_BITS / 8]; |