diff options
author | tye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-10 07:58:02 +0000 |
---|---|---|
committer | tye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-10 07:58:02 +0000 |
commit | 7ce960e7129f6eedd2fd426f6d64f1f33cbe1154 (patch) | |
tree | 27b095599c015901ee2b656e59d91060c4d5e0a8 /CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | |
parent | 4e33001c6ead8d8696cd22e1c194ab9c02dc8792 (diff) | |
download | edk2-platforms-7ce960e7129f6eedd2fd426f6d64f1f33cbe1154.tar.xz |
Use current time value as default random seed in BaseCryptLib.
Signed-off by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Long Qin <qin.long@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13300 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf')
-rw-r--r-- | CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf index a6eea164a1..03ed82f687 100644 --- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf @@ -31,7 +31,6 @@ Hash/CryptMd5.c
Hash/CryptSha1.c
Hash/CryptSha256.c
- Rand/CryptRand.c
Pk/CryptRsa.c
Pk/CryptPkcs7.c
Pk/CryptX509.c
@@ -60,6 +59,17 @@ SysCall/Ia32/MathLShiftS64.S | GCC
SysCall/Ia32/MathRShiftU64.S | GCC
+ Rand/CryptRandTsc.c
+
+[Sources.X64]
+ Rand/CryptRandTsc.c
+
+[Sources.IPF]
+ Rand/CryptRandItc.c
+
+[Sources.ARM]
+ Rand/CryptRand.c
+
[Packages]
MdePkg/MdePkg.dec
CryptoPkg/CryptoPkg.dec
@@ -71,6 +81,7 @@ MemoryAllocationLib
OpensslLib
IntrinsicLib
+ PrintLib
#
# Remove these [BuildOptions] after this library is cleaned up
|