From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 7E9C2940EEF for ; Mon, 8 Apr 2024 01:59:55 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=fkHUqkIlTj0lXhfrH15WHcOOJg9G2ijuzh9yqhA345g=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type; s=20240206; t=1712541594; v=1; b=RYnG5jTA7MW12nJ2Mi5yLA9uaqNj5OhVbT/rfRq72JleNjGr3lUvgQGRMGe1hJ894qYSLQ1L sB5iWsAbrflvNSduJs0AQu34A3nDauko+ul5gxvyJx4MLaFC01i5Qw/GxqtQbezDW0iNx0br83/ 8mPDuuIV3ERCz6gIt0uevLmouAk7MT0aAp6kbSSTSscdVSeVpY85CFzz2wuK4XXUBnw/de23CqA D5ShgRKZcXnAmYwcOcnYmzYx6uRm73BoXBX0QcVwKUihjidf1DIg5Lr4bn1tc8PTYDYlUkMRsUI FycDDP+vmDekKimWr2o6KX17+P2eklh746dCSmkx8pKbQ== X-Received: by 127.0.0.2 with SMTP id tISeYY7687511xC1UGztoyEF; Sun, 07 Apr 2024 18:59:54 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) by mx.groups.io with SMTP id smtpd.web11.96980.1712541593565526809 for ; Sun, 07 Apr 2024 18:59:53 -0700 X-CSE-ConnectionGUID: YprGM6QNSDmpDjNui8GB6w== X-CSE-MsgGUID: iox37+5DQ8mN0RwM6CFSWg== X-IronPort-AV: E=McAfee;i="6600,9927,11037"; a="7984424" X-IronPort-AV: E=Sophos;i="6.07,186,1708416000"; d="scan'208";a="7984424" X-Received: from orviesa006.jf.intel.com ([10.64.159.146]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2024 18:59:53 -0700 X-CSE-ConnectionGUID: T28VeIgIQbq5nivkqAQoWw== X-CSE-MsgGUID: vcXvl4wwTa+Bjp+cXpdfNw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,186,1708416000"; d="scan'208";a="20175136" X-Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orviesa006.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 07 Apr 2024 18:59:52 -0700 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sun, 7 Apr 2024 18:59:52 -0700 X-Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Sun, 7 Apr 2024 18:59:52 -0700 X-Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Sun, 7 Apr 2024 18:59:51 -0700 X-Received: from PH0PR11MB5046.namprd11.prod.outlook.com (2603:10b6:510:3b::20) by LV8PR11MB8721.namprd11.prod.outlook.com (2603:10b6:408:203::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.25; Mon, 8 Apr 2024 01:59:49 +0000 X-Received: from PH0PR11MB5046.namprd11.prod.outlook.com ([fe80::c253:f1ee:bfd7:6991]) by PH0PR11MB5046.namprd11.prod.outlook.com ([fe80::c253:f1ee:bfd7:6991%6]) with mapi id 15.20.7452.019; Mon, 8 Apr 2024 01:59:49 +0000 From: "Wenxing Hou" To: Michael Kubacki , "devel@edk2.groups.io" CC: Liming Gao , "Yao, Jiewen" Subject: Re: [edk2-devel] [PATCH 4/9] MdeModulePkg/Variable: Add TCG SPDM device measurement update Thread-Topic: [edk2-devel] [PATCH 4/9] MdeModulePkg/Variable: Add TCG SPDM device measurement update Thread-Index: AQHahqjQCMsiI36IBUSgtfx2mtXubLFdoh0w Date: Mon, 8 Apr 2024 01:59:49 +0000 Message-ID: References: <20240402023125.4168-1-wenxing.hou@intel.com> <20240402023125.4168-5-wenxing.hou@intel.com> <9046ad34-c294-48e4-9faa-9494823609ae@linux.microsoft.com> In-Reply-To: <9046ad34-c294-48e4-9faa-9494823609ae@linux.microsoft.com> Accept-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB5046:EE_|LV8PR11MB8721:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: r1sCLAR1Qm6JrQxSgFffQDETDmuOk6Pf/3/bMhNER1ex7S4ciU4hpWA1bcX/FxSV3+4L/u15i4ZJKsxoKzXsGwNScpXhk+QknlylOLuCifzgT7uLx/wnyIV2wHQrNfQZ6fgWTmzIDcubuqNeG5W7i8RDU3RgCoGNlW7d1hpbsvG4x92Xc22n/x3LTLtTR1Csz5fMfgkQVLycW9+6eUKy4I/3QYsQPgncBQ9VnCO1N3qtsHvKBFUlK2lF6V0M7NRzn3W6fpRJHCGFbgkTmrTivhgq8T/0rnIZyQ7C+xVsc6nPJhVLGHw8hvIyY6IY5x8O2yA+UhseBPt9zbYuZcc2QtLK21RZxfarfz3OCn/+efxzhzaaG6r3UiztV6wFuuo9bkvpZMdmoQfEZGpuPOpZlXYsFfsRHF2iWvKQGoh7B+p1QuPv+GJ9HkZRMUA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L083NnpkTG5XZXNESlNLbjcrb1dMaUsybDQ5dS9ITERW?= =?utf-8?B?MnF4VWdvc1B4cExad3VCdXNFUCtXbS9YY2lOR0paRHZBMlhLdUlIM3A4aGJG?= =?utf-8?B?Q3NuSUMyV1FvcVlDS3FDVVlmU3ZWV2NNVDEyZW9qZFptRU9jTTdWTUJMaFYz?= =?utf-8?B?RXVKSVNhZDFRQVlOcW9OODl2RkFJQzJKZDRKQks4SFpyT0xWNXRyTElrMUU1?= =?utf-8?B?OVpTY0wreXdMMit4emRNU3FTeUJLdFJYaHlvbStrMk9mQmpuYk9SUXU3YlNO?= =?utf-8?B?dktVTUJVMUN6T2tHSDBIQkhLaStvd25yN3Z5aHljaGx3SmtSOWM2L1BWY3F5?= =?utf-8?B?aXU0ai9qQWFGSmtzM2twc2JSRU84d2xudVBZRlduOWViUWc2SlJqTGtiOU5T?= =?utf-8?B?enZnbWhMRm84cWJhSmdJbGdWM1NaaFc3SGJXdlFGZlJhQzNWdXR5VTg5cnpk?= =?utf-8?B?UXRjTDRuVk1WMWp6TFo3MFhnWGFHR1pKYVVqUDA3aDVkcmlySFRKOFpPZE1G?= =?utf-8?B?Qk1mWGIxclYranBXRXZnTDhDQk5XUnA2MStRckFOZ1BlVktmSjBCUmk0eEEv?= =?utf-8?Q?bwk2cLZmQmFz4Mx9XB1EDxzVC?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5046.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea8d190c-4392-4dd2-a3b3-08dc576f9292 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2024 01:59:49.1337 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0B44msd+BFxBhdeDdoCjKRxZtft+ytlfzotr3p/kyeYrH6gnbLuwOPFVft5ZGYA+Vyxfcyec0tsJQfUSUsCmKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR11MB8721 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Sun, 07 Apr 2024 18:59:53 -0700 Resent-From: wenxing.hou@intel.com Reply-To: devel@edk2.groups.io,wenxing.hou@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: efcyCeSj4aGmUy9GzFRnaC2Bx7686176AA= Content-Language: en-US Content-Type: multipart/mixed; boundary="_002_PH0PR11MB5046BB549895D14AB5848CEFF7002PH0PR11MB5046namp_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=RYnG5jTA; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io --_002_PH0PR11MB5046BB549895D14AB5848CEFF7002PH0PR11MB5046namp_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgTWljaGFlbCwNCg0KSSBoYXZlIGZpeGVkIHRoZSB0eXBvIGluIGFsbCBmaWxlcy4NClBsZWFz ZSByZXZpZXcgdGhlIFBhdGNoIHYyICB3aGVuIHlvdSBhcmUgZnJlZS4NCg0KDQpUaGFua3MsDQpX ZW54aW5nDQoNCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IE1pY2hhZWwgS3Vi YWNraSA8bWlrdWJhY2tAbGludXgubWljcm9zb2Z0LmNvbT4gDQpTZW50OiBUaHVyc2RheSwgQXBy aWwgNCwgMjAyNCAxMTo1OCBQTQ0KVG86IGRldmV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93bmVyOiBkZXZlbCtvd25lckBl ZGsyLmdyb3Vwcy5pbwpVbnN1YnNjcmliZTogaHR0cHM6Ly9lZGsyLmdyb3Vwcy5pby9nL2RldmVs L3Vuc3ViIFtyZWJlY2NhQG9wZW5mdy5pb10KLT0tPS09LT0tPS09LT0tPS09LT0tPS0KCg0K --_002_PH0PR11MB5046BB549895D14AB5848CEFF7002PH0PR11MB5046namp_ Content-Type: message/rfc822 Content-Disposition: attachment; creation-date="Mon, 08 Apr 2024 01:59:45 GMT"; modification-date="Mon, 08 Apr 2024 01:59:48 GMT" Received: from SN7PR11MB8041.namprd11.prod.outlook.com (2603:10b6:806:2ec::22) by PH0PR11MB5046.namprd11.prod.outlook.com with HTTPS; Mon, 8 Apr 2024 01:50:46 +0000 Received: from DS7PR05CA0087.namprd05.prod.outlook.com (2603:10b6:8:56::9) by SN7PR11MB8041.namprd11.prod.outlook.com (2603:10b6:806:2ec::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7430.46; Mon, 8 Apr 2024 01:50:45 +0000 Received: from DS3PEPF0000C37E.namprd04.prod.outlook.com (2603:10b6:8:56:cafe::6e) by DS7PR05CA0087.outlook.office365.com (2603:10b6:8:56::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.26 via Frontend Transport; Mon, 8 Apr 2024 01:50:45 +0000 Received: from edgegateway.intel.com (134.134.137.103) by DS3PEPF0000C37E.mail.protection.outlook.com (10.167.23.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.22 via Frontend Transport; Mon, 8 Apr 2024 01:50:45 +0000 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by edgegateway.intel.com (10.7.248.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sun, 7 Apr 2024 18:50:30 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sun, 7 Apr 2024 18:50:29 -0700 Received: from fmviesa009.fm.intel.com (10.60.135.149) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Sun, 7 Apr 2024 18:50:29 -0700 Received: from fmvoesa107.fm.intel.com ([10.64.2.17]) by fmviesa009-1.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2024 18:50:27 -0700 Received: from mail02.groups.io ([66.175.222.108]) by mgamail.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2024 18:49:56 -0700 From: "Hou, Wenxing" To: "devel@edk2.groups.io" CC: Sean Brogan , Joey Vagedes , "Kinney, Michael D" , Liming Gao , Andrew Fish , "Liu, Zhiguang" , "Kumar, Rahul R" , "Yao, Jiewen" Subject: [edk2-devel] [PATCH v2 0/9] Add DeviceSecurity feature based on PFP 1.06 spec Thread-Topic: [edk2-devel] [PATCH v2 0/9] Add DeviceSecurity feature based on PFP 1.06 spec Thread-Index: AQHaiVcsYIFIOomNBUGB+QHJOOyeqA== Sender: "devel@edk2.groups.io" Date: Mon, 8 Apr 2024 01:46:40 +0000 Message-ID: <17C42ACC793CEE73.18064@groups.io> List-Help: List-Subscribe: List-Unsubscribe: Reply-To: "devel@edk2.groups.io" , "Hou, Wenxing" Content-Language: en-US X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: ORSMSX603.amr.corp.intel.com X-MS-Has-Attach: X-Auto-Response-Suppress: All X-MS-Exchange-Organization-Network-Message-Id: 0bf27178-e680-44f6-b356-08dc576e4e80 X-MS-Exchange-Organization-SCL: 1 X-MS-TNEF-Correlator: X-MS-Exchange-Organization-RecordReviewCfmType: 0 x-ms-exchange-organization-originalserveripaddress: 10.167.23.8 x-ms-exchange-organization-originalclientipaddress: 10.60.135.149 x-ms-publictraffictype: Email received-spf: None (mgamail.intel.com: no sender authenticity information available from domain of postmaster@mail02.groups.io) identity=helo; client-ip=66.175.222.108; receiver=mgamail.intel.com; envelope-from="bounce+27952+117477+6360182+10613013@groups.io"; x-sender="postmaster@mail02.groups.io"; x-conformance=sidf_compatible Resent-From: authentication-results: spf=softfail (sender IP is 134.134.137.103) smtp.mailfrom=groups.io; dkim=pass (signature was verified) header.d=groups.io;dmarc=fail action=none header.from=intel.com; x-forefront-antispam-report: CIP:134.134.137.103;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:edgegateway.intel.com;PTR:edgegateway.intel.com;CAT:NONE;SFS:;DIR:INB; x-ms-office365-filtering-correlation-id: 0bf27178-e680-44f6-b356-08dc576e4e80 x-ms-traffictypediagnostic: DS3PEPF0000C37E:EE_|SN7PR11MB8041:EE_|PH0PR11MB5046:EE_ x-microsoft-antispam: BCL:0; x-ms-exchange-crosstenant-originalarrivaltime: 08 Apr 2024 01:50:45.3593 (UTC) x-ms-exchange-crosstenant-network-message-id: 0bf27178-e680-44f6-b356-08dc576e4e80 x-ms-exchange-crosstenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d x-ms-exchange-crosstenant-fromentityheader: HybridOnPrem x-ms-exchange-transport-crosstenantheadersstamped: SN7PR11MB8041 x-ms-exchange-transport-endtoendlatency: 00:00:01.4603193 x-ms-exchange-processed-by-bccfoldering: 15.20.7452.019 x-ms-exchange-crosstenant-authas: Anonymous x-ms-exchange-crosstenant-authsource: ORSMSX603.amr.corp.intel.com x-ironport-av: E=Sophos;i="6.07,186,1708416000"; d="scan'208";a="24209627" x-extloop1: 1 x-organizationheaderspreserved: ORSMSX601.amr.corp.intel.com x-crosspremisesheaderspromoted: DS3PEPF0000C37E.namprd04.prod.outlook.com x-crosspremisesheadersfiltered: DS3PEPF0000C37E.namprd04.prod.outlook.com x-originatororg: intel.onmicrosoft.com x-eopattributedmessage: 0 x-ms-exchange-crosstenant-originalattributedtenantconnectingip: TenantId=46c98d88-e344-4ed4-8496-4ed7712e255d;Ip=[134.134.137.103];Helo=[edgegateway.intel.com] X-Microsoft-Antispam-Mailbox-Delivery: ucf:1;jmr:0;auth:0;dest:C;OFR:CustomRules;ENG:(910001)(944506478)(944626604)(920097)(930097)(140003); X-Microsoft-Antispam-Message-Info: =?iso-8859-1?Q?z3vpOTegGZaSrMnjF9D/5SH8ZDE3EbMyqw9sx8wGVs3dCED5vvu8vxsltb?= =?iso-8859-1?Q?kJvtu8pqdLyBcIejHWZusMNSJRtZ9FxwqlhMGh2KuQg3YZB8LGcFyBfuX8?= =?iso-8859-1?Q?ivod1cUFjsMm6SMFkBH4X7S6A/LaSbJcnSvRKkNp3iBxHD/RMlLeiPMAem?= =?iso-8859-1?Q?scZK2Fc2KFr8/V1n8QCEm0tZdF0PFYIa9j8QMRWSHfR8iYE7+zttSPtNVe?= =?iso-8859-1?Q?yb3D98AfPm66p7/8ORphDSpZpi0pKmKk9AKcACrNZtWo5MxT1WpU92yUfq?= =?iso-8859-1?Q?Wq2oQDMAY3YrFLnnqxlNKgDyOPdYIPQ30RTFt5SsCVAORvUXNP0nKg1Sdt?= =?iso-8859-1?Q?4JravFHD38aJ4ZzXLVuSSMmoZlHrgSWYYrHFcFbPDd9GGfJBXzcbxSyn6Y?= =?iso-8859-1?Q?ZXCYk03Fqq7PE/czMhjuJHxmtg5OnBmQxf3Zof1+5paWQazXS1B+LyNw2f?= =?iso-8859-1?Q?ic3h5T0U2ht/fcuXhKJrK+grm7wub9o8GM1TjQGIMVwiBzz6+ag6piM1Bu?= =?iso-8859-1?Q?KoLh8MQH5KS/vE8h4tBdUFIPL7l8qyFPYtA5eSk48Y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IG5EC+//uU39hNvQY38kWiVJ6W+SdVTGxM6+OBkya34wx?= =?iso-8859-1?Q?Byh51y1tB+WxPURe1uHvk0AjmThnpRdmBTT0j5tvXPinKk1Q3nGWG1ULkK?= =?iso-8859-1?Q?k9G7Xun3An7XCiDVdAS4uQ3VPLeQcrlFkCnTqz6nJuiZ4hZuV74v4U40GC?= =?iso-8859-1?Q?5/eSzPhCLJdWw8RWkkpLvVcC/me2GEz3gne3CrJghlIIvZKBlXsmrRTPXW?= =?iso-8859-1?Q?5DhmOQpz1Cn/8yLoSgUKqy8m0itwroNKI1bAeJ0TbpHtdmMJUt3/RulKEs?= =?iso-8859-1?Q?IM7Xh3PkVb9yaAQ+w4HBefmeTapBjsIA9XR/TVp2egDbclZa8SNs9uPTqg?= =?iso-8859-1?Q?AAJWB/gmSCfCgqPgNZYOxtD6cGv1alZdXI2qav6rnG2KKzxEB36p?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2479 In PFP spec 1.06, platform firmware records the device certificate and devi= ce measurement for each SPDM responder. This PATCH set implement the DeviceSecurityLib to support spdm device Authe= ntication and Measurement. Libspdm as submodule is to support DeviceSecurity feature: https://github.com/DMTF/libspdm TCG PFP spec 1.06: https://trustedcomputinggroup.org/resource/pc-client-specific-platform-firm= ware-profile-specification/ The POC branch: https://github.com/tianocore/edk2-staging/tree/DeviceSecurity And the PATCH set has passed the EDKII CI: https://github.com/tianocore/edk2/pull/5508 v2 changes: - Fix typo: PcdEnableSpdmDeviceAuthenticaion -> PcdEnableSpdmDeviceAuthent= ication Cc: Sean Brogan Cc: Joey Vagedes Cc: Michael D Kinney Cc: Liming Gao Cc: Andrew Fish Cc: Zhiguang Liu Cc: Rahul Kumar Cc: Jiewen Yao Signed-off-by: Wenxing Hou Wenxing Hou (9): MdePkg: Add SPDM1.2 support. MdePkg: Add TCG PFP 1.06 support. MdePkg: Add devAuthBoot GlobalVariable MdeModulePkg/Variable: Add TCG SPDM device measurement update SecurityPkg: Add TCG PFP 1.06 support. SecurityPkg: add DeviceSecurity support .pytool/CISettings.py: add libspdm submodule. .gitmodule: Add libspdm submodule for EDKII SecurityPkg: Add libspdm submodule .gitmodules | 3 + .pytool/CISettings.py | 2 + MdeModulePkg/MdeModulePkg.dec | 5 + .../Variable/RuntimeDxe/Measurement.c | 38 +- .../RuntimeDxe/VariableRuntimeDxe.inf | 3 + .../RuntimeDxe/VariableSmmRuntimeDxe.inf | 3 + MdePkg/Include/Guid/GlobalVariable.h | 8 +- MdePkg/Include/Guid/ImageAuthentication.h | 5 +- MdePkg/Include/IndustryStandard/Spdm.h | 1112 ++++++++++++++++- .../IndustryStandard/UefiTcgPlatform.h | 186 ++- .../OsStub/CryptlibWrapper/CryptlibWrapper.c | 970 ++++++++++++++ .../CryptlibWrapper/CryptlibWrapper.inf | 38 + .../OsStub/MemLibWrapper/MemLibWrapper.c | 177 +++ .../OsStub/MemLibWrapper/MemLibWrapper.inf | 33 + .../PlatformLibWrapper/PlatformLibWrapper.c | 85 ++ .../PlatformLibWrapper/PlatformLibWrapper.inf | 33 + .../SpdmLib/Include/Stub/SpdmLibStub.h | 347 +++++ .../SpdmLib/Include/hal/LibspdmStdBoolAlt.h | 23 + .../SpdmLib/Include/hal/LibspdmStdDefAlt.h | 16 + .../SpdmLib/Include/hal/LibspdmStdIntAlt.h | 25 + .../DeviceSecurity/SpdmLib/Include/hal/base.h | 94 ++ .../SpdmLib/Include/hal/library/debuglib.h | 39 + .../SpdmLib/Include/library/spdm_lib_config.h | 394 ++++++ .../DeviceSecurity/SpdmLib/SpdmCommonLib.inf | 47 + .../DeviceSecurity/SpdmLib/SpdmCryptLib.inf | 45 + .../SpdmLib/SpdmDeviceSecretLibNull.inf | 36 + .../SpdmLib/SpdmRequesterLib.inf | 59 + .../SpdmLib/SpdmResponderLib.inf | 61 + .../SpdmLib/SpdmSecuredMessageLib.inf | 44 + .../SpdmLib/SpdmTransportMctpLib.inf | 38 + .../SpdmLib/SpdmTransportPciDoeLib.inf | 38 + SecurityPkg/DeviceSecurity/SpdmLib/libspdm | 1 + .../SpdmSecurityLib/SpdmAuthentication.c | 697 +++++++++++ .../SpdmSecurityLib/SpdmConnectionInit.c | 481 +++++++ .../SpdmSecurityLib/SpdmMeasurement.c | 714 +++++++++++ .../SpdmSecurityLib/SpdmSecurityLib.c | 148 +++ .../SpdmSecurityLib/SpdmSecurityLib.inf | 54 + .../SpdmSecurityLib/SpdmSecurityLibInternal.h | 250 ++++ SecurityPkg/Include/Library/SpdmSecurityLib.h | 437 +++++++ SecurityPkg/Include/Library/Tpm2CommandLib.h | 23 +- .../Include/Protocol/DeviceSecurityPolicy.h | 133 ++ .../HashLibBaseCryptoRouterDxe.c | 88 +- .../Library/Tpm2CommandLib/Tpm2NVStorage.c | 122 +- SecurityPkg/SecurityPkg.ci.yaml | 17 +- SecurityPkg/SecurityPkg.dec | 13 +- SecurityPkg/SecurityPkg.dsc | 31 +- SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 61 +- SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf | 4 +- 48 files changed, 7196 insertions(+), 85 deletions(-) create mode 100644 SecurityPkg/DeviceSecurity/OsStub/CryptlibWrapper/Crypt= libWrapper.c create mode 100644 SecurityPkg/DeviceSecurity/OsStub/CryptlibWrapper/Crypt= libWrapper.inf create mode 100644 SecurityPkg/DeviceSecurity/OsStub/MemLibWrapper/MemLibW= rapper.c create mode 100644 SecurityPkg/DeviceSecurity/OsStub/MemLibWrapper/MemLibW= rapper.inf create mode 100644 SecurityPkg/DeviceSecurity/OsStub/PlatformLibWrapper/Pl= atformLibWrapper.c create mode 100644 SecurityPkg/DeviceSecurity/OsStub/PlatformLibWrapper/Pl= atformLibWrapper.inf create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/Include/Stub/SpdmLib= Stub.h create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/LibspdmS= tdBoolAlt.h create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/LibspdmS= tdDefAlt.h create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/LibspdmS= tdIntAlt.h create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/base.h create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/library/= debuglib.h create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/Include/library/spdm= _lib_config.h create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/SpdmCommonLib.inf create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/SpdmCryptLib.inf create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/SpdmDeviceSecretLibN= ull.inf create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/SpdmRequesterLib.inf create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/SpdmResponderLib.inf create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/SpdmSecuredMessageLi= b.inf create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/SpdmTransportMctpLib= .inf create mode 100644 SecurityPkg/DeviceSecurity/SpdmLib/SpdmTransportPciDoeL= ib.inf create mode 160000 SecurityPkg/DeviceSecurity/SpdmLib/libspdm create mode 100644 SecurityPkg/DeviceSecurity/SpdmSecurityLib/SpdmAuthenti= cation.c create mode 100644 SecurityPkg/DeviceSecurity/SpdmSecurityLib/SpdmConnecti= onInit.c create mode 100644 SecurityPkg/DeviceSecurity/SpdmSecurityLib/SpdmMeasurem= ent.c create mode 100644 SecurityPkg/DeviceSecurity/SpdmSecurityLib/SpdmSecurity= Lib.c create mode 100644 SecurityPkg/DeviceSecurity/SpdmSecurityLib/SpdmSecurity= Lib.inf create mode 100644 SecurityPkg/DeviceSecurity/SpdmSecurityLib/SpdmSecurity= LibInternal.h create mode 100644 SecurityPkg/Include/Library/SpdmSecurityLib.h create mode 100644 SecurityPkg/Include/Protocol/DeviceSecurityPolicy.h --=20 2.26.2.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 (#117477): https://edk2.groups.io/g/devel/message/117477 Mute This Topic: https://groups.io/mt/105394111/6360182 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [wenxing.hou@intel.com] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --_002_PH0PR11MB5046BB549895D14AB5848CEFF7002PH0PR11MB5046namp_--