TianoCore EDK2 master
Loading...
Searching...
No Matches
BaseArmTrngLibNull.c
Go to the documentation of this file.
1
21#include <Library/DebugLib.h>
22#include <Library/ArmTrngLib.h>
23
37RETURN_STATUS
38EFIAPI
40 OUT UINT16 *MajorRevision,
41 OUT UINT16 *MinorRevision
42 )
43{
44 DEBUG ((DEBUG_ERROR, "ArmTrng Backend not found\n"));
45 return RETURN_UNSUPPORTED;
46}
47
64RETURN_STATUS
65EFIAPI
67 OUT GUID *Guid
68 )
69{
70 ASSERT (FALSE);
71 return RETURN_UNSUPPORTED;
72}
73
81EFIAPI
83 VOID
84 )
85{
86 ASSERT (FALSE);
87 return 0;
88}
89
111RETURN_STATUS
112EFIAPI
114 IN UINTN EntropyBits,
115 IN UINTN BufferSize,
116 OUT UINT8 *Buffer
117 )
118{
119 ASSERT (FALSE);
120 return RETURN_UNSUPPORTED;
121}
UINT64 UINTN
RETURN_STATUS EFIAPI GetArmTrngVersion(OUT UINT16 *MajorRevision, OUT UINT16 *MinorRevision)
RETURN_STATUS EFIAPI GetArmTrngUuid(OUT GUID *Guid)
RETURN_STATUS EFIAPI GetArmTrngEntropy(IN UINTN EntropyBits, IN UINTN BufferSize, OUT UINT8 *Buffer)
UINTN EFIAPI GetArmTrngMaxSupportedEntropyBits(VOID)
#define RETURN_UNSUPPORTED
Definition: Base.h:1081
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
#define DEBUG(Expression)
Definition: DebugLib.h:434
Definition: Base.h:213