summaryrefslogtreecommitdiff
path: root/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
diff options
context:
space:
mode:
authortye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>2012-06-01 02:37:24 +0000
committertye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>2012-06-01 02:37:24 +0000
commit38fcd0270fff574ac82e2acad451fbcb36674398 (patch)
tree0db88dabb557f7975e5d5ae7ac1c8ba93a1c1a7c /CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
parentc4c90866788fe50881160478b097dc9aa4eb999d (diff)
downloadedk2-platforms-38fcd0270fff574ac82e2acad451fbcb36674398.tar.xz
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
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf')
-rw-r--r--CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf11
1 files changed, 10 insertions, 1 deletions
diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
index 03ed82f687..f7bccc4379 100644
--- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
+++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
@@ -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]