]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg: Add RngLib into MdePkg
authorQin Long <qin.long@intel.com>
Mon, 21 Sep 2015 05:54:03 +0000 (05:54 +0000)
committerqlong <qlong@Edk2>
Mon, 21 Sep 2015 05:54:03 +0000 (05:54 +0000)
commit255c8e22a5171fc52d0e7c297b2267e83d48bd5c
treed3fe32e1e20795928918c867d5688ffd5c4d7e25
parent3cfc7813bb7e904c4a940d638facc10be5e22645
MdePkg: Add RngLib into MdePkg

Add one library class (RngLib.h) with three GetRandomNumber16/32/64
APIs to provide random number generator services, and one library
instance (BaseRngLib), based on Intel RdRand instruction access,
to provide high-quality random numbers generator.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qin Long <qin.long@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18519 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Include/Library/RngLib.h [new file with mode: 0644]
MdePkg/Library/BaseRngLib/BaseRng.c [new file with mode: 0644]
MdePkg/Library/BaseRngLib/BaseRngLib.inf [new file with mode: 0644]
MdePkg/Library/BaseRngLib/BaseRngLib.uni [new file with mode: 0644]
MdePkg/MdePkg.dec
MdePkg/MdePkg.dsc