XSecure_RsaOperation - 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 function handles the all RSA operations with provided inputs.

Prototype

u32 XSecure_RsaOperation(XSecure_Rsa *InstancePtr, u8 *Input, u8 *Result, u8 EncDecFlag, u32 Size);

Parameters

The following table lists the XSecure_RsaOperation function arguments.

Table 1. XSecure_RsaOperation Arguments
Name Description
InstancePtr Pointer to the XSecure_Rsa instance.
Input Pointer to the buffer which contains the input data to be decrypted.
Result Pointer to the buffer where resultant decrypted data to be stored .

Returns

XST_SUCCESS on success.