aboutsummaryrefslogtreecommitdiff
path: root/src/secretsharing/secretsharing_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/secretsharing/secretsharing_api.c')
-rw-r--r--src/secretsharing/secretsharing_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/secretsharing/secretsharing_api.c b/src/secretsharing/secretsharing_api.c
index b29109da9..98f800c95 100644
--- a/src/secretsharing/secretsharing_api.c
+++ b/src/secretsharing/secretsharing_api.c
@@ -435,14 +435,14 @@ GNUNET_SECRETSHARING_plaintext_generate_i (struct
435 * Encrypt a value. This operation is executed locally, no communication is 435 * Encrypt a value. This operation is executed locally, no communication is
436 * necessary. 436 * necessary.
437 * 437 *
438 * This is a helper function, encryption can be done soley with a session's public key 438 * This is a helper function, encryption can be done solely with a session's public key
439 * and the crypto system parameters. 439 * and the crypto system parameters.
440 * 440 *
441 * @param public_key public key to use for decryption 441 * @param public_key public key to use for decryption
442 * @param message message to encrypt 442 * @param message message to encrypt
443 * @param message_size number of bytes in @a message 443 * @param message_size number of bytes in @a message
444 * @param result_ciphertext pointer to store the resulting ciphertext 444 * @param result_ciphertext pointer to store the resulting ciphertext
445 * @return #GNUNET_YES on succes, #GNUNET_SYSERR if the message is invalid (invalid range) 445 * @return #GNUNET_YES on success, #GNUNET_SYSERR if the message is invalid (invalid range)
446 */ 446 */
447int 447int
448GNUNET_SECRETSHARING_encrypt (const struct 448GNUNET_SECRETSHARING_encrypt (const struct