XilSecure RSA Common APIs - 2023.1 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 English

This section provides RSA common APIS for Zynq UltraScale+ MPSoC and Versal adaptive SoC.

Table 1. Quick Function Reference
Type Name Arguments
int XSecure_RsaInitialize
  • XSecure_Rsa * InstancePtr
  • u8 * Mod
  • u8 * ModExt
  • u8 * ModExpo
int XSecure_RsaInitialize_64Bit
  • XSecure_Rsa * InstancePtr
  • u64 Mod
  • u64 ModExt
  • u64 ModExpo
int XSecure_RsaSignVerification
  • const u8 * Signature
  • const u8 * Hash
  • u32 HashLen
int XSecure_RsaSignVerification_64Bit
  • const u64 Signature
  • const u64 Hash
  • u32 HashLen
int XSecure_RsaPublicEncrypt
  • XSecure_Rsa * InstancePtr
  • u8 * Input
  • u32 Size
  • u8 * Result
int XSecure_RsaPublicEncrypt_64Bit
  • XSecure_Rsa * InstancePtr
  • u64 Input
  • u32 Size
  • u64 Result
int XSecure_RsaPrivateDecrypt
  • XSecure_Rsa * InstancePtr
  • u8 * Input
  • u32 Size
  • u8 * Result
int XSecure_RsaPrivateDecrypt_64Bit
  • XSecure_Rsa * InstancePtr
  • u64 Input
  • u32 Size
  • u64 Result