lib/sw_apps/rsa_auth_app/src/rsa_auth_app.c
static int AuthenticateApp(void)
{
	/*
	 * Set the Ppk
	 */
	SetPpk((u8 *)CERTIFICATE_START_ADDR);

	/*
	 * Authenticate partition containing the application.
	 */
	return AuthenticatePartition((u8 *)APPLICATION_START_ADDR,
			PARTITION_SIZE, (u8 *)CERTIFICATE_START_ADDR);
}
/*****************************************************************************/
/**
*
* This function authenticates the SW application given by the user
*
* @param	None
*
* @return	XST_SUCCESS if authentication was successful.
*           XST_FAILURE if authentication failed
*
* @note		None
*
******************************************************************************/
This function authenticates the SW application given by the user
This function authenticates the SW application given by the user
static int AuthenticateApp(void)
{
	SetPpk((u8 *)CERTIFICATE_START_ADDR);
	return AuthenticatePartition((u8 *)APPLICATION_START_ADDR,
			PARTITION_SIZE, (u8 *)CERTIFICATE_START_ADDR);
}
static int AuthenticateApp ( void ) { SetPpk ( ( u8 * ) CERTIFICATE_START_ADDR ) ; return AuthenticatePartition ( ( u8 * ) APPLICATION_START_ADDR , PARTITION_SIZE , ( u8 * ) CERTIFICATE_START_ADDR ) ; }
This function authenticates the SW application given by the user
This function authenticates the SW application given by the user
/*
	 * Set the Ppk
	 */ /*
	 * Authenticate partition containing the application.
	 */