diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-02-11 23:04:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-02-11 23:04:43 +0000 |
commit | 81e30a126c1a7be76b87acab0b16933d2a5b4064 (patch) | |
tree | 0ef72d3c402f557bff35cce46fff40320e1096c7 /src/include/gnunet_crypto_lib.h | |
parent | aab5ab384bc5d5fbd2dab0ecc640b07db0710be7 (diff) | |
download | gnunet-81e30a126c1a7be76b87acab0b16933d2a5b4064.tar.gz gnunet-81e30a126c1a7be76b87acab0b16933d2a5b4064.zip |
-trying to address #2791
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index fb299267b..99d4ac58f 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -1342,26 +1342,6 @@ GNUNET_CRYPTO_ecc_verify (uint32_t purpose, | |||
1342 | *publicKey); | 1342 | *publicKey); |
1343 | 1343 | ||
1344 | 1344 | ||
1345 | /** | ||
1346 | * This function should only be called in testcases | ||
1347 | * where strong entropy gathering is not desired | ||
1348 | * (for example, for hostkey generation). | ||
1349 | */ | ||
1350 | void | ||
1351 | GNUNET_CRYPTO_random_disable_entropy_gathering (void); | ||
1352 | |||
1353 | |||
1354 | /** | ||
1355 | * Check if we are using weak random number generation. | ||
1356 | * | ||
1357 | * @return GNUNET_YES if weak number generation is on | ||
1358 | * (thus will return YES if 'GNUNET_CRYPTO_random_disable_entropy_gathering' | ||
1359 | * was called previously). | ||
1360 | */ | ||
1361 | int | ||
1362 | GNUNET_CRYPTO_random_is_weak (void); | ||
1363 | |||
1364 | |||
1365 | #if 0 /* keep Emacsens' auto-indent happy */ | 1345 | #if 0 /* keep Emacsens' auto-indent happy */ |
1366 | { | 1346 | { |
1367 | #endif | 1347 | #endif |