lib/sw_services/xilsecure/src/common/xsecure_rsa.c
int XSecure_RsaSignVerification(const u8 *Signature, const u8 *Hash,
	u32 HashLen)
{
	return XSecure_RsaSignVerification_64Bit((u64)(UINTPTR)Signature,
			(u64)(UINTPTR)Hash, HashLen);
}
/*****************************************************************************/
/**
 * @brief	This function verifies the RSA decrypted data provided is either
 *  		matching with the provided expected hash by taking care of PKCS
 *		padding
 *
 * @param	Signature - Pointer to the buffer which holds the decrypted
 *			    RSA signature
 * @param	Hash	  - Pointer to the buffer which has the hash calculated
 *		 	    on the data to be authenticated
 * @param	HashLen	  - Length of Hash used
 *			  - For SHA3 it should be 48 bytes
 *
 * @return	- XST_SUCCESS - If decryption was successful
 *		- XSECURE_RSA_INVALID_PARAM - On invalid arguments
 *		- XST_FAILURE - In case of mismatch
 *
 ******************************************************************************/
@brief       This function verifies the RSA decrypted data provided is either
matching with the provided expected hash by taking care of PKCS
padding

@param       Signature - Pointer to the buffer which holds the decrypted
RSA signature
@param       Hash      - Pointer to the buffer which has the hash calculated
on the data to be authenticated
@param       HashLen   - Length of Hash used
- For SHA3 it should be 48 bytes


@brief This function verifies the RSA decrypted data provided is either matching with the provided expected hash by taking care of PKCS padding @param Signature - Pointer to the buffer which holds the decrypted RSA signature @param Hash - Pointer to the buffer which has the hash calculated on the data to be authenticated @param HashLen - Length of Hash used - For SHA3 it should be 48 bytes
int XSecure_RsaSignVerification(const u8 *Signature, const u8 *Hash,
	u32 HashLen)
{
	return XSecure_RsaSignVerification_64Bit((u64)(UINTPTR)Signature,
			(u64)(UINTPTR)Hash, HashLen);
}
int XSecure_RsaSignVerification ( const u8 * Signature , const u8 * Hash , u32 HashLen ) { return XSecure_RsaSignVerification_64Bit ( ( u64 ) ( UINTPTR ) Signature , ( u64 ) ( UINTPTR ) Hash , HashLen ) ; }
@brief       This function verifies the RSA decrypted data provided is either
              matching with the provided expected hash by taking care of PKCS
              padding
@brief This function verifies the RSA decrypted data provided is either matching with the provided expected hash by taking care of PKCS padding