xilsecure
Vitis Drivers API Documentation
xsecure_resourcehandling.c File Reference

Overview

This file contains the resource handling functions.

This file will only be part of XilSecure when it is compiled for PLM.

MODIFICATION HISTORY:
Ver   Who  Date       Changes


1.0 pre 03/02/2025 Initial release pre 04/16/2025 Added core reset at resource freeing pre 05/10/2025 Added AES and SHA events queuing mechanism under XPLMI_IPI_DEVICE_ID macro

 

Macros

#define XSECURE_DATACONTEXTLOST_SET   (1U)
 Set value of data context lost. More...
 
#define XSECURE_DATACONTEXTLOST_CLR   (0U)
 Clear value of data context lost. More...
 

Functions

int XSecure_MakeResFree (XPlmi_CoreType Core)
 The function frees AES/SHA resource. More...
 
int XSecure_IpiEventHandling (XPlmi_Cmd *Cmd, XPlmi_CoreType Core)
 The function handles the SHA/AES IPI events. More...
 
int XSecure_SetDataContextLost (XPlmi_CoreType Core)
 This function sets the status of data context of previous AES/SHA operation. More...