MdePkg: TimerRngLib: Added RngLib that uses TimerLib
Added a new RngLib that provides random numbers from the TimerLib using the performance counter. This is meant to be used for OpenSSL to replicate past behavior. This should not be used in production as a real source of entropy. Ref: https://github.com/tianocore/edk2/pull/845 Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1871 Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Matthew Carlson <matthewfcarlson@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
32b0a492d5
commit
f56ed0e51d
@@ -62,6 +62,8 @@
|
||||
MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
|
||||
MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
||||
MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
||||
MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
|
||||
MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf
|
||||
MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
||||
MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
||||
MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
|
||||
@@ -69,7 +71,6 @@
|
||||
MdePkg/Library/BaseUefiDecompressLib/BaseUefiTianoCustomDecompressLib.inf
|
||||
MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
|
||||
MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
||||
MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf
|
||||
|
||||
MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
||||
MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
||||
|
Reference in New Issue
Block a user