summaryrefslogtreecommitdiffstats
path: root/drivers/net/skfp/smt.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-07-30 16:29:19 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-30 16:29:19 -0700
commit697f8d0348a652593d195a13dd1067d9df911a82 (patch)
tree025da07dad72399662f10d87dbf4d711dd55e766 /drivers/net/skfp/smt.c
parent4adf0af6818f3ea52421dc0bae836cfaf20ef72a (diff)
downloadop-kernel-dev-697f8d0348a652593d195a13dd1067d9df911a82.zip
op-kernel-dev-697f8d0348a652593d195a13dd1067d9df911a82.tar.gz
random32: seeding improvement
The rationale is: * use u32 consistently * no need to do LCG on values from (better) get_random_bytes * use more data from get_random_bytes for secondary seeding * don't reduce state space on srandom32() * enforce state variable initialization restrictions Note: the second paper has a version of random32() with even longer period and a version of random64() if needed. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/net/skfp/smt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud