/** @file\r
- Support routines for RDRAND instruction access.\r
-\r
+ Support routines for RDRAND instruction access, which will leverage\r
+ Intel Secure Key technology to provide high-quality random numbers for use\r
+ in applications, or entropy for seeding other random number generators.\r
+ Refer to http://software.intel.com/en-us/articles/intel-digital-random-number\r
+ -generator-drng-software-implementation-guide/ for more information about Intel\r
+ Secure Key technology.\r
+\r
+Copyright (c) 2021 - 2022, Arm Limited. All rights reserved.<BR>\r
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>\r
(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
+#include <Library/BaseLib.h>\r
+#include <Library/BaseMemoryLib.h>\r
#include <Library/RngLib.h>\r
+#include <Library/TimerLib.h>\r
\r
#include "AesCore.h"\r
-#include "RdRand.h"\r
#include "RngDxeInternals.h"\r
\r
/**\r
**/\r
EFI_STATUS\r
EFIAPI\r
-RdRandGenerateEntropy (\r
+GenerateEntropy (\r
IN UINTN Length,\r
OUT UINT8 *Entropy\r
)\r