diff options
author | Ron Yorston <rmy@pobox.com> | 2018-03-22 14:58:29 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-03-22 15:11:41 +0000 |
commit | 6cff8357023adb4d5c9daa027522f883f3905f4c (patch) | |
tree | 50964ae864ec3325c2413facaa8efc3a3104f3a6 /Config.in | |
parent | be9b9ed64e658889229e18e3d089df27d8b724c3 (diff) | |
download | busybox-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.in | 45 |
1 files changed, 33 insertions, 12 deletions
@@ -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 | ||
125 | config 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 | |||
137 | config PAM | 125 | config 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 | ||
371 | config 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 | |||
383 | choice | ||
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 | |||
396 | config FEATURE_PRNG_SHELL | ||
397 | bool "Use shell PRNG" | ||
398 | |||
399 | config FEATURE_PRNG_ISAAC | ||
400 | bool "Use ISAAC PRNG" | ||
401 | |||
402 | endchoice | ||
403 | |||
383 | comment 'Build Options' | 404 | comment 'Build Options' |
384 | 405 | ||
385 | config STATIC | 406 | config STATIC |