summaryrefslogtreecommitdiff
path: root/extra/Configs
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-05-14 03:29:53 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:44 +0200
commitd6f8248cc33263cd78b9cad33e80e4ed8643fb6b (patch)
treed4a57b59ad842d3e86f02cd6fdd9bcd82614a89d /extra/Configs
parent1c17b766a973a013c6967f792c60debb83721e9b (diff)
update arc4random from bug #885
Add config option to provide arc4random without device access. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'extra/Configs')
-rw-r--r--extra/Configs/Config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 6a590ac54..4bb681207 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -2087,6 +2087,17 @@ config UCLIBC_HAS_ARC4RANDOM
Most people will answer N.
+config ARC4RANDOM_USES_NODEV
+ bool "Do not use /dev/urandom with arc4random()"
+ depends on UCLIBC_HAS_ARC4RANDOM
+ default n
+ help
+ Answer Y to use gettimeofday(2) and getpid(2) exclusively for
+ arc4random(). This is not a bad idea for a diskless system, but
+ it uses a lot of syscalls to stir each array element.
+
+ Most people will answer N.
+
config HAVE_NO_SSP
bool