XilinxProcessorIPLib/drivers/hdcp22_tx/src/xhdcp22_tx_crypt.c
void XHdcp22Tx_MemXor(u8 *Output, const u8 *InputA, const u8 *InputB,
                      unsigned int Size)
{
	/* Verify arguments */
	Xil_AssertVoid(Output != NULL);
	Xil_AssertVoid(InputA != NULL);
	Xil_AssertVoid(InputB != NULL);

	unsigned int i=0;
	for (i=0; i<Size; i++) {
		Output[i] = InputA[i] ^ InputB[i];
	}
}
/*****************************************************************************/
/**
*
* This function calculates a XOR on a array.
*
* @param  Output is the XOR of the input arrays.
* @param  InputA is a input array.
* @param  InputB is a input array.
* @param  Size is the size of the buffers to XOR.
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function calculates a XOR on a array.
This function calculates a XOR on a array .
void XHdcp22Tx_MemXor(u8 *Output, const u8 *InputA, const u8 *InputB,
                      unsigned int Size)
{
	Xil_AssertVoid(Output != NULL);
	Xil_AssertVoid(InputA != NULL);
	Xil_AssertVoid(InputB != NULL);
	unsigned int i=0;
	for (i=0; i<Size; i++) {
		Output[i] = InputA[i] ^ InputB[i];
	}
}
void XHdcp22Tx_MemXor ( u8 * Output , const u8 * InputA , const u8 * InputB , unsigned int Size ) { Xil_AssertVoid ( Output != NULL ) ; Xil_AssertVoid ( InputA != NULL ) ; Xil_AssertVoid ( InputB != NULL ) ; unsigned int i = 0 ; for ( i = 0 ; i < Size ; i ++ ) { Output [ i ] = InputA [ i ] ^ InputB [ i ] ; } }
This function calculates a XOR on a array.
This function calculates a XOR on a array .
/* Verify arguments */