X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=CryptoPkg%2FLibrary%2FBaseCryptLib%2FSmmCryptLib.inf;h=b966ecc46b05ba630d4c564746324beb31f4878b;hb=7bf3ce9ff9912a3fbd64c199798bdfce4c9426ec;hp=03ed82f68703ef419366207620437f4eecdbe182;hpb=7ce960e7129f6eedd2fd426f6d64f1f33cbe1154;p=mirror_edk2.git diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf index 03ed82f687..b966ecc46b 100644 --- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf @@ -1,6 +1,16 @@ ## @file # Cryptographic Library Instance for SMM driver. # +# Caution: This module requires additional review when modified. +# This library will have external input - signature. +# This external input must be validated carefully to avoid security issue like +# buffer overflow, integer overflow. +# +# Note: MD4 Digest functions, HMAC-MD5 functions, HMAC-SHA1 functions, AES/ +# TDES/ARC4 functions, RSA external functions, PKCS#7 SignedData sign functions, +# Diffie-Hellman functions, authenticode signature verification functions are +# not supported in this instance. +# # Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.
# This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -28,16 +38,26 @@ # [Sources] + Hash/CryptMd4Null.c Hash/CryptMd5.c Hash/CryptSha1.c Hash/CryptSha256.c - Pk/CryptRsa.c - Pk/CryptPkcs7.c + Hmac/CryptHmacMd5Null.c + Hmac/CryptHmacSha1Null.c + Cipher/CryptAesNull.c + Cipher/CryptTdesNull.c + Cipher/CryptArc4Null.c + Pk/CryptRsaBasic.c + Pk/CryptRsaExtNull.c + Pk/CryptPkcs7SignNull.c + Pk/CryptPkcs7Verify.c + Pk/CryptDhNull.c Pk/CryptX509.c + Pk/CryptAuthenticodeNull.c Pem/CryptPem.c SysCall/CrtWrapper.c - SysCall/RealTimeClock.c + SysCall/ConstantTimeClock.c SysCall/BaseMemAllocation.c [Sources.Ia32] @@ -88,4 +108,4 @@ # [BuildOptions] GCC:*_GCC44_IA32_CC_FLAGS = "-D__cdecl=__attribute__((cdecl))" "-D__declspec(t)=__attribute__((t))" - + XCODE:*_*_*_CC_FLAGS = -mmmx -msse