[riot-notifications] [RIOT] How to generate random numbers? (#3221)
notifications at github.com
Fri Jun 19 13:21:53 CEST 2015
> What's the recommended way to generate random numbers on RIOT?
I normally use genrand_uint32() of `sys/include/random.h` for the NDP stuff. The hardware random interface was thought to be a truly "randomness" source to set the seed for this (dangling ADCs, timer, cpu_id etc.) afaik, but I don't know if this was ever done.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications