2.8.4.3 DRV_CRYPTO_TRNG_Setup()
TRNG_ERROR DRV_CRYPTO_TRNG_Setup (void )
Creates and sets the key for True Random Number Generation.
Returns TRNG_NO_ERROR on success. Returns one of the TRNG_FAILED_TO_GENERATE / TRNG_EXEC_FIFO / TRNG_EXEC_STARTUP TRNG_EXEC_PROP / TRNG_EXEC_REP on fail. |
Note:
This function performs a read of the FIFO to get the key and then stores it for use in the generation of the TRNG values.
