xilsecure
Vitis Drivers API Documentation
xsecure_mgf.c File Reference

Overview

This file contains code related to mask generate function.

MODIFICATION HISTORY:
Ver   Who     Date     Changes


5.2 kpt 06/23/23 Initial release dd 10/11/23 MISRA-C violation Rule 12.1 fixed dd 10/11/23 MISRA-C violation Rule 8.13 fixed 5.3 kpt 12/13/23 Added SHA384 MGF support kpt 03/22/24 Fixed MISRA-C violation Rule 17.7 kal 07/24/24 Code refactoring for versal_2ve_2vm

 

Macros

#define XSECURE_I2OSP_LIMIT   (256U)
 Integer to octet stream primitive limit. More...
 

Functions

XSecure_HashAlgInfoXSecure_GetHashInstance (XSecure_ShaMode Shatype)
 This function returns hash function list of user specified hash algorithm. More...
 
int XSecure_MaskGenFunc (XSecure_ShaMode ShaType, void *InstancePtr, XSecure_MgfInput *MgfInput)
 This function takes an input of variable length and a desired output length as input, and provides fixed output mask using cryptographic hash function. More...