]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
Fix SmmCryptLib issue when calling time() in RealTimeClock.c
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / SmmCryptLib.inf
index d5f1166f0fc9203ebf0857b644d706f5ff23e109..f7bccc4379ae260d4bf84143081a08094c0ec182 100644 (file)
@@ -1,7 +1,16 @@
 ## @file\r
 #  Cryptographic Library Instance for SMM driver.\r
 #\r
-#  Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
+#  This library instance uses ConstantTimeClock.c thus does not provide\r
+#  functionality for following APIs which need system time support:\r
+#  1) RsaGenerateKey\r
+#  2) RsaCheckKey\r
+#  3) RsaPkcs1Sign\r
+#  4) Pkcs7Sign\r
+#  5) DhGenerateParameter\r
+#  6) DhGenerateKey\r
+#\r
+#  Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #  which accompanies this distribution.  The full text of the license may be found at\r
@@ -18,6 +27,7 @@
   FILE_GUID                      = 028080a3-8958-4a62-a1a8-0fa1da162007\r
   MODULE_TYPE                    = DXE_SMM_DRIVER\r
   VERSION_STRING                 = 1.0\r
+  PI_SPECIFICATION_VERSION       = 0x0001000A\r
   LIBRARY_CLASS                  = BaseCryptLib|DXE_SMM_DRIVER SMM_CORE\r
 \r
 #\r
   Hash/CryptSha256.c\r
   Pk/CryptRsa.c\r
   Pk/CryptPkcs7.c\r
+  Pk/CryptX509.c\r
+  Pem/CryptPem.c\r
 \r
   SysCall/CrtWrapper.c\r
-  SysCall/RealTimeClock.c\r
+  SysCall/ConstantTimeClock.c\r
   SysCall/BaseMemAllocation.c\r
 \r
 [Sources.Ia32]\r
   SysCall/Ia32/MathLShiftS64.S      | GCC\r
   SysCall/Ia32/MathRShiftU64.S      | GCC\r
 \r
+  Rand/CryptRandTsc.c\r
+\r
+[Sources.X64]\r
+  Rand/CryptRandTsc.c\r
+\r
+[Sources.IPF]\r
+  Rand/CryptRandItc.c\r
+\r
+[Sources.ARM]\r
+  Rand/CryptRand.c\r
+\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
   CryptoPkg/CryptoPkg.dec\r
@@ -67,6 +90,7 @@
   MemoryAllocationLib\r
   OpensslLib\r
   IntrinsicLib\r
+  PrintLib\r
 \r
 #\r
 # Remove these [BuildOptions] after this library is cleaned up\r