aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-03-22 14:58:29 +0000
committerRon Yorston <rmy@pobox.com>2018-03-22 15:11:41 +0000
commit6cff8357023adb4d5c9daa027522f883f3905f4c (patch)
tree50964ae864ec3325c2413facaa8efc3a3104f3a6 /Config.in
parentbe9b9ed64e658889229e18e3d089df27d8b724c3 (diff)
downloadbusybox-w32-6cff8357023adb4d5c9daa027522f883f3905f4c.tar.gz
busybox-w32-6cff8357023adb4d5c9daa027522f883f3905f4c.tar.bz2
busybox-w32-6cff8357023adb4d5c9daa027522f883f3905f4c.zip
win32: allow use of shell's PRNG for /dev/urandom
Allow either ISAAC or the shell's built-in pseudo-random number generator to be used for /dev/urandom. The latter is smaller so it's the default.
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in45
1 files changed, 33 insertions, 12 deletions
diff --git a/Config.in b/Config.in
index dc3a6e09a..a18d26720 100644
--- a/Config.in
+++ b/Config.in
@@ -122,18 +122,6 @@ config LFS
122 programs that can benefit from large file support include dd, gzip, 122 programs that can benefit from large file support include dd, gzip,
123 cp, mount, tar. 123 cp, mount, tar.
124 124
125config GLOBBING
126 bool "Allow busybox.exe to expand wildcards"
127 default n
128 depends on PLATFORM_MINGW32
129 help
130 In Microsoft Windows expansion of wildcards on the command line
131 ('globbing') is handled by the C runtime while the BusyBox shell
132 does its own wildcard expansion. For best results when using the
133 shell globbing by the C runtime should be turned off. If you want
134 the BusyBox binary to handle wildcard expansion using the C runtime
135 set this to 'Y'.
136
137config PAM 125config PAM
138 bool "Support PAM (Pluggable Authentication Modules)" 126 bool "Support PAM (Pluggable Authentication Modules)"
139 default n 127 default n
@@ -380,6 +368,39 @@ config PLATFORM_LINUX
380 #This is automatically selected if any applet or feature requires 368 #This is automatically selected if any applet or feature requires
381 #Linux-specific interfaces. You do not need to select it manually. 369 #Linux-specific interfaces. You do not need to select it manually.
382 370
371config GLOBBING
372 bool "Allow busybox.exe to expand wildcards"
373 default n
374 depends on PLATFORM_MINGW32
375 help
376 In Microsoft Windows expansion of wildcards on the command line
377 ('globbing') is handled by the C runtime while the BusyBox shell
378 does its own wildcard expansion. For best results when using the
379 shell globbing by the C runtime should be turned off. If you want
380 the BusyBox binary to handle wildcard expansion using the C runtime
381 set this to 'Y'.
382
383choice
384 prompt "Random number generator"
385 default FEATURE_PRNG_SHELL
386 depends on PLATFORM_MINGW32
387 help
388 BusyBox on Microsoft Windows uses a pseudo-random number
389 generator to emulate the Linux /dev/urandom device. There
390 are two options:
391 - The shell's built-in PRNG.
392 - Bob Jenkins' ISAAC. This is intended to be a secure PRNG. It's
393 slightly faster than the shell's PRNG but is larger both in terms
394 of code and runtime memory.
395
396config FEATURE_PRNG_SHELL
397 bool "Use shell PRNG"
398
399config FEATURE_PRNG_ISAAC
400 bool "Use ISAAC PRNG"
401
402endchoice
403
383comment 'Build Options' 404comment 'Build Options'
384 405
385config STATIC 406config STATIC