TianoCore EDK2 master
Loading...
Searching...
No Matches
X86RdRand.c
Go to the documentation of this file.
1
10#include "BaseLibInternals.h"
11
23BOOLEAN
24EFIAPI
26 OUT UINT16 *Rand
27 )
28{
29 ASSERT (Rand != NULL);
30 return InternalX86RdRand16 (Rand);
31}
32
44BOOLEAN
45EFIAPI
47 OUT UINT32 *Rand
48 )
49{
50 ASSERT (Rand != NULL);
51 return InternalX86RdRand32 (Rand);
52}
53
65BOOLEAN
66EFIAPI
68 OUT UINT64 *Rand
69 )
70{
71 ASSERT (Rand != NULL);
72 return InternalX86RdRand64 (Rand);
73}
#define NULL
Definition: Base.h:319
#define OUT
Definition: Base.h:284
UINTN Rand(VOID)
Definition: Support.c:39
BOOLEAN EFIAPI AsmRdRand32(OUT UINT32 *Rand)
Definition: X86RdRand.c:46
BOOLEAN EFIAPI AsmRdRand64(OUT UINT64 *Rand)
Definition: X86RdRand.c:67
BOOLEAN EFIAPI AsmRdRand16(OUT UINT16 *Rand)
Definition: X86RdRand.c:25