]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/MdePkg.dsc
MdePkg: TimerRngLib: Added RngLib that uses TimerLib
authorMatthew Carlson <macarl@microsoft.com>
Tue, 28 Jul 2020 01:36:24 +0000 (18:36 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 18 Sep 2020 02:19:21 +0000 (02:19 +0000)
commitf56ed0e51d39d74e53c3bc1f4bf40e91ed99cf1b
treebe5f018eba3e961c43cb441b0fc725324af24666
parent32b0a492d505434c6f5e6c3578cd34fee39cd25e
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>
MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf [new file with mode: 0644]
MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.uni [new file with mode: 0644]
MdePkg/Library/BaseRngLibTimerLib/RngLibTimer.c [new file with mode: 0644]
MdePkg/MdePkg.dsc