[riot-notifications] [RIOT-OS/RIOT] cpu/nrf5x_common: enable bias correction in hwrng (#14002)

Peter Kietzmann notifications at github.com
Tue May 5 11:00:24 CEST 2020

> Do you think it should be configureable though?

We don't have a distinction about the quality of a HWRNG currently. For example, *cpu/cc2538/periph_hwrng.c* implements  a driver for a hardware PRNG that is based on a 16-bit shift register (fails several statistical tests) whereas the nrf52 implements a true random source + post processing engine -> for now everything is best effort so always enabling seems like the right choice.

Using the plain random source without bias correction only makes sense when dealing with entropy directly, but in that case, a developer misses several components (estimators, accumulators, ...) and abstractions anyway.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200505/1896e5e6/attachment.htm>

More information about the notifications mailing list