XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_cipher.c
u64 XHdcp1x_CipherGetRemoteKsv(const XHdcp1x *InstancePtr)
{
	u64 Ksv = 0;

	/* Verify arguments. */
	Xil_AssertNonvoid(InstancePtr != NULL);

	/* Determine Ksv */
	Ksv = XHdcp1x_ReadReg(InstancePtr->Config.BaseAddress,
		XHDCP1X_CIPHER_REG_KSV_REMOTE_H);
	Ksv <<= 32;
	Ksv |= XHdcp1x_ReadReg(InstancePtr->Config.BaseAddress,
		XHDCP1X_CIPHER_REG_KSV_REMOTE_L);

	return (Ksv);
}
/*****************************************************************************/
/**
* This function reads the remote KSV value from the cipher.
*
* @param	InstancePtr is the device to query.
*
* @return	The remote KSV value.
*
* @note		None.
*
******************************************************************************/
This function reads the remote KSV value from the cipher.
This function reads the remote KSV value from the cipher .
u64 XHdcp1x_CipherGetRemoteKsv(const XHdcp1x *InstancePtr)
{
	u64 Ksv = 0;
	Xil_AssertNonvoid(InstancePtr != NULL);
	Ksv = XHdcp1x_ReadReg(InstancePtr->Config.BaseAddress,
		XHDCP1X_CIPHER_REG_KSV_REMOTE_H);
	Ksv <<= 32;
	Ksv |= XHdcp1x_ReadReg(InstancePtr->Config.BaseAddress,
		XHDCP1X_CIPHER_REG_KSV_REMOTE_L);
	return (Ksv);
}
u64 XHdcp1x_CipherGetRemoteKsv ( const XHdcp1x * InstancePtr ) { u64 Ksv = 0 ; Xil_AssertNonvoid ( InstancePtr != NULL ) ; Ksv = XHdcp1x_ReadReg ( InstancePtr -> Config . BaseAddress , XHDCP1X_CIPHER_REG_KSV_REMOTE_H ) ; Ksv <<= 32 ; Ksv |= XHdcp1x_ReadReg ( InstancePtr -> Config . BaseAddress , XHDCP1X_CIPHER_REG_KSV_REMOTE_L ) ; return ( Ksv ) ; }
This function reads the remote KSV value from the cipher.
This function reads the remote KSV value from the cipher .
/* Verify arguments. */ /* Determine Ksv */