xilasu
Vitis Drivers API Documentation
ASU TRNG API Example Generic Usage

Macros

#define XASU_DRBG_DEFAULT_DF_LENGTH   7U
 Default DF length of TRNG DRBG. More...
 
#define XASU_DRBG_DEFAULT_SEED_LIFE   2U
 Default seed life of TRNG DRBG. More...
 
#define XASU_DRBG_SEED_LEN_IN_BYTES   128U
 Seed length in bytes of TRNG DRBG. More...
 
#define XASU_PERS_STRING_LEN_IN_BYTES   48U
 Personalization string length in bytes. More...
 
#define XASU_OUTPUT_LENGTH_IN_BYTES   32U
 TRNG output in Bytes. More...
 

Functions

int main (void)
 Main function to call the TRNG APIs. More...
 

Variables

volatile u8 Notify = 0U
 To notify the call back from client library. More...
 
volatile u32 ErrorStatus = XST_FAILURE
 Status variable to store the error returned from server. More...
 

Macro Definition Documentation

#define XASU_DRBG_DEFAULT_DF_LENGTH   7U

Default DF length of TRNG DRBG.

#define XASU_DRBG_DEFAULT_SEED_LIFE   2U

Default seed life of TRNG DRBG.

#define XASU_DRBG_SEED_LEN_IN_BYTES   128U

Seed length in bytes of TRNG DRBG.

#define XASU_OUTPUT_LENGTH_IN_BYTES   32U

TRNG output in Bytes.

#define XASU_PERS_STRING_LEN_IN_BYTES   48U

Personalization string length in bytes.

Function Documentation

int main ( void  )

Main function to call the TRNG APIs.

Returns
  • XST_SUCCESS if example runs successfully.
  • ErrorCode if the example fails.

Variable Documentation

volatile u32 ErrorStatus = XST_FAILURE

Status variable to store the error returned from server.

volatile u8 Notify = 0U

To notify the call back from client library.