diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-23 20:03:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-23 20:03:58 +0000 |
commit | 55ac5056bd7f3997f67bc7a478f3e1d01ffb0e52 (patch) | |
tree | f3620b34222f15cdde0c5c0a4032ffb44a53859d /src/include | |
parent | 07f6af3914a9b438cb1526a628689bc0d8a6db27 (diff) | |
download | gnunet-55ac5056bd7f3997f67bc7a478f3e1d01ffb0e52.tar.gz gnunet-55ac5056bd7f3997f67bc7a478f3e1d01ffb0e52.zip |
LRN: Fix the use of SRANDOM
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index f97b351c9..53137c179 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -222,6 +222,14 @@ struct GNUNET_CRYPTO_AuthKey | |||
222 | 222 | ||
223 | /* **************** Functions and Macros ************* */ | 223 | /* **************** Functions and Macros ************* */ |
224 | 224 | ||
225 | /** | ||
226 | * Seed a weak random generator. Only GNUNET_CRYPTO_QUALITY_WEAK-mode generator | ||
227 | * can be seeded. | ||
228 | * | ||
229 | * @param seed the seed to use | ||
230 | */ | ||
231 | void | ||
232 | GNUNET_CRYPTO_seed_weak_random (int32_t seed); | ||
225 | 233 | ||
226 | /** | 234 | /** |
227 | * Compute the CRC32 checksum for the first len | 235 | * Compute the CRC32 checksum for the first len |