diff options
author | Qin Long <qin.long@intel.com> | 2015-09-21 05:54:03 +0000 |
---|---|---|
committer | qlong <qlong@Edk2> | 2015-09-21 05:54:03 +0000 |
commit | 255c8e22a5171fc52d0e7c297b2267e83d48bd5c (patch) | |
tree | d3fe32e1e20795928918c867d5688ffd5c4d7e25 /MdePkg/MdePkg.dec | |
parent | 3cfc7813bb7e904c4a940d638facc10be5e22645 (diff) | |
download | edk2-255c8e22a5171fc52d0e7c297b2267e83d48bd5c.tar.gz edk2-255c8e22a5171fc52d0e7c297b2267e83d48bd5c.tar.bz2 edk2-255c8e22a5171fc52d0e7c297b2267e83d48bd5c.zip |
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
Diffstat (limited to 'MdePkg/MdePkg.dec')
-rw-r--r-- | MdePkg/MdePkg.dec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 60549afaaa..337059a6a6 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -249,6 +249,10 @@ #
SmmPeriodicSmiLib|Include/Library/SmmPeriodicSmiLib.h
+ ## @libraryclass Provides services to generate random number.
+ #
+ RngLib|Include/Library/RngLib.h
+
[LibraryClasses.IPF]
## @libraryclass The SAL Library provides a service to make a SAL CALL.
SalLib|Include/Library/SalLib.h
|