aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_crypto_lib.h
diff options
context:
space:
mode:
authorWillow Liquorice <willow@howhill.com>2022-08-28 17:15:36 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2022-08-30 09:42:13 +0200
commit1824ffe4572eabd9aded862457c2b99f7f94670f (patch)
tree2eda13e566e35e10fadcd79123f4ed081d33b800 /src/include/gnunet_crypto_lib.h
parent0a753e402096e48133abb723e35d4f83eede9a91 (diff)
downloadgnunet-1824ffe4572eabd9aded862457c2b99f7f94670f.tar.gz
gnunet-1824ffe4572eabd9aded862457c2b99f7f94670f.zip
-DOC: First pass through GNUnet crypto
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r--src/include/gnunet_crypto_lib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index cfb8e5fa5..d7f6b94f1 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -697,7 +697,7 @@ GNUNET_CRYPTO_random_u32 (enum GNUNET_CRYPTO_Quality mode, uint32_t i);
697 697
698/** 698/**
699 * @ingroup crypto 699 * @ingroup crypto
700 * Random on unsigned 64-bit values. 700 * Generate a random unsigned 64-bit value.
701 * 701 *
702 * @param mode desired quality of the random number 702 * @param mode desired quality of the random number
703 * @param max value returned will be in range [0,@a max) (exclusive) 703 * @param max value returned will be in range [0,@a max) (exclusive)
@@ -2428,7 +2428,8 @@ GNUNET_CRYPTO_paillier_decrypt (
2428 2428
2429 2429
2430/** 2430/**
2431 * Compute a ciphertext that represents the sum of the plaintext in @a x1 and @a x2 2431 * Compute a ciphertext that represents the sum of the plaintext in @a c1
2432 * and @a c2
2432 * 2433 *
2433 * Note that this operation can only be done a finite number of times 2434 * Note that this operation can only be done a finite number of times
2434 * before an overflow occurs. 2435 * before an overflow occurs.