Hi Lukasz, Am 19.05.20 um 23:25 schrieb Łukasz Stelmach: > The value was estimaded with ea_iid using on 10485760 bytes read from > the RNG via /dev/hwrng. The min-entropy value calculated using the most > common value estimate (NIST SP 800-90P, section 6.3.1) was 7.964464.
could you please mention in the commit the used hardware implementation(s) of iproc-rng200 to get this quality? AFAIK there is still no public register description at least for the bcm2711. So is it safe to assume that the suggested quality applies to all possible configurations? Thanks Stefan > >  https://github.com/usnistgov/SP800-90B_EntropyAssessment >  https://csrc.nist.gov/publications/detail/sp/800-90b/final > > Signed-off-by: Łukasz Stelmach <l.stelm...@samsung.com> > --- > drivers/char/hw_random/iproc-rng200.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/char/hw_random/iproc-rng200.c > b/drivers/char/hw_random/iproc-rng200.c > index 32d9fe61a225..95669ece050f 100644 > --- a/drivers/char/hw_random/iproc-rng200.c > +++ b/drivers/char/hw_random/iproc-rng200.c > @@ -199,6 +199,7 @@ static int iproc_rng200_probe(struct platform_device > *pdev) > priv->rng.read = iproc_rng200_read, > priv->rng.init = iproc_rng200_init, > priv->rng.cleanup = iproc_rng200_cleanup, > + priv->rng.quality = 1000, > > /* Register driver */ > ret = devm_hwrng_register(dev, &priv->rng);