Re: [Security] [patch] random: make get_random_int() more random

From: Michael S. Zick
Date: Sat May 16 2009 - 11:09:51 EST


On Sat May 16 2009, Arjan van de Ven wrote:
> 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.
>

A reasonable cross-platform solution.
I just had to ping for supporting the VIA specific hardware solution.

Mike
--
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/