RM0402 Rev 6 401/1163
RM0402 True random number generator (RNG)
412
15 True random number generator (RNG)
15.1 Introduction
The RNG is a true random number generator that continuously provides 32-bit entropy
samples, based on an analog noise source. It can be used by the application as a live
entropy source to build a NIST compliant Deterministic Random Bit Generator (DRBG).
The RNG true random number generator has been tested using NIST statistical test suite
SP800-22 rev1a (April 2010).
15.2 RNG main features
• The RNG delivers 32-bit true random numbers, produced by an analog entropy source
post-processed with linear-feedback shift registers (LFSR).
• It produces one 32-bit random samples every 42 RNG clock cycles(dedicated clock).
• It allows embedded continuous basic health tests with associated error management
– Includes too low sampling clock detection and repetition count tests.
• It can be disabled to reduce power consumption.
• It has an AMBA AHB slave peripheral, accessible through 32-bit word single accesses
only (else an AHB bus error is generated). Warning! any write not equal to 32 bits might
corrupt the register content.