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
This commit is contained in:
tye1
2012-05-10 07:58:02 +00:00
parent 4e33001c6e
commit 7ce960e712
5 changed files with 239 additions and 4 deletions

View File

@@ -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