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.
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.