• Andres AG's avatar
    Add a new self test to entropy module · b34e42e6
    Andres AG authored
    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.
    b34e42e6