3.6.27
True random number generator (RNG)
SM CODE
Description
Ownership
Detailed implementation
Error reporting
Fault detection time
Addressed fault model
Dependency on MCU configuration
Initialization
Periodicity
Test for the diagnostic
Multiple faults protection
Recommendations and known limitations
SM CODE
Description
Ownership
Detailed implementation
Error reporting
Fault detection time
Addressed fault model
Dependency on MCU configuration
Initialization
Periodicity
Test for the diagnostic
Multiple faults protection
Recommendations and known
limitations
UM1845 - Rev 4
Table 105.
RNG_SM_0
RNG_SM_0
Periodical read-back of RNG configuration register RNG_CR
End user
This method must be applied to RNG configuration registers.
Detailed information on the implementation of this method can be found in
Refer to NVIC_SM_0
Refer to NVIC_SM_0
Refer to NVIC_SM_0
RNG module available only on specific part numbers
Refer to NVIC_SM_0
Refer to NVIC_SM_0
Refer to NVIC_SM_0
Refer to NVIC_SM_0
Refer to NVIC_SM_0
Table 106.
RNG_SM_1
RNG_SM_1
RNG module entropy on-line tests
ST and End user
RNG module include an internal diagnostic for the analog source entropy that can be used to detect
failures on the module itself. Furthermore, the required test on generated random number difference
between the previous one (as required by FIPS PUB 140-2) can be exploited as well.
Implementation:
•
Check for RNG error conditions
•
Check the difference between generated random number and the previous one
CEIS, SEIS error bits in RNG status register (RNG_SR)
Application software error for FIPS PUB 140-2 test fail
Depends on implementation
Permanent and Transient
RNG module available only on specific part numbers
Depends on implementation
Continuous
N/A
CPU_SM_0: Periodical core self test software
-
Description of hardware and software diagnostics
UM1845
Section 3.6.5
page 71/108
Need help?
Do you have a question about the STM32F2 Series and is the answer not in the manual?
Questions and answers