Fix SmmCryptLib issue when calling time() in RealTimeClock.c

Signed-off by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Long Qin <qin.long@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13417 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
tye1
2012-06-01 02:37:24 +00:00
parent c4c9086678
commit 38fcd0270f
3 changed files with 51 additions and 287 deletions

View File

@@ -1,6 +1,15 @@
## @file
# Cryptographic Library Instance for SMM driver.
#
# This library instance uses ConstantTimeClock.c thus does not provide
# functionality for following APIs which need system time support:
# 1) RsaGenerateKey
# 2) RsaCheckKey
# 3) RsaPkcs1Sign
# 4) Pkcs7Sign
# 5) DhGenerateParameter
# 6) DhGenerateKey
#
# Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -37,7 +46,7 @@
Pem/CryptPem.c
SysCall/CrtWrapper.c
SysCall/RealTimeClock.c
SysCall/ConstantTimeClock.c
SysCall/BaseMemAllocation.c
[Sources.Ia32]