2.1.6.9 DRV_PUF_GenerateRandomCmd()

drv_puf_result_t DRV_PUF_GenerateRandomCmd (uint16_t rndDataLenBits, drv_puf_data_destination_t rndDataDest, uint8_t * rndData)

Performs the Generate Random command.

Parameters:
rndDataLenBits

Length of the random data in bits. Accepted values: Till 1024: Multiples of 64; and 2048, 3072, 4096.

rndDataDest

Random data destination

rndData

Pointer to the byte array that will hold the random data

Returns:

Result code of the operation. See drv_puf_result_t enum for details.

Note:

The driver must have been initialized and started to run this command successfully.