xilasu
Vitis Drivers API Documentation
xasu_rsa.h File Reference

Overview

This file Contains the RSA client function prototypes, defines and macros for the RSA hardware module.

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.0 ss 08/20/24 Initial release ss 09/26/24 Fixed doxygen comments ss 02/04/25 Added client API's for RSA padding scheme

 

Functions

s32 XAsu_RsaEnc (XAsu_ClientParams *ClientParamPtr, XAsu_RsaParams *RsaClientParamPtr)
 This function sends a command to ASUFW to perform RSA encryption on the provided data by using specified public key. More...
 
s32 XAsu_RsaDec (XAsu_ClientParams *ClientParamPtr, XAsu_RsaParams *RsaClientParamPtr)
 This function sends command to ASUFW to perform RSA decryption on the provided data by using specified private key. More...
 
s32 XAsu_RsaCrtDec (XAsu_ClientParams *ClientParamPtr, XAsu_RsaParams *RsaClientParamPtr)
 This function sends command to ASUFW to perform RSA decryption using CRT algorithm for the provided message by using specified private key. More...
 
s32 XAsu_RsaKat (XAsu_ClientParams *ClientParamPtr)
 This function sends a command to ASUFW to perform RSA Known Answer Tests (KAT's). More...
 
s32 XAsu_RsaOaepEnc (XAsu_ClientParams *ClientParamPtr, XAsu_RsaOaepPaddingParams *RsaClientParamPtr)
 This function sends command to ASUFW to perform encoding using RSA OAEP padding algorithm by using the specified RSA key. More...
 
s32 XAsu_RsaOaepDec (XAsu_ClientParams *ClientParamPtr, XAsu_RsaOaepPaddingParams *RsaClientParamPtr)
 This function sends a command to ASUFW to perform decoding using RSA OAEP padding algorithm of the provided message by using the specified key. More...
 
s32 XAsu_RsaPssSignGen (XAsu_ClientParams *ClientParamPtr, XAsu_RsaPaddingParams *RsaClientParamPtr)
 This function sends a command to ASUFW to generate signature using RSA PSS padding on provided message by using the specified key. More...
 
s32 XAsu_RsaPssSignVer (XAsu_ClientParams *ClientParamPtr, XAsu_RsaPaddingParams *RsaClientParamPtr)
 This function sends request to ASUFW to verify the specified signature by using RSA PSS padding by using the provided key. More...