Closed brabo closed 8 years ago
Expanded unicore-mx rng support to use convenience functions. Refactored rng driver and added f2 support to frosted. Need to handle errors correctly still.
What is still missing in the current implementation:
If you want to implement #55 perhaps it's worth keeping both mechanism in place, so /dev/random can be attached to either the RNG directly or to libfortuna, depending whether CONFIG_LIBFORTUNA is enabled.
@brabo : fixed via fortuna branch.
closing.
https://github.com/insane-adding-machines/libopencm3/commit/6c0fa767776174e6e6fa54a1c7a24acdfcfb2055 introduces clean functions to (en|dis)able the RNG and to read from it, allowing the driver code to be agnostic about registers and be more clean.