XilinxProcessorIPLib/drivers/hdcp22_tx/src/xhdcp22_tx_crypt.c
void XHdcp22Tx_GenerateRandom(XHdcp22_Tx *InstancePtr, int NumOctets,
                              u8* RandomNumberPtr)
{
	/* Verify arguments */
	Xil_AssertVoid(InstancePtr != NULL);

	/* Use hardware generator */
	XHdcp22Rng_GetRandom(&InstancePtr->Rng, RandomNumberPtr, NumOctets, NumOctets);
}
/*****************************************************************************/
/**
*
* This function generates random octets.
* Otherwise it uses offloading from hardware.
*
* @param  NumOctets is the number of octets in the random number.
* @param  RandomNumberPtr is a pointer to the random number.
*
* @return None.
*
* @note   None.
*
******************************************************************************/
This function generates random octets.
Otherwise it uses offloading from hardware.
This function generates random octets . Otherwise it uses offloading from hardware .
void XHdcp22Tx_GenerateRandom(XHdcp22_Tx *InstancePtr, int NumOctets,
                              u8* RandomNumberPtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	XHdcp22Rng_GetRandom(&InstancePtr->Rng, RandomNumberPtr, NumOctets, NumOctets);
}
void XHdcp22Tx_GenerateRandom ( XHdcp22_Tx * InstancePtr , int NumOctets , u8 * RandomNumberPtr ) { Xil_AssertVoid ( InstancePtr != NULL ) ; XHdcp22Rng_GetRandom ( & InstancePtr -> Rng , RandomNumberPtr , NumOctets , NumOctets ) ; }
This function generates random octets.
This function generates random octets .
/* Verify arguments */ /* Use hardware generator */