From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 234652193CF44 for ; Tue, 25 Apr 2017 09:07:01 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2017 09:07:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,250,1488873600"; d="scan'208";a="78706657" Received: from qlong-mobl1.ccr.corp.intel.com ([10.252.24.123]) by orsmga002.jf.intel.com with ESMTP; 25 Apr 2017 09:06:58 -0700 From: Qin Long To: ting.ye@intel.com, edk2-devel@lists.01.org Date: Wed, 26 Apr 2017 00:06:23 +0800 Message-Id: <20170425160623.11456-1-qin.long@intel.com> X-Mailer: git-send-email 2.12.2.windows.1 Subject: [Patch] CryptoPkg/SmmCryptLib: Enable HMAC-SHA256 support for SMM. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2017 16:07:01 -0000 Enable HMAC-SHA256 cipher support in SmmCryptLib instance. Cc: Ting Ye Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qin Long --- CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf index 5674714cea..36552bc4f4 100644 --- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf @@ -7,7 +7,7 @@ # buffer overflow or integer overflow. # # Note: MD4 Digest functions, SHA-384 Digest functions, SHA-512 Digest functions, -# HMAC-MD5 functions, HMAC-SHA1/SHA256 functions, TDES/ARC4 functions, RSA external +# HMAC-MD5 functions, HMAC-SHA1 functions, TDES/ARC4 functions, RSA external # functions, PKCS#7 SignedData sign functions, Diffie-Hellman functions, and # authenticode signature verification functions are not supported in this instance. # @@ -46,7 +46,7 @@ Hash/CryptSha512Null.c Hmac/CryptHmacMd5Null.c Hmac/CryptHmacSha1Null.c - Hmac/CryptHmacSha256Null.c + Hmac/CryptHmacSha256.c Cipher/CryptAes.c Cipher/CryptTdesNull.c Cipher/CryptArc4Null.c -- 2.12.2.windows.1