XilinxProcessorIPLib/drivers/dp14rxss/src/xdprxss.c
void XDpRxSs_Hdcp22SetKey(XDpRxSs *InstancePtr,
		XDpRxSs_Hdcp22KeyType KeyType, u8 *KeyPtr)
{
	/* Verify argument. */
	Xil_AssertVoid(InstancePtr);
	Xil_AssertVoid((KeyType == XDPRXSS_KEY_HDCP22_LC128) ||
			(KeyType == XDPRXSS_KEY_HDCP22_PRIVATE))
	switch (KeyType) {
		/* HDCP 2.2 LC128 */
		case XDPRXSS_KEY_HDCP22_LC128 :
			InstancePtr->Hdcp22Lc128Ptr = KeyPtr;
			break;
		/* HDCP 2.2 Private key */
		case XDPRXSS_KEY_HDCP22_PRIVATE :
			InstancePtr->Hdcp22PrivateKeyPtr = KeyPtr;
			break;
		default :
			break;
	}
}
/*****************************************************************************/
/**
 *
 * This function sets pointers to the HDCP 2.2 keys.
 *
 * @param InstancePtr is a pointer to the XDpRxSs instance.
 * @param KeyType is the type of the key that is being set.
 * @param KeyPtr is the pointer to the key buffer
 *
 * @return None.
 *
 * @note   None.
 *
 ******************************************************************************/
This function sets pointers to the HDCP 2.2 keys.
@param InstancePtr is a pointer to the XDpRxSs instance.
@param KeyType is the type of the key that is being set.
@param KeyPtr is the pointer to the key buffer

@return None.

@note   None.
This function sets pointers to the HDCP 2 . 2 keys . @param InstancePtr is a pointer to the XDpRxSs instance . @param KeyType is the type of the key that is being set . @param KeyPtr is the pointer to the key buffer @return None . @note None .
void XDpRxSs_Hdcp22SetKey(XDpRxSs *InstancePtr,
		XDpRxSs_Hdcp22KeyType KeyType, u8 *KeyPtr)
{
	Xil_AssertVoid(InstancePtr);
	Xil_AssertVoid((KeyType == XDPRXSS_KEY_HDCP22_LC128) ||
			(KeyType == XDPRXSS_KEY_HDCP22_PRIVATE))
	switch (KeyType) {
		case XDPRXSS_KEY_HDCP22_LC128 :
			InstancePtr->Hdcp22Lc128Ptr = KeyPtr;
			break;
		case XDPRXSS_KEY_HDCP22_PRIVATE :
			InstancePtr->Hdcp22PrivateKeyPtr = KeyPtr;
			break;
		default :
			break;
	}
}
void XDpRxSs_Hdcp22SetKey ( XDpRxSs * InstancePtr , XDpRxSs_Hdcp22KeyType KeyType , u8 * KeyPtr ) { Xil_AssertVoid ( InstancePtr ) ; Xil_AssertVoid ( ( KeyType == XDPRXSS_KEY_HDCP22_LC128 ) || ( KeyType == XDPRXSS_KEY_HDCP22_PRIVATE ) ) switch ( KeyType ) { case XDPRXSS_KEY_HDCP22_LC128 : InstancePtr -> Hdcp22Lc128Ptr = KeyPtr ; break ; case XDPRXSS_KEY_HDCP22_PRIVATE : InstancePtr -> Hdcp22PrivateKeyPtr = KeyPtr ; break ; default : break ; } }
This function sets pointers to the HDCP 2.2 keys.
This function sets pointers to the HDCP 2 . 2 keys .
/* Verify argument. */ /* HDCP 2.2 LC128 */ /* HDCP 2.2 Private key */