audk/MdePkg/Include
Thomas Palmer c8b6f16d7d MdePkg: Create GetRandomNumber128 in RngLib
Declare GetRandomNumber128 in RngLib.h.
Create GetRandomNumber128 in BaseRngLib, which is simply calling
GetRandomNumber64 twice.

A GetRandomNumber128 function allows platforms with 128bit HWRNGs to
save on IO overhead that comes from having to prime the HWRNG device
before each read operation.
Using the HWRNG installed on the HP ProLiant m400 moonshot cartridge,
this will save about 50ms per RAW Entropy operation as compared with
calling GetRandomNumber64 twice.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Palmer <thomas.palmer@hpe.com>
Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Qin Long <qin.long@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18590 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-09 06:03:17 +00:00
..
AArch64 MdePkg/ProcessorBind.h: Add ARM and AArch64 GCC macros for Clang 2014-10-31 14:05:09 +00:00
Arm MdePkg/ProcessorBind.h: Add ARM and AArch64 GCC macros for Clang 2014-10-31 14:05:09 +00:00
Ebc MdePkg Base.h: Always define ASM_PFX 2014-09-01 17:23:10 +00:00
Guid MdePkg/ImageAuthentication.h: Fixed ARM toolchain error 2015-07-14 16:07:02 +00:00
Ia32 MdePkg IA32/X64 ProcessorBind.h : Disable the C4701 and C4703 warnings for VS2013. 2015-01-09 04:50:11 +00:00
IndustryStandard Clean up unused data type - BOOL. 2015-08-14 06:22:10 +00:00
Ipf MdePkg Base.h: Always define ASM_PFX 2014-09-01 17:23:10 +00:00
Library MdePkg: Create GetRandomNumber128 in RngLib 2015-10-09 06:03:17 +00:00
Pi MdePkg: Follow PI spec to update ExtendedSize in EFI_FFS_FILE_HEADER2 2015-08-24 01:43:20 +00:00
Ppi MdePkg: Change the EFI_ACPI_PNP_HID_END to EFI_PNP_ID (0x0000) 2015-08-28 02:46:22 +00:00
Protocol NetworkPkg: Fix typos in some EFI_HTTP_STATUS_CODE definitions 2015-09-21 07:53:16 +00:00
Uefi MdePkg: Add reconnect definition in action request type and question attribute. 2015-05-27 02:27:40 +00:00
X64 MdePkg IA32/X64 ProcessorBind.h : Disable the C4701 and C4703 warnings for VS2013. 2015-01-09 04:50:11 +00:00
Base.h MdePkg/Include: Add support for flexible array members 2015-05-07 17:19:11 +00:00
PiDxe.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PiPei.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PiSmm.h Add definitions for the UEFI ACPI Data Table defined in the UEFI spec and the SMM Communication ACPI Table defined in the PI spec. 2011-02-22 10:05:06 +00:00
Uefi.h Update the copyright notice format 2010-04-23 15:46:20 +00:00