XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_rx.c
int XHdcp1x_RxIsAuthenticated(const XHdcp1x *InstancePtr)
{
	int IsAuthenticated = FALSE;

	/* Verify argument. */
	Xil_AssertNonvoid(InstancePtr != NULL);

	/* Determine IsAuthenticated */
	if (InstancePtr->Rx.CurrentState == XHDCP1X_STATE_AUTHENTICATED) {
		IsAuthenticated = TRUE;
	}

	return (IsAuthenticated);
}
/*****************************************************************************/
/**
* This function queries an interface to check if its been authenticated.
*
* @param	InstancePtr is the receiver instance.
*
* @return	Truth value indicating authenticated (true) or not (false).
*
* @note		None.
*
******************************************************************************/
This function queries an interface to check if its been authenticated.
This function queries an interface to check if its been authenticated .
int XHdcp1x_RxIsAuthenticated(const XHdcp1x *InstancePtr)
{
	int IsAuthenticated = FALSE;
	Xil_AssertNonvoid(InstancePtr != NULL);
	if (InstancePtr->Rx.CurrentState == XHDCP1X_STATE_AUTHENTICATED) {
		IsAuthenticated = TRUE;
	}
	return (IsAuthenticated);
}
int XHdcp1x_RxIsAuthenticated ( const XHdcp1x * InstancePtr ) { int IsAuthenticated = FALSE ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; if ( InstancePtr -> Rx . CurrentState == XHDCP1X_STATE_AUTHENTICATED ) { IsAuthenticated = TRUE ; } return ( IsAuthenticated ) ; }
This function queries an interface to check if its been authenticated.
This function queries an interface to check if its been authenticated .
/* Verify argument. */ /* Determine IsAuthenticated */