]> git.proxmox.com Git - mirror_edk2.git/commitdiff
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)
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>

No differences found