Re: [Security] [patch] random: make get_random_int() more random
From: Arjan van de Ven
Date: Sat May 16 2009 - 10:58:53 EST
On Sat, 16 May 2009 09:28:16 -0500
"Michael S. Zick" <lkml@xxxxxxxxxxxx> wrote:
>
> Still getting kernel messages that there isn't a test for the rng - -
> One (of many) ways to test the quality is to submit a bit string
> sample to the Berlekamp-Massey algorithm; perhaps from repeated calls
> to the generation function (it depends on your desired confidence
> level).
>
or we bite the bullet and implement the Fortuna PRNG algorithm
and feed it as much as we can, rather than caring if any if the sources
is not 100.000% perfect.
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/