xilsecure
Vitis Drivers API Documentation
xsecure_init.c File Reference

Overview

This file contains the initialization functions to be called by PLM.

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

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.0 rpo 06/25/2020 Initial release 4.3 rpo 06/25/2020 Updated file version to sync with library version rpo 08/19/2020 Clear the tamper interrupt source am 09/24/2020 Resolved MISRA C violations har 10/12/2020 Addressed security review comments 4.5 ma 04/05/2021 Use error mask instead of ID to set an error action bm 05/13/2021 Add common crypto instances 4.6 har 07/14/2021 Fixed doxygen warnings 4.7 ma 07/08/2022 Added support for secure lockdown 5.1 dc 12/27/2022 Added SHA1 instance 5.2 yog 08/07/2023 Moved Trng init API to xsecure_plat.c 5.4 kpt 06/23/2024 Added XSecure_AddRsaKeyPairGenerationToScheduler kpt 07/17/2024 Remove RSA keypair generation support on QEMU kal 07/24/2024 Code refactoring for versal_2ve_2vm pre 03/02/2025 Modified XSecure_Init for initialization of AES and SHA in server mode sd 04/30/2025 Make XSecure_AesShaInit as non static function and move XSecure_QueuesAndTaskInit to XSecure_Init function pre 05/10/2025 Added AES and SHA events queuing mechanism under XPLMI_IPI_DEVICE_ID macro

 

Functions

int XSecure_AesShaInit (void)
 This function initializes AES and SHA hardware instances. More...
 
int XSecure_Init (XSecure_PartialPdiEventParams *PpdiEventParamsPtr)
 This function registers the handlers for XilSecure IPI commands. More...
 
XSecure_Sha * XSecure_GetSha3Instance (u32 DeviceId)
 This function provides the pointer to the sha3 instance. More...
 
XSecure_Sha * XSecure_GetSha2Instance (u32 DeviceId)
 This function provides the pointer to the sha2 instance. More...
 
XSecure_Aes * XSecure_GetAesInstance (void)
 This function provides the pointer to the common Aes instance which has to be used between PLM and xilsecure server. More...
 
XSecure_RsaXSecure_GetRsaInstance (void)
 This function provides the pointer to the common Rsa instance which has to be used between PLM and xilsecure server. More...
 
XSecure_Sha * XSecure_GetShaInstance (u32 DeviceId)
 This function provides the pointer to the sha instance based on the DevieId. More...