XilinxProcessorIPLib/drivers/hdcp22_tx_dp/src/xhdcp22_tx.c
static void XHdcp22Tx_HandleReauthenticationRequest(XHdcp22_Tx * InstancePtr)
{
	InstancePtr->Info.ReAuthenticationRequested = (TRUE);
	InstancePtr->Info.AuthenticationStatus = XHDCP22_TX_REAUTHENTICATE_REQUESTED;

	/* Reset cipher */
	XHdcp22Tx_DisableEncryption(InstancePtr);
	XHdcp22Cipher_Disable(&InstancePtr->Cipher);
	XHdcp22Cipher_Enable(&InstancePtr->Cipher);

	/* Increment re-authentication request count */
	InstancePtr->Info.ReauthRequestCnt++;

	/* Clear Topology Available flag */
	InstancePtr->Info.IsTopologyAvailable = (FALSE);

	if (InstancePtr->IsUnauthenticatedCallbackSet)
		InstancePtr->UnauthenticatedCallback(InstancePtr->UnauthenticatedCallbackRef);
}
/*****************************************************************************/
/**
*
* This function handles reauthentication requests.
*
* @param  InstancePtr is a pointer to the XHdcp22Tx core instance.
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function handles reauthentication requests.
This function handles reauthentication requests .
static void XHdcp22Tx_HandleReauthenticationRequest(XHdcp22_Tx * InstancePtr)
{
	InstancePtr->Info.ReAuthenticationRequested = (TRUE);
	InstancePtr->Info.AuthenticationStatus = XHDCP22_TX_REAUTHENTICATE_REQUESTED;
	XHdcp22Tx_DisableEncryption(InstancePtr);
	XHdcp22Cipher_Disable(&InstancePtr->Cipher);
	XHdcp22Cipher_Enable(&InstancePtr->Cipher);
	InstancePtr->Info.ReauthRequestCnt++;
	InstancePtr->Info.IsTopologyAvailable = (FALSE);
	if (InstancePtr->IsUnauthenticatedCallbackSet)
		InstancePtr->UnauthenticatedCallback(InstancePtr->UnauthenticatedCallbackRef);
}
static void XHdcp22Tx_HandleReauthenticationRequest ( XHdcp22_Tx * InstancePtr ) { InstancePtr -> Info . ReAuthenticationRequested = ( TRUE ) ; InstancePtr -> Info . AuthenticationStatus = XHDCP22_TX_REAUTHENTICATE_REQUESTED ; XHdcp22Tx_DisableEncryption ( InstancePtr ) ; XHdcp22Cipher_Disable ( & InstancePtr -> Cipher ) ; XHdcp22Cipher_Enable ( & InstancePtr -> Cipher ) ; InstancePtr -> Info . ReauthRequestCnt ++ ; InstancePtr -> Info . IsTopologyAvailable = ( FALSE ) ; if ( InstancePtr -> IsUnauthenticatedCallbackSet ) InstancePtr -> UnauthenticatedCallback ( InstancePtr -> UnauthenticatedCallbackRef ) ; }
This function handles reauthentication requests.
This function handles reauthentication requests .
/* Reset cipher */ /* Increment re-authentication request count */ /* Clear Topology Available flag */