![]() |
xilsecure
Vitis Drivers API Documentation
|
This file contains Versal Net specific code for Xilsecure rsa server.
MODIFICATION HISTORY:
Ver Who Date Changes
5.2 kpt 06/23/23 Initial release 5.3 am 09/28/23 Added wrapper functions for IPCore's RSA APIs dd 10/11/23 MISRA-C violation Rule 10.3 fixed dd 10/11/23 MISRA-C violation Rule 12.1 fixed dd 10/11/23 MISRA-C violation Rule 8.13 fixed kpt 12/13/23 Added RSA CRT support for RSA keyunwrap 5.3 ng 01/28/24 Added SDT support ng 03/26/24 Fixed header include in SDT flow kpt 03/22/24 Fix MISRA C violation of Rule 10.3 5.4 yog 04/29/24 Fixed doxygen warnings. kpt 05/26/24 Added RSA Expopt API. kpt 06/13/24 Add support for RSA key generation. kpt 07/04/24 Add major error code for RSA key pair generation. kal 07/24/24 Code refactoring changes for versal_2ve_2vm mb 10/14/24 Removed duplicate definitions
Macros | |
| #define | XSECURE_RSA_MAX_MSG_SIZE_IN_BYTES |
| RSA maximum message size in bytes. More... | |
| #define | XSECURE_RSA_MAX_PS_SIZE_IN_BYTES (XSECURE_RSA_MAX_MSG_SIZE_IN_BYTES) |
| RSA maximum PS size in bytes. More... | |
| #define | XSECURE_RSA_MAX_DB_SIZE_IN_BYTES |
| RSA maximum DB size in bytes. More... | |
Functions | |
| int | XSecure_RsaOaepEncrypt (XSecure_Rsa *InstancePtr, XSecure_RsaOaepParam *OaepParam) |
| This function encodes the given message using RSA OAEP and encrypts it. More... | |
| int | XSecure_RsaOaepDecrypt (XSecure_RsaPrivKey *PrivKey, XSecure_RsaOaepParam *OaepParam) |
| This function decodes the given message and decrypts it using RSA OAEP. More... | |
| int | XSecure_AddRsaKeyPairGenerationToScheduler (void) |
| This function adds periodic task of generation RSA key pair to scheduler. More... | |
| u32 | XSecure_GetRsaKeyInUseIdx (void) |
| This function returns RSA key inuse index. More... | |
| int | XSecure_RsaDestroyKeyInUse (void) |
| This function destroys the RSA key in use. More... | |
| XSecure_RsaPrivKey * | XSecure_GetRsaPrivateKey (u32 RsaIdx) |
| This function returns RSA private key. More... | |
| XSecure_RsaPubKey * | XSecure_GetRsaPublicKey (u32 RsaIdx) |
| This function returns RSA public key. More... | |