trngpsv
Vitis Drivers API Documentation
xtrngpsv_df.c File Reference

Macros

#define DF_PAD_VAL   0x80U
 Value to be written to first byte of Padding data. More...
 
#define DF_KEY_LEN   32U
 Length of key for DF. More...
 

Functions

s32 XTrngpsv_DF (XTrngpsv *InstancePtr, u8 *DFOutput, u32 DF_Flag, const u8 *PersStrPtr)
 This function implements the Derivative Function (per NIST SP80090A) by distilling the entropy available in a lot of bits at its input (DFInput) into a smaller number of bits on the output (DFOutput), thus bringing entropy per bit to 1. More...