trngpsx
Vitis Drivers API Documentation
xtrngpsx_drng_example.c File Reference

Overview

This example demonstrates use of instantiate, reseed, generate functionalities while generating random number using DRNG mode and runs DRBG,Health tests for all the instances i.e XTrngpsx_PreOperationalSelfTests.

Note

None.

MODIFICATION HISTORY:

  Ver   Who  Date     Changes


1.00 kpt 01/10/23 First release yog 08/04/23 Removed support for PKI instances 1.01 ng 09/04/23 Added SDT support 1.2 kpt 01/09/24 Updated option for non-blocking trng reseed

*

Macros

#define XTRNGPSX_PMC_DEVICE   0U
 Device Id for PMC. More...
 

Functions

int main (void)
 Main function to call the Trngpsx driver example. More...
 

Macro Definition Documentation

#define XTRNGPSX_PMC_DEVICE   0U

Device Id for PMC.

Function Documentation

int main ( void  )

Main function to call the Trngpsx driver example.

Returns
  • XST_SUCCESS if example ran successfully.
  • XST_FAILURE if unsuccessful.