From nobody Tue Feb 10 01:16:00 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+67235+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+67235+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1605029835; cv=none; d=zohomail.com; s=zohoarc; b=Y6DL0rvtk+fFkvbH1t/KHoL6vgYQvm0iVPBBO+QpAJVNcU0sPUJwAMJnOQxzP1m4zF5qYIlgHSr2vvw7Z8ED/awy54iDCeiaXKxqheRLt6bkOg3gf5lWUyDwy7Q+Okf/iAlrRYZnDM7xmPErO0aBmZJP0zQLGWcavKAGFxZHXXg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605029835; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=QvkBCsW/3ibVdXRNvldt/EJWzuMbbkcr+S1YV2mUSeg=; b=lluNR/12Qc4wY96XPgx2x0Zp1dUeJ+SkH5QkFTm1G0yi5+QyIY9K8SUTCBjxinTSTfqc3gP3eEm4Lih5SUM/KwNRUdnmzv9m9yTwOlFP1FXKsvg2nJVeMSpKJDkYc0kfx8Xb68ijApmL9nzer/xsuQzGqUkHzGlyqCMF7G0ayyM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+67235+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1605029835435567.3884491683591; Tue, 10 Nov 2020 09:37:15 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id cRr1YY1788612xQySzpH2VZS; Tue, 10 Nov 2020 09:37:15 -0800 X-Received: from mga17.intel.com (mga17.intel.com []) by mx.groups.io with SMTP id smtpd.web09.31448.1605029824101645772 for ; Tue, 10 Nov 2020 09:37:04 -0800 IronPort-SDR: Z50gaZQqxW2qKi4e4yM3gp3CwPwBFe+HC1RCK76rVT3i43ZZjI5XT5uNGS5Ur98JE2Xsdkg3OQ 4auLud0txCHw== X-IronPort-AV: E=McAfee;i="6000,8403,9801"; a="149867196" X-IronPort-AV: E=Sophos;i="5.77,466,1596524400"; d="scan'208";a="149867196" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2020 09:37:02 -0800 IronPort-SDR: ZgdZVWsUVRnONH5eR5inK+AIqpfIrd89sxXmSrHf/dQgC+veXSFV8SUlsR6SWXvNy4sfK33/Ou aYyLgB96wVtA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,466,1596524400"; d="scan'208";a="473509528" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.153.118]) by orsmga004.jf.intel.com with ESMTP; 10 Nov 2020 09:36:59 -0800 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Jiewen Yao Subject: [edk2-devel] [PATCH V3 01/12] SecurityPkg/Hash2DxeCrypto: Remove MD5 support Date: Wed, 11 Nov 2020 01:36:40 +0800 Message-Id: <20201110173651.54036-2-zhichao.gao@intel.com> In-Reply-To: <20201110173651.54036-1-zhichao.gao@intel.com> References: <20201110173651.54036-1-zhichao.gao@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,zhichao.gao@intel.com X-Gm-Message-State: CCHsKsFuagNJOdWhQXaXfcCdx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1605029835; bh=lVgE+N0fKst+wPEcn5cxDetfpavv+rlgfZyuJGwEQ0E=; h=Cc:Date:From:Reply-To:Subject:To; b=kETCvilADiLKE1MpIzYxMyBKH8yvhJfzKG0sWtKLLjwzHfErav397WuEVXaHfjz0fQp GOZk1BU/IEXorLWB81hxQzDbR0nkuKOUjjfpaa8ZTZk1v4HFNxFXxGp7dVgsY7RkpwiFy NFUD+G4FNY39VE8lhhQ5MsqRcToa0fU+jOk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3027 Remove the deprecated MD5 support of Hash2DxeCrypto driver. Cc: Jiewen Yao Cc: Jian J Wang Signed-off-by: Zhichao Gao Reviewed-by: Jiewen Yao --- SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c | 1 - SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c b/SecurityPkg/Hash= 2DxeCrypto/Hash2DxeCrypto.c index d96bc136e2..50a6157bd9 100644 --- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c +++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c @@ -120,7 +120,6 @@ typedef struct { } EFI_HASH_INFO; =20 EFI_HASH_INFO mHashInfo[] =3D { - {&gEfiHashAlgorithmMD5Guid, sizeof(EFI_MD5_HASH2), Md5GetContextS= ize, Md5Init, Md5Update, Md5Final }, {&gEfiHashAlgorithmSha1Guid, sizeof(EFI_SHA1_HASH2), Sha1GetContext= Size, Sha1Init, Sha1Update, Sha1Final }, {&gEfiHashAlgorithmSha256Guid, sizeof(EFI_SHA256_HASH2), Sha256GetConte= xtSize, Sha256Init, Sha256Update, Sha256Final }, {&gEfiHashAlgorithmSha384Guid, sizeof(EFI_SHA384_HASH2), Sha384GetConte= xtSize, Sha384Init, Sha384Update, Sha384Final }, diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf b/SecurityPkg/Ha= sh2DxeCrypto/Hash2DxeCrypto.inf index a0b57f0514..a65943056a 100644 --- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf +++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf @@ -4,7 +4,7 @@ # This module will use EDKII crypto library to HASH2 protocol. # # (C) Copyright 2015 Hewlett-Packard Development Company, L.P.
-# Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -44,7 +44,6 @@ UefiLib =20 [Guids] - gEfiHashAlgorithmMD5Guid ## CONSUMES ## GUID gEfiHashAlgorithmSha1Guid ## CONSUMES ## GUID gEfiHashAlgorithmSha256Guid ## CONSUMES ## GUID gEfiHashAlgorithmSha384Guid ## CONSUMES ## GUID --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#67235): https://edk2.groups.io/g/devel/message/67235 Mute This Topic: https://groups.io/mt/78164657/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-