From nobody Mon Feb 9 10:57:21 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+88582+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+88582+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1649400113; cv=none; d=zohomail.com; s=zohoarc; b=UMRoL5612GokyWIs4YilNX/dnYWZZfAf91LyIxPFg0u0yFdz6M2Qzsc+8d7uEySbVXdZSQR9YqFIiQO2URaFhlRxRTu9MXYP/i5d+/T7p5Tp9Tm7ZZfb+AITH48AktsnQBanD/kCdfXwzuis34ruPqh6wl/+tNiczSvbxPvlWrg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649400113; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=r7N0wMgRK7Lztw5V8anSowumWEL1+xpFRa1EX3gFhgw=; b=oJZp9g2lJ2jggijD+KE4SoKqZ4fQFHfb6fZPzc+ILeA8EJnFSIMKlHHEz8xbNxzqlzqVSzJFNJScWG+f6cTHPUb4d6Comi6+m2cOzB/z8A/CBo+hCqoREpRlAIrC1QcLSPPb5BanUoseGkqYrwKEglH3+aRwyRGytOa/6Wq2tgI= 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+88582+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1649400113832929.0767190513105; Thu, 7 Apr 2022 23:41:53 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id n3YhYY1788612xGaRHIFm0UL; Thu, 07 Apr 2022 23:41:53 -0700 X-Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web08.2915.1649400111329603027 for ; Thu, 07 Apr 2022 23:41:51 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10310"; a="261700538" X-IronPort-AV: E=Sophos;i="5.90,244,1643702400"; d="scan'208";a="261700538" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2022 23:41:44 -0700 X-IronPort-AV: E=Sophos;i="5.90,244,1643702400"; d="scan'208";a="525257550" X-Received: from mxu9-mobl1.ccr.corp.intel.com ([10.255.28.237]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2022 23:41:43 -0700 From: "Min Xu" To: devel@edk2.groups.io Cc: Min Xu , Gerd Hoffmann , Jiewen Yao , Sami Mujawar , Jian J Wang Subject: [edk2-devel] [PATCH V2 3/8] SecurityPkg: Add definition of EFI_CC_EVENT_HOB_GUID Date: Fri, 8 Apr 2022 14:39:18 +0800 Message-Id: <4a6d0f6783a6fb34b9ad58c7c434dc2d40a50dd5.1649399642.git.min.m.xu@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,min.m.xu@intel.com X-Gm-Message-State: nGLdUJIW2Lzeq69DK44lYIRQx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1649400113; bh=oONvPhV1THx68+XdOJgY+Z+FhZbZeTEpliz4eP4dAYs=; h=Cc:Date:From:Reply-To:Subject:To; b=KEYADVdwmFsIGn0/dXvHVGQ9NZWnlluHnqUZzFX6msTJr2aC/g7QazHnJ7m0mK5Vv0/ MH+edySN7FX5hqetvTbmISqKJliCmj5t/cD5xuyyjo/g8tYR7kz7vvd8B9gh6Eto0VCjW Xw2bjBk1NOn/CUG5Z/WmSaGN3G5orTwl6Gs= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1649400115441100016 Content-Type: text/plain; charset="utf-8" RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3853 EFI_CC_EVENT_HOB_GUID is the global ID of a GUIDed HOB used to pass TDX_DIGEST_VALUE from SEC to a DXE Driver ( This DXE driver will be introduced in the following commit in this patch-sets ). In that DXE driver this GUIDed HOB will be parsed and the TDX_DIGEST_VALUE then will be extracted. After that a EFI_CC_EVENT will be created based on it. Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Sami Mujawar Cc: Jian J Wang Signed-off-by: Min Xu Reviewed-by: Jiewen Yao --- SecurityPkg/Include/Guid/CcEventHob.h | 22 ++++++++++++++++++++++ SecurityPkg/SecurityPkg.dec | 4 ++++ 2 files changed, 26 insertions(+) create mode 100644 SecurityPkg/Include/Guid/CcEventHob.h diff --git a/SecurityPkg/Include/Guid/CcEventHob.h b/SecurityPkg/Include/Gu= id/CcEventHob.h new file mode 100644 index 000000000000..072999ce92de --- /dev/null +++ b/SecurityPkg/Include/Guid/CcEventHob.h @@ -0,0 +1,22 @@ +/** @file + Defines the HOB GUID used to pass a CC_EVENT from SEC to + a CC DXE Driver. A GUIDed HOB is generated for each measurement + made in the SEC Phase. + +Copyright (c) 2021 - 2022, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef CC_EVENT_HOB_H_ +#define CC_EVENT_HOB_H_ + +// +// The Global ID of a GUIDed HOB used to pass a CC_EVENT from SEC to a CC = DXE Driver. +// +#define EFI_CC_EVENT_HOB_GUID \ + { 0x20f8fd36, 0x6d00, 0x40fb, { 0xb7, 0x04, 0xd1, 0x2c, 0x15, 0x3c, 0x62= , 0xeb } } + +extern EFI_GUID gCcEventEntryHobGuid; + +#endif diff --git a/SecurityPkg/SecurityPkg.dec b/SecurityPkg/SecurityPkg.dec index 9f7a032d60d5..0ee75efc1a97 100644 --- a/SecurityPkg/SecurityPkg.dec +++ b/SecurityPkg/SecurityPkg.dec @@ -136,6 +136,10 @@ ## Include/Guid/TcgEventHob.h gTcgEvent2EntryHobGuid =3D { 0xd26c221e, 0x2430, 0x4c8a, { 0= x91, 0x70, 0x3f, 0xcb, 0x45, 0x0, 0x41, 0x3f }} =20 + ## Hob GUID used to pass a CC_EVENT from SEC to a CC DXE Driver. + ## Include/Guid/CcEventHob.h + gCcEventEntryHobGuid =3D { 0x20f8fd36, 0x6d00, 0x40fb, { 0= xb7, 0x04, 0xd1, 0x2c, 0x15, 0x3c, 0x62, 0xeb }} + ## HOB GUID used to record TPM device error. # Include/Guid/TcgEventHob.h gTpmErrorHobGuid =3D { 0xef598499, 0xb25e, 0x473a, { 0= xbf, 0xaf, 0xe7, 0xe5, 0x7d, 0xce, 0x82, 0xc4 }} --=20 2.29.2.windows.2 -=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 (#88582): https://edk2.groups.io/g/devel/message/88582 Mute This Topic: https://groups.io/mt/90330663/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-