Home
last modified time | relevance | path

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

/device/linaro/bootloader/OpenPlatformPkg/Library/UsbSerialNumberLib/
DUsbSerialNumberLib.c63 OUT RANDOM_SERIAL_NUMBER *RandomSN in GenerateUsbSNBySeed() argument
69 if (RandomSN == NULL) { in GenerateUsbSNBySeed()
72 ZeroMem (RandomSN, sizeof (RANDOM_SERIAL_NUMBER)); in GenerateUsbSNBySeed()
77 RandomSN->Data = (Tmp << 32) | Seed; in GenerateUsbSNBySeed()
78 UnicodeSPrint (RandomSN->UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), L"%lx", RandomSN->Data); in GenerateUsbSNBySeed()
79 RandomSN->Magic = RANDOM_MAGIC; in GenerateUsbSNBySeed()
91 RANDOM_SERIAL_NUMBER RandomSN; in GenerateUsbSN() local
96 ZeroMem (&RandomSN, sizeof (RANDOM_SERIAL_NUMBER)); in GenerateUsbSN()
102 RandomSN.Data = (Tmp << 32) | Seed; in GenerateUsbSN()
103 UnicodeSPrint (RandomSN.UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), L"%lx", RandomSN.Data); in GenerateUsbSN()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/
DHiKeyDxe.c139 RANDOM_SERIAL_NUMBER *RandomSN; in AbootimgAppendKernelArgs() local
181 RandomSN = (RANDOM_SERIAL_NUMBER *)DataPtr; in AbootimgAppendKernelArgs()
182 if (RandomSN->Magic != RANDOM_MAGIC) { in AbootimgAppendKernelArgs()
184 RandomSN->UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), in AbootimgAppendKernelArgs()
191 RandomSN->UnicodeSN in AbootimgAppendKernelArgs()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960Dxe/
DHiKey960Dxe.c379 RANDOM_SERIAL_NUMBER *RandomSN; in AbootimgAppendKernelArgs() local
421 RandomSN = (RANDOM_SERIAL_NUMBER *)DataPtr; in AbootimgAppendKernelArgs()
422 if (RandomSN->Magic != RANDOM_MAGIC) { in AbootimgAppendKernelArgs()
424 RandomSN->UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), in AbootimgAppendKernelArgs()
432 RandomSN->UnicodeSN in AbootimgAppendKernelArgs()
438 RandomSN->UnicodeSN in AbootimgAppendKernelArgs()
/device/linaro/bootloader/OpenPlatformPkg/Include/Library/
DUsbSerialNumberLib.h31 OUT RANDOM_SERIAL_NUMBER *RandomSN