xilasu
Vitis Drivers API Documentation
xasu_trng.h File Reference

Overview

This file Contains the TRNG client function prototypes, defines and macros for the ASU TRNG hardware module.

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.0 vns 08/23/24 Initial release yog 09/26/24 Added doxygen groupings. 1.1 ma 02/07/25 Added DRBG support in client

 

Macros

#define XASU_TRNG_RANDOM_NUM_IN_BYTES   32U
 Security strength in Bytes. More...
 

Functions

s32 XAsu_TrngGetRandomNum (XAsu_ClientParams *ClientParamPtr, const u8 *BufPtr, u32 Length)
 This function sends a command to ASUFW to generate the random number using TRNG. More...
 
s32 XAsu_TrngKat (XAsu_ClientParams *ClientParamPtr)
 This function sends a command to ASUFW to run the TRNG Known Answer Tests (KAT's). More...