XilinxProcessorIPLib/drivers/hdcp22_tx_dp/src/xhdcp22_tx.c
int XHdcp22Tx_EnableEncryption(XHdcp22_Tx *InstancePtr)
{

	Xil_AssertNonvoid(InstancePtr != NULL);

	if (XHdcp22Tx_IsAuthenticated(InstancePtr)) {
		XHdcp22Cipher_EnableTxEncryption(&InstancePtr->Cipher);
		XHdcp22Tx_LogWr(InstancePtr, XHDCP22_TX_LOG_EVT_ENCR_ENABLED, 1);
		return XST_SUCCESS;
  }

  return XST_FAILURE;
}
/*****************************************************************************/
/**
*
* This function enables HDMI stream encryption by enabling the cipher.
*
* @param  InstancePtr is a pointer to the XHdcp22Tx core instance.
*
* @return - XST_SUCCESS if authenticated is started successfully.
*         - XST_FAIL if the state machine is disabled.
*
* @note   None.
*
******************************************************************************/
This function enables HDMI stream encryption by enabling the cipher.
This function enables HDMI stream encryption by enabling the cipher .
int XHdcp22Tx_EnableEncryption(XHdcp22_Tx *InstancePtr)
{
	Xil_AssertNonvoid(InstancePtr != NULL);
	if (XHdcp22Tx_IsAuthenticated(InstancePtr)) {
		XHdcp22Cipher_EnableTxEncryption(&InstancePtr->Cipher);
		XHdcp22Tx_LogWr(InstancePtr, XHDCP22_TX_LOG_EVT_ENCR_ENABLED, 1);
		return XST_SUCCESS;
  }
  return XST_FAILURE;
}
int XHdcp22Tx_EnableEncryption ( XHdcp22_Tx * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; if ( XHdcp22Tx_IsAuthenticated ( InstancePtr ) ) { XHdcp22Cipher_EnableTxEncryption ( & InstancePtr -> Cipher ) ; XHdcp22Tx_LogWr ( InstancePtr , XHDCP22_TX_LOG_EVT_ENCR_ENABLED , 1 ) ; return XST_SUCCESS ; } return XST_FAILURE ; }
This function enables HDMI stream encryption by enabling the cipher.
This function enables HDMI stream encryption by enabling the cipher .