diff options
Diffstat (limited to 'src/include/gnunet_secretsharing_service.h')
-rw-r--r-- | src/include/gnunet_secretsharing_service.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_secretsharing_service.h b/src/include/gnunet_secretsharing_service.h index 127f1db78..c13cf482a 100644 --- a/src/include/gnunet_secretsharing_service.h +++ b/src/include/gnunet_secretsharing_service.h | |||
@@ -164,7 +164,7 @@ struct GNUNET_SECRETSHARING_Plaintext | |||
164 | * @param my_share the share of this peer | 164 | * @param my_share the share of this peer |
165 | * @param public_key public key of the session | 165 | * @param public_key public key of the session |
166 | * @param num_ready_peers number of peers in @a ready_peers | 166 | * @param num_ready_peers number of peers in @a ready_peers |
167 | * @param ready_peers peers that successfuly participated in establishing | 167 | * @param ready_peers peers that successfully participated in establishing |
168 | * the shared secret | 168 | * the shared secret |
169 | */ | 169 | */ |
170 | typedef void | 170 | typedef void |
@@ -236,14 +236,14 @@ GNUNET_SECRETSHARING_session_destroy (struct GNUNET_SECRETSHARING_Session *s); | |||
236 | * Encrypt a value. This operation is executed locally, no communication is | 236 | * Encrypt a value. This operation is executed locally, no communication is |
237 | * necessary. | 237 | * necessary. |
238 | * | 238 | * |
239 | * This is a helper function, encryption can be done soley with a session's public key | 239 | * This is a helper function, encryption can be done solely with a session's public key |
240 | * and the crypto system parameters. | 240 | * and the crypto system parameters. |
241 | * | 241 | * |
242 | * @param public_key public key to use for decryption | 242 | * @param public_key public key to use for decryption |
243 | * @param message message to encrypt | 243 | * @param message message to encrypt |
244 | * @param message_size number of bytes in @a message | 244 | * @param message_size number of bytes in @a message |
245 | * @param result_ciphertext pointer to store the resulting ciphertext | 245 | * @param result_ciphertext pointer to store the resulting ciphertext |
246 | * @return #GNUNET_YES on succes, #GNUNET_SYSERR if the message is invalid (invalid range) | 246 | * @return #GNUNET_YES on success, #GNUNET_SYSERR if the message is invalid (invalid range) |
247 | */ | 247 | */ |
248 | int | 248 | int |
249 | GNUNET_SECRETSHARING_encrypt (const struct | 249 | GNUNET_SECRETSHARING_encrypt (const struct |