[riot-notifications] [RIOT-OS/RIOT] tests/periph_hwrng: add automated python test (#11448)

Gaƫtan Harter notifications at github.com
Tue Apr 30 15:54:21 CEST 2019


@fjmolinas Agreed, no need to run the test on all boards, it was to at least try a few of them and the test may be adapted later in case we find an issue with one specific board.

> NOTE: I think a porpper test on these modules will mean implementing (NIST) Statistical Test Suite (STS) or something like that, but then maybe not all hwrng pass those test suites, not because they are not properly implemented but because they aren't random enough.

For the `frdm-k64f` as I was reading the datasheet, it says that only one bit of entropy should be taken out per random read where we extract 32 right now. So indeed having a way of testing this could be nice.

It could be more in a specific test like `periph_hwrng_rng_quality` as there is a difference between having the hardware answering, and giving "correct" output.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11448#issuecomment-487961372
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190430/69c062fc/attachment.html>


More information about the notifications mailing list