diff options
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index d5a1685d1..f97b351c9 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -247,7 +247,7 @@ GNUNET_CRYPTO_random_u32 (enum GNUNET_CRYPTO_Quality mode, uint32_t i); | |||
247 | 247 | ||
248 | 248 | ||
249 | /** | 249 | /** |
250 | * Random on unsigned 64-bit values. | 250 | * Random on unsigned 64-bit values. |
251 | * | 251 | * |
252 | * @param mode desired quality of the random number | 252 | * @param mode desired quality of the random number |
253 | * @param max value returned will be in range [0,max) (exclusive) | 253 | * @param max value returned will be in range [0,max) (exclusive) |
@@ -471,7 +471,7 @@ GNUNET_CRYPTO_hash_create_random (enum GNUNET_CRYPTO_Quality mode, | |||
471 | * | 471 | * |
472 | * @param a some hash code | 472 | * @param a some hash code |
473 | * @param b some hash code | 473 | * @param b some hash code |
474 | * @param result set to b - a | 474 | * @param result set to b - a |
475 | */ | 475 | */ |
476 | void | 476 | void |
477 | GNUNET_CRYPTO_hash_difference (const GNUNET_HashCode * a, | 477 | GNUNET_CRYPTO_hash_difference (const GNUNET_HashCode * a, |
@@ -497,7 +497,7 @@ GNUNET_CRYPTO_hash_sum (const GNUNET_HashCode * a, | |||
497 | * | 497 | * |
498 | * @param a some hash code | 498 | * @param a some hash code |
499 | * @param b some hash code | 499 | * @param b some hash code |
500 | * @param result set to a ^ b | 500 | * @param result set to a ^ b |
501 | */ | 501 | */ |
502 | void | 502 | void |
503 | GNUNET_CRYPTO_hash_xor (const GNUNET_HashCode * a, const GNUNET_HashCode * b, | 503 | GNUNET_CRYPTO_hash_xor (const GNUNET_HashCode * a, const GNUNET_HashCode * b, |
@@ -693,7 +693,7 @@ GNUNET_CRYPTO_rsa_decode_key (const char *buf, uint16_t len); | |||
693 | * files does not exist, create a new key and write it to the | 693 | * files does not exist, create a new key and write it to the |
694 | * file. Caller must free return value. Note that this function | 694 | * file. Caller must free return value. Note that this function |
695 | * can not guarantee that another process might not be trying | 695 | * can not guarantee that another process might not be trying |
696 | * the same operation on the same file at the same time. | 696 | * the same operation on the same file at the same time. |
697 | * If the contents of the file | 697 | * If the contents of the file |
698 | * are invalid the old file is deleted and a fresh key is | 698 | * are invalid the old file is deleted and a fresh key is |
699 | * created. | 699 | * created. |
@@ -807,7 +807,7 @@ GNUNET_CRYPTO_rsa_verify (uint32_t purpose, | |||
807 | /** | 807 | /** |
808 | * This function should only be called in testcases | 808 | * This function should only be called in testcases |
809 | * where strong entropy gathering is not desired | 809 | * where strong entropy gathering is not desired |
810 | * (for example, for hostkey generation). | 810 | * (for example, for hostkey generation). |
811 | */ | 811 | */ |
812 | void | 812 | void |
813 | GNUNET_CRYPTO_random_disable_entropy_gathering (void); | 813 | GNUNET_CRYPTO_random_disable_entropy_gathering (void); |