19#define RNG_AVAILABLE_ALGO_MAX 2
43 if (mAvailableAlgoArray ==
NULL) {
44 return EFI_OUT_OF_RESOURCES;
49 if (!EFI_ERROR (Status)) {
56 "RngLib uses an Unsafe algorithm and "
57 "must not be used for production builds.\n"
64 &mAvailableAlgoArray[mAvailableAlgoArrayCount],
68 mAvailableAlgoArrayCount++;
75 &mAvailableAlgoArray[mAvailableAlgoArrayCount],
79 mAvailableAlgoArrayCount++;
85 &mAvailableAlgoArray[mAvailableAlgoArrayCount],
86 &gEdkiiRngAlgorithmUnSafe,
89 mAvailableAlgoArrayCount++;
EFI_STATUS EFIAPI GetAvailableAlgorithms(VOID)
RETURN_STATUS EFIAPI GetArmTrngVersion(OUT UINT16 *MajorRevision, OUT UINT16 *MinorRevision)
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
BOOLEAN EFIAPI CompareGuid(IN CONST GUID *Guid1, IN CONST GUID *Guid2)
BOOLEAN EFIAPI IsZeroGuid(IN CONST GUID *Guid)
VOID *EFIAPI AllocateZeroPool(IN UINTN AllocationSize)
EFI_STATUS EFIAPI GetRngGuid(GUID *RngGuid)
#define DEBUG(Expression)