xilsecure
Vitis Drivers API Documentation
xsecure_rsaclient.c File Reference

Overview

This file contains the implementation of the client interface functions for RSA driver.

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.0 kal 03/23/21 Initial release 4.5 kal 03/23/20 Updated file version to sync with library version 4.6 kpt 09/27/21 Fixed compilation warnings 4.7 kpt 11/29/21 Replaced Xil_DCacheFlushRange with XSecure_DCacheFlushRange kpt 01/13/21 Allocated CDO structure's in shared memory set by the user am 03/08/22 Fixed MISRA C violations kpt 03/16/22 Removed IPI related code and added mailbox support 5.0 kpt 07/24/22 Moved XSecure_RsaKat into xsecure_katclient.c 5.2 am 03/09/23 Replaced xsecure payload lengths with xmailbox payload lengths yog 05/04/23 Fixed HIS COMF violations 5.4 yog 04/29/24 Fixed doxygen warnings. pre 08/29/24 APIs are updated for SSIT support

 

Functions

int XSecure_RsaPrivateDecrypt (XSecure_ClientInstance *InstancePtr, const u64 KeyAddr, const u64 InDataAddr, const u32 Size, const u64 OutDataAddr)
 This function sends IPI request to Perform RSA decryption with private key. More...
 
int XSecure_RsaPublicEncrypt (XSecure_ClientInstance *InstancePtr, const u64 KeyAddr, const u64 InDataAddr, const u32 Size, const u64 OutDataAddr)
 This function sends IPI request to Perform RSA encryption with public key. More...
 
int XSecure_RsaSignVerification (XSecure_ClientInstance *InstancePtr, const u64 SignAddr, const u64 HashAddr, const u32 Size)
 This function sends IPI request to Perform RSA sign verification. More...