Commit b34e42e6 authored by Committed by Simon Butcher
Add a new self test to entropy module
The self test is a quick way to check at startup whether the entropy sources are functioning correctly. The self test only polls 8 bytes from the default entropy source and performs the following checks: - The bytes are not all 0x00 or 0xFF. - The hardware does not return an error when polled. - The entropy does not provide data in a patter. Only check pattern at byte, word and long word sizes.
Showing with 106 additions and 0 deletions