ash,hush: improve randomness of $RANDOM, add easy-ish way to test it
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 13 Mar 2014 11:52:43 +0000 (12:52 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 13 Mar 2014 11:52:43 +0000 (12:52 +0100)
commitfb183076a3a6580a4aba435c53ce033ef89e7fe6
tree72e36e623d7b8841825a8d82aabe5ac7b7654cab
parent69f9567de28976cfbc7b216c46aa391ce82bd3b7
ash,hush: improve randomness of $RANDOM, add easy-ish way to test it

function                                             old     new   delta
next_random                                           68     113     +45
change_random                                        103     121     +18

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/random.c
shell/random.h