Jump to main content

# 1.2.10.1 How the Library Works

This library does not need to be neither initialized nor maintained periodically. It simply receives a request and returns the random value.

The random numbers can be generated from different sources, depending on the presence of TRNG peripheral or Cryptographic library:

- If TRNG peripheral is present, the random numbers are generated using TRNG peripheral
- If TRNG peripheral is not present but Cryptographic library is present, the random numbers are generated using Cryptographic library
- If neither TRNG peripheral nor Cryptographic library are present, the random numbers are generated using random standard C library

Rev: G