Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdePkg/Library/BaseRngLib/
DBaseRng.c74 OUT UINT16 *Rand in GetRandomNumber16() argument
79 ASSERT (Rand != NULL); in GetRandomNumber16()
85 if (AsmRdRand16 (Rand)) { in GetRandomNumber16()
107 OUT UINT32 *Rand in GetRandomNumber32() argument
112 ASSERT (Rand != NULL); in GetRandomNumber32()
118 if (AsmRdRand32 (Rand)) { in GetRandomNumber32()
140 OUT UINT64 *Rand in GetRandomNumber64() argument
145 ASSERT (Rand != NULL); in GetRandomNumber64()
151 if (AsmRdRand64 (Rand)) { in GetRandomNumber64()
173 OUT UINT64 *Rand in GetRandomNumber128() argument
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Application/RngTest/
DRngTest.c47 UINT8 *Rand; in UefiMain() local
54 Rand = NULL; in UefiMain()
105 Rand = AllocatePool (RandSize); in UefiMain()
106 if (Rand == NULL) { in UefiMain()
114 Status = Rng->GetRNG (Rng, NULL, RandSize, Rand); in UefiMain()
125 Status = Rng->GetRNG (Rng, &gEfiRngAlgorithmSp80090Hmac256Guid, RandSize, Rand); in UefiMain()
136 Status = Rng->GetRNG (Rng, &gEfiRngAlgorithmSp80090Hash256Guid, RandSize, Rand); in UefiMain()
147 Status = Rng->GetRNG (Rng, &gEfiRngAlgorithmSp80090Ctr256Guid, RandSize, Rand); in UefiMain()
158 Status = Rng->GetRNG (Rng, &gEfiRngAlgorithmX9313DesGuid, RandSize, Rand); in UefiMain()
169 Status = Rng->GetRNG (Rng, &gEfiRngAlgorithmX931AesGuid, RandSize, Rand); in UefiMain()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DRngLib.h32 OUT UINT16 *Rand
49 OUT UINT32 *Rand
66 OUT UINT64 *Rand
83 OUT UINT64 *Rand
DBaseLib.h7664 OUT UINT16 *Rand
7681 OUT UINT32 *Rand
7698 OUT UINT64 *Rand
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/
DRdRand.asm31 ; Return TRUE if Rand generated successfully, or FALSE if not.
33 ; BOOLEAN EFIAPI AsmRdRand16 (UINT16 *Rand);
51 ; Return TRUE if Rand generated successfully, or FALSE if not.
53 ; BOOLEAN EFIAPI AsmRdRand32 (UINT32 *Rand);
71 ; Return TRUE if Rand generated successfully, or FALSE if not.
73 ; BOOLEAN EFIAPI AsmRdRand64 (UINT64 *Rand);
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/X64/
DRdRand.asm28 ; Return TRUE if Rand generated successfully, or FALSE if not.
30 ; BOOLEAN EFIAPI AsmRdRand16 (UINT16 *Rand);
47 ; Return TRUE if Rand generated successfully, or FALSE if not.
49 ; BOOLEAN EFIAPI AsmRdRand32 (UINT32 *Rand);
66 ; Return TRUE if Rand generated successfully, or FALSE if not.
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/
DSmmCryptLib.inf67 Rand/CryptRandTsc.c
70 Rand/CryptRandTsc.c
73 Rand/CryptRandItc.c
76 Rand/CryptRand.c
79 Rand/CryptRand.c
DBaseCryptLib.inf62 Rand/CryptRandTsc.c
65 Rand/CryptRandTsc.c
68 Rand/CryptRandItc.c
71 Rand/CryptRand.c
74 Rand/CryptRand.c
DRuntimeCryptLib.inf67 Rand/CryptRandTsc.c
70 Rand/CryptRandTsc.c
73 Rand/CryptRandItc.c
76 Rand/CryptRand.c
79 Rand/CryptRand.c
DPeiCryptLib.inf65 Rand/CryptRandNull.c
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
DStdLib.inf34 Rand.c
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiMisc.h200 IN OUT UINT8 *Rand,
DIScsiMisc.c499 IN OUT UINT8 *Rand, in IScsiGenRandom() argument
507 *Rand++ = (UINT8) (Random); in IScsiGenRandom()
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiMisc.h202 IN OUT UINT8 *Rand,
DIScsiMisc.c454 IN OUT UINT8 *Rand, in IScsiGenRandom() argument
462 *Rand++ = (UINT8) (Random); in IScsiGenRandom()
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/
DBaseCryptLibRuntimeCryptProtocol.inf57 Rand/CryptRandNull.c