Home
last modified time | relevance | path

Searched refs:TempRand (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/RandomNumberGenerator/RngDxe/
DRdRand.c38 UINT64 TempRand[2]; in RdRandGetBytes() local
41 IsRandom = GetRandomNumber128 (TempRand); in RdRandGetBytes()
45 if (Length >= sizeof (TempRand)) { in RdRandGetBytes()
46 WriteUnaligned64 ((UINT64*)RandBuffer, TempRand[0]); in RdRandGetBytes()
48 WriteUnaligned64 ((UINT64*)RandBuffer, TempRand[1]); in RdRandGetBytes()
50 Length -= sizeof (TempRand); in RdRandGetBytes()
52 CopyMem (RandBuffer, TempRand, Length); in RdRandGetBytes()