audk/MdePkg/Include/Library
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
..
BaseLib.h MdePkg: Add CPU RdRand access APIs for random number generation 2015-09-21 05:53:52 +00:00
BaseMemoryLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
CacheMaintenanceLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
CpuLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
DebugLib.h MdePkg: Correct comment typo from ECB to EBC in DebugLib.h 2015-07-16 05:43:42 +00:00
DebugPrintErrorLevelLib.h Refine code to follow coding style. 2011-03-15 00:53:52 +00:00
DevicePathLib.h Add 4 APIs to DevicePathLib: ConvertDeviceNodeToText, ConvertDevicePathToText, ConvertTextToDeviceNode and ConvertTextToDevicePath. 2013-07-26 03:00:21 +00:00
DxeCoreEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
DxeServicesLib.h Correct function comments on DxeServicesLib GetFileBufferByFilePath API. 2012-04-17 09:42:44 +00:00
DxeServicesTableLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
ExtendedSalLib.h Add ESAL support libraries to MdePkg 2011-06-10 18:58:08 +00:00
ExtractGuidedSectionLib.h Add API to ExtractGuidedSectionLib.h to retrieve the set of registered handlers. 2010-11-04 05:51:32 +00:00
FileHandleLib.h MdePkg: Make the FileHandleGetFileName return the file name in right format. 2015-08-26 02:25:42 +00:00
HobLib.h MdePkg: fix mixed dos and linux EOL format issue 2014-12-23 08:33:49 +00:00
HstiLib.h Add HSTI support. 2015-01-19 06:08:23 +00:00
IoLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
MemoryAllocationLib.h Update MemoryAllocationLib.AllocateAlignedPages API comments for memory overflow ASSERT case. 2013-12-31 07:19:09 +00:00
OrderedCollectionLib.h MdePkg: introduce OrderedCollectionLib library class 2014-08-12 07:28:52 +00:00
PalLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PcdLib.h MdePkg: Add two PcdApi for Patch VOID* PCD set operation. 2015-08-24 05:01:11 +00:00
PciCf8Lib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PciExpressLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PciLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PciSegmentLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
PeCoffExtraActionLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PeCoffGetEntryPointLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PeCoffLib.h Enhance the error code info. 2012-09-11 10:53:37 +00:00
PeiCoreEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PeiServicesLib.h 1. Enable use-cases in PEI using SecurityPPI co-equal to the use-cases in DXE using the Security Arch Protocol 2013-10-11 03:54:13 +00:00
PeiServicesTablePointerLib.h Add VOID MigratePeiServicesTablePointer() to fix'Deprecated declaration'. 2014-01-17 06:06:30 +00:00
PeimEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PerformanceLib.h Add new extension PerformanceLib APIs to store ID info. 2012-04-24 08:42:24 +00:00
PostCodeLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PrintLib.h MdePkg: Add %u and %lu support for PrintLib and DebugLib. 2015-06-08 05:37:31 +00:00
ReportStatusCodeLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
ResourcePublicationLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
RngLib.h MdePkg: Create GetRandomNumber128 in RngLib 2015-10-09 06:03:17 +00:00
S3BootScriptLib.h Add comment for S3BootScriptSaveMemPoll API, since it does not match PI specification. 2014-03-01 12:25:31 +00:00
S3IoLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
S3PciLib.h Add ASSERT() for BitField operations to make sure the input value is valid. 2012-12-25 02:25:50 +00:00
S3SmbusLib.h MdePkg: Add S3 library interfaces and base implementations 2011-08-29 22:16:28 +00:00
S3StallLib.h MdePkg: Add S3 library interfaces and base implementations 2011-08-29 22:16:28 +00:00
SalLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
SerialPortLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
SmbusLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
SmmLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
SmmMemLib.h Add SmmMemLib, which can be used by SMM driver or SMM core to check communication buffer. 2015-02-02 14:40:44 +00:00
SmmPeriodicSmiLib.h Update inappropriate comments. 2011-02-17 00:45:08 +00:00
SmmServicesTableLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
SynchronizationLib.h MdePkg/BaseSynchronizationLib: Add InterlockedCompareExchange16 2015-02-28 20:31:54 +00:00
TimerLib.h Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in unit of nanoseconds. 2011-08-25 05:59:17 +00:00
UefiApplicationEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiBootServicesTableLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiDecompressLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiDriverEntryPoint.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiLib.h Add new interface GetVariable2 and GetEfiGlobalVariable2 to return more info. Also replace old interface with new one. 2012-05-30 07:36:00 +00:00
UefiRuntimeLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiRuntimeServicesTableLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
UefiScsiLib.h MdePkg/UefiScsiLib: comments update to add EFI_INVALID_PARAMETER status 2015-09-10 07:02:12 +00:00
UefiUsbLib.h Update the copyright notice format 2010-04-23 15:46:20 +00:00