## @file\r
# Cryptographic Library Instance for PEIM.\r
#\r
-# Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
+# Caution: This module requires additional review when modified.\r
+# This library will have external input - signature.\r
+# This external input must be validated carefully to avoid security issue like\r
+# buffer overflow, integer overflow.\r
+#\r
+# Note: MD4 Digest functions, HMAC-MD5 functions, HMAC-SHA1 functions, AES/\r
+# TDES/ARC4 functions, RSA external functions, PKCS#7 SignedData sign functions,\r
+# Diffie-Hellman functions, X.509 certificate handler functions, authenticode\r
+# signature verification functions, PEM handler functions, pseudorandom number\r
+# generator functions are not supported in this instance.\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
FILE_GUID = 9a2a4375-194c-4e97-9f67-547ec98d96ca\r
MODULE_TYPE = PEIM\r
VERSION_STRING = 1.0\r
- LIBRARY_CLASS = BaseCryptLib|PEIM PEI_CORE SEC\r
+ LIBRARY_CLASS = BaseCryptLib|PEIM PEI_CORE\r
\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
\r
[Sources]\r
+ Hash/CryptMd4Null.c\r
Hash/CryptMd5.c\r
Hash/CryptSha1.c\r
Hash/CryptSha256.c\r
- Pk/CryptRsa.c\r
+ Hmac/CryptHmacMd5Null.c\r
+ Hmac/CryptHmacSha1Null.c\r
+ Cipher/CryptAesNull.c\r
+ Cipher/CryptTdesNull.c\r
+ Cipher/CryptArc4Null.c\r
+\r
+ Pk/CryptRsaBasic.c\r
+ Pk/CryptRsaExtNull.c\r
+ Pk/CryptPkcs7SignNull.c\r
+ Pk/CryptPkcs7Verify.c\r
+\r
+ Pk/CryptDhNull.c\r
+ Pk/CryptX509Null.c\r
+ Pk/CryptAuthenticodeNull.c\r
+ Pem/CryptPemNull.c\r
+\r
+ Rand/CryptRandNull.c\r
\r
SysCall/CrtWrapper.c\r
- SysCall/HelperWrapper.c\r
+ SysCall/ConstantTimeClock.c\r
SysCall/BaseMemAllocation.c\r
\r
+\r
[Sources.Ia32]\r
SysCall/Ia32/MathMultS64x64.c | MSFT\r
SysCall/Ia32/MathDivU64x64.c | MSFT\r