diff options
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 |