XilinxProcessorIPLib/drivers/hdcp22_tx/src/xhdcp22_tx_test.c
const u8* XHdcp22Tx_TestGetSrm(XHdcp22_Tx *InstancePtr, u8 Select)
{
	switch (Select) {
		case 0 :
			return XHdcp22_Tx_Test_SrmErrata;

		case 1 :
			return XHdcp22_Tx_Test_SrmDCPSiteTest;

		case 2 :
			return XHdcp22_Tx_Test_SrmDCPSiteProduction;

		default :
			return NULL;
	}
}
/*****************************************************************************/
/**
*
* This function returns a pointer to the SRM testvector
*
* @param  InstancePtr is a pointer to the HDCP22 TX core instance.
* @param  Select specifies the SRM to return
*    - 0 : HDCP2 SRM from the HDCP 2.2 Errata (February 9th, 2015)
*    - 1 : TEST HDCP2 SRM from the DCP LLC website (TEST HDCP2.SRM)
*    - 2 : Production HDCP2 SRM from the DCP LLC website (HDCP2.SRM)
* @return A pointer to the SRM test vector or NULL if invalid an
*         invalid selection was specified.
*
* @note   None.
*
******************************************************************************/
This function returns a pointer to the SRM testvector
This function returns a pointer to the SRM testvector
const u8* XHdcp22Tx_TestGetSrm(XHdcp22_Tx *InstancePtr, u8 Select)
{
	switch (Select) {
		case 0 :
			return XHdcp22_Tx_Test_SrmErrata;
		case 1 :
			return XHdcp22_Tx_Test_SrmDCPSiteTest;
		case 2 :
			return XHdcp22_Tx_Test_SrmDCPSiteProduction;
		default :
			return NULL;
	}
}
const u8 * XHdcp22Tx_TestGetSrm ( XHdcp22_Tx * InstancePtr , u8 Select ) { switch ( Select ) { case 0 : return XHdcp22_Tx_Test_SrmErrata ; case 1 : return XHdcp22_Tx_Test_SrmDCPSiteTest ; case 2 : return XHdcp22_Tx_Test_SrmDCPSiteProduction ; default : return NULL ; } }
This function returns a pointer to the SRM testvector
This function returns a pointer to the SRM testvector