XilinxProcessorIPLib/drivers/hdcp22_tx/src/xhdcp22_tx_test.c
const u8* XHdcp22Tx_TestGetKPubDpc(XHdcp22_Tx *InstancePtr)
{
	if (InstancePtr->Test.TestMode == XHDCP22_TX_TESTMODE_SW_RX ||
	    InstancePtr->Test.TestMode == XHDCP22_TX_TESTMODE_NO_RX ||
	    InstancePtr->Test.TestMode == XHDCP22_TX_TESTMODE_UNIT  ||
	    InstancePtr->Test.TestMode == XHDCP22_TX_TESTMODE_USE_TESTKEYS) {
		return XHdcp22_Tx_Test_Kpubdcp;
	}

	return NULL;
}
/*****************************************************************************/
/**
*
* This function returns a pointer to the KPubDpc testvector, or NULL if
* not in test mode.
*
* @param  InstancePtr is a pointer to the HDCP22 TX core instance.
*
* @return A pointer to the LLC public test vector KPubDpc or NULL if not in
*         test mode without RX.
* @note   None.
*
******************************************************************************/
This function returns a pointer to the KPubDpc testvector, or NULL if
not in test mode.
This function returns a pointer to the KPubDpc testvector or NULL if not in test mode .
const u8* XHdcp22Tx_TestGetKPubDpc(XHdcp22_Tx *InstancePtr)
{
	if (InstancePtr->Test.TestMode == XHDCP22_TX_TESTMODE_SW_RX ||
	    InstancePtr->Test.TestMode == XHDCP22_TX_TESTMODE_NO_RX ||
	    InstancePtr->Test.TestMode == XHDCP22_TX_TESTMODE_UNIT  ||
	    InstancePtr->Test.TestMode == XHDCP22_TX_TESTMODE_USE_TESTKEYS) {
		return XHdcp22_Tx_Test_Kpubdcp;
	}
	return NULL;
}
const u8 * XHdcp22Tx_TestGetKPubDpc ( XHdcp22_Tx * InstancePtr ) { if ( InstancePtr -> Test . TestMode == XHDCP22_TX_TESTMODE_SW_RX || InstancePtr -> Test . TestMode == XHDCP22_TX_TESTMODE_NO_RX || InstancePtr -> Test . TestMode == XHDCP22_TX_TESTMODE_UNIT || InstancePtr -> Test . TestMode == XHDCP22_TX_TESTMODE_USE_TESTKEYS ) { return XHdcp22_Tx_Test_Kpubdcp ; } return NULL ; }
This function returns a pointer to the KPubDpc testvector, or NULL if
not in test mode.
This function returns a pointer to the KPubDpc testvector or NULL if not in test mode .