TianoCore EDK2 master
Loading...
Searching...
No Matches
BaseRngLibNull.c
Go to the documentation of this file.
1
10#include <Uefi.h>
11#include <Library/DebugLib.h>
12#include <Library/RngLib.h>
13#include <Protocol/Rng.h>
14
26BOOLEAN
27EFIAPI
29 OUT UINT16 *Rand
30 )
31{
32 ASSERT (FALSE);
33 return FALSE;
34}
35
47BOOLEAN
48EFIAPI
50 OUT UINT32 *Rand
51 )
52{
53 ASSERT (FALSE);
54 return FALSE;
55}
56
68BOOLEAN
69EFIAPI
71 OUT UINT64 *Rand
72 )
73{
74 ASSERT (FALSE);
75 return FALSE;
76}
77
89BOOLEAN
90EFIAPI
92 OUT UINT64 *Rand
93 )
94{
95 ASSERT (FALSE);
96 return FALSE;
97}
98
110EFIAPI
112 GUID *RngGuid
113 )
114{
115 return EFI_UNSUPPORTED;
116}
BOOLEAN EFIAPI GetRandomNumber16(OUT UINT16 *Rand)
EFI_STATUS EFIAPI GetRngGuid(GUID *RngGuid)
BOOLEAN EFIAPI GetRandomNumber32(OUT UINT32 *Rand)
BOOLEAN EFIAPI GetRandomNumber128(OUT UINT64 *Rand)
BOOLEAN EFIAPI GetRandomNumber64(OUT UINT64 *Rand)
#define FALSE
Definition: Base.h:307
#define OUT
Definition: Base.h:284
UINTN Rand(VOID)
Definition: Support.c:39
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213