From nobody Mon Feb 9 15:10:18 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+67361+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+67361+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1605160580; cv=none; d=zohomail.com; s=zohoarc; b=XQxSZfLwA2bI/zpjANLkr+Smw8BjYb2+0FT/62RPulkTflYf4bLJ+y/B7D50DAx40LGcB6toDoOwOGqOTSvTPAN679m0Grkt3Wo8zywDsMttRNClXMSCPvp52kswFZERria4WvJbq8hX2IyKlY3VM7UOlHTpKZLded2ss9gFTgk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605160580; 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=p9q22SKJDKhIiMO3q9GSfFYUUqLk16fyGsV6qXY9/9M=; b=HSzAZ7pcDEIkdMysXATjXZyK141GmncbFzRnvo94g9aSTSOolHUU6sXWIIYwNMVoiNHgVKzm5YyLXRffIjy5w8XSf5P93lmM7GId0Lqpljq8uHuz4IHL6gpu1I3XIDbDztjzZFRvnDc7u1Z9XHSQR0/3Y9dGCw9AKSSSOIpTeMM= 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+67361+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 1605160580629705.3397000430082; Wed, 11 Nov 2020 21:56:20 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 1kK1YY1788612xIIvcJiKgfe; Wed, 11 Nov 2020 21:56:20 -0800 X-Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web09.485.1605160579763645521 for ; Wed, 11 Nov 2020 21:56:19 -0800 IronPort-SDR: VyoOxQkIAHV3+8OsOl2AwTatBQtNvKuSFraowUg76d1JpF0B+0LUiTY+fh3SkLGFbbikTJifzt z+b/GT8lS63w== X-IronPort-AV: E=McAfee;i="6000,8403,9802"; a="254971165" X-IronPort-AV: E=Sophos;i="5.77,471,1596524400"; d="scan'208";a="254971165" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2020 21:56:19 -0800 IronPort-SDR: 7MC9LhJtgLrzL/LUGnlmn80O67kLXUPFmzqpyvzOfEq2KaO/pwAi35alJeHvVRAzbLBOwHPQXX 2/hDcycSoZxw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,471,1596524400"; d="scan'208";a="366490771" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.153.118]) by orsmga007.jf.intel.com with ESMTP; 11 Nov 2020 21:56:18 -0800 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Jiewen Yao Subject: [edk2-devel] [PATCH V4 02/13] SecurityPkg/Hash2DxeCrypto: Remove SHA1 support Date: Thu, 12 Nov 2020 13:55:47 +0800 Message-Id: <20201112055558.2348-3-zhichao.gao@intel.com> In-Reply-To: <20201112055558.2348-1-zhichao.gao@intel.com> References: <20201112055558.2348-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: y28tswEcsPK3CXU7wNKopNc2x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1605160580; bh=bZ9/X8y4gzZ1ZN3VwjKsNCjXQRfq33Gyop+kAd+hDo4=; h=Cc:Date:From:Reply-To:Subject:To; b=n6XbROXCBfp7UCbNeEXKCQ4//xp/iWAR4v/xQC+rNZGttxpvD8o+5Ts8OnTWaFxWAYP R3sT5IQx8WBB7ZsSSfeq5SIvxyXtxvrTnwbN5s5t+M5/x3pBvaGsGmjO0t2vnUjpMruim v+FVK5cvK/P1NgPHZoNtbzR30B8kJe3BS8U= 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 SHA1 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 | 1 - 2 files changed, 2 deletions(-) diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c b/SecurityPkg/Hash= 2DxeCrypto/Hash2DxeCrypto.c index 50a6157bd9..c1c0470be9 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 { - {&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 }, {&gEfiHashAlgorithmSha512Guid, sizeof(EFI_SHA512_HASH2), Sha512GetConte= xtSize, Sha512Init, Sha512Update, Sha512Final }, diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf b/SecurityPkg/Ha= sh2DxeCrypto/Hash2DxeCrypto.inf index a65943056a..6a456ed2a6 100644 --- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf +++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf @@ -44,7 +44,6 @@ UefiLib =20 [Guids] - gEfiHashAlgorithmSha1Guid ## CONSUMES ## GUID gEfiHashAlgorithmSha256Guid ## CONSUMES ## GUID gEfiHashAlgorithmSha384Guid ## CONSUMES ## GUID gEfiHashAlgorithmSha512Guid ## 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 (#67361): https://edk2.groups.io/g/devel/message/67361 Mute This Topic: https://groups.io/mt/78201059/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-