From nobody Mon Feb 9 23:03:27 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+66624+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+66624+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1603766605; cv=none; d=zohomail.com; s=zohoarc; b=FI4hlal9Kn7x4BNYNHd0kYF4vkO6IgxmdncUoQMjCKpTdrLXFYvFJAnSTBleiiULdLFQcxMNQkmj30ADDmRjjz9+Wv0AA1ocArX65SzBnqHOiv5VtZWQoncXKadkDBRQpnFd0nNSbVJddbP40UcEuJnV699Ks2ueXNCf5y0ESRo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603766605; 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=O/oOehm3agMrQfbrWsdC89wqwXfmoQ1Tvz4SJVwUiRg=; b=Irg3AyU0SG6gCH6lxVV3P9YuS3I4dwJSPxbBF1BzGYv6XiJnu2h4oUIiJCBFAjoNXpnW2pA+KB9lSia+YN7Ci11++HFOQ6vBTJ29eTf9Bg+T2VJjymTJnRjLmbUGJungDfYWtsO0I/pxqUbeGU3UkAlk7Z7cxU9dH3jtarHO01c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+66624+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1603766605211873.8854248154073; Mon, 26 Oct 2020 19:43:25 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 5dbdYY1788612xKh2lzSJ8Vz; Mon, 26 Oct 2020 19:43:24 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web11.8362.1603766593536324021 for ; Mon, 26 Oct 2020 19:43:20 -0700 IronPort-SDR: p2yRxv+FWy7mTJogKeSWQpY2lDz1lT7oQv/vcJlnDjFG/vOuNdfuBvZ49WMmAdX1jU0PD/OFhn X313FvWkF7ww== X-IronPort-AV: E=McAfee;i="6000,8403,9786"; a="168117911" X-IronPort-AV: E=Sophos;i="5.77,422,1596524400"; d="scan'208";a="168117911" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2020 19:43:20 -0700 IronPort-SDR: zAYBNT9V4TXHvlh1w3LsEsn/4p9E/ZFRkdsKSxDcjgampfOdgnW8QWa4N82r7sEK5o7U2FElE/ wheMLmWgt6YA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,422,1596524400"; d="scan'208";a="350351893" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.153.118]) by fmsmga004.fm.intel.com with ESMTP; 26 Oct 2020 19:43:19 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang Subject: [edk2-devel] [PATCH V2 5/7] SecurityPkg/Hash2DxeCrypto: Remove SHA1 support Date: Tue, 27 Oct 2020 10:42:58 +0800 Message-Id: <20201027024300.21100-6-zhichao.gao@intel.com> In-Reply-To: <20201027024300.21100-1-zhichao.gao@intel.com> References: <20201027024300.21100-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: leYyVz4IMKsfC1Fyg9pIVWg0x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1603766604; bh=Sy/DGCIE8sOPabBGbDKoj91OkJDafXxKkGUEup+FfVQ=; h=Cc:Date:From:Reply-To:Subject:To; b=LklYt9Qhuo5tHZ/zG9gz6UPEQqDDX13QkuEn1oLYobTivOLD9SZM4j9v63wdbq11B7t MdP79/41ME4xgGrOeeDaUTD1rWO5AkK5NROPzetiHvD3LgQrtz3V5w/H5Pl2qmJwjonZV r1egUmUvC8zEwjG2tJ19UzcNSvRpBo0WhcQ= 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 (#66624): https://edk2.groups.io/g/devel/message/66624 Mute This Topic: https://groups.io/mt/77831680/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-