Re: [PATCH 0/2] Add support for Qualcomm's PRNG

From: Paul Mackerras
Date: Thu Oct 10 2013 - 06:42:25 EST


On Wed, Oct 09, 2013 at 08:07:35AM -0700, H. Peter Anvin wrote:

> consider the PowerPC random number generator[1]) and

[snip]

> [1] which has a known first-order bias which they "correct" for by
> XORing two datums together in a very simple data reduction step.

65 actually, not two.

> However, if their random source has bias it is extremely likely it also
> has nonzero correlations, which require stronger reductions. It would

The correlations are essentially zero, by design, and experiment
confirms it. Did you see my mail on the kvm list where I explained
how it works?

Paul.
--
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/