lkml.org 
[lkml]   [2020]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/2] hwrng: iproc-rng200 - Set the quality value
Date
Am Freitag, 15. Mai 2020, 00:18:41 CEST schrieb Lukasz Stelmach:

Hi Lukasz,
>
> I am running tests using SP800-90B tools and the first issue I can see
> is the warning that samples contain less than 1e6 bytes of data. I know
> little about maths behind random number generators, but I have noticed
> that the bigger chunk of data from an RNG I feed into either ent or ea_iid
> the higher entropy they report. That is why I divided the data into 1024
> bit chunks in the first place. To get worse results. With ea_iid they
> get even worse (128 bytes of random data)

I read that you seem to just take the output data from the RNG. If this is
correct, I think we can stop right here. The output of an RNG is usually after
post-processing commonly provided by a cryptographic function.

Thus, when processing the output of the RNG all what we measure here is the
quality of the cryptographic post-processing and not the entropy that may be
present in the data.

What we need is to access the noise source and analyze this with the given
tool set. And yes, the analysis may require adjusting the data to a format
that can be consumed and analyzed by the statistical tests.

Ciao
Stephan


\
 
 \ /
  Last update: 2020-05-15 10:33    [W:0.090 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site