From nobody Mon Feb 9 05:42:04 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+88986+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+88986+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1650240018; cv=none; d=zohomail.com; s=zohoarc; b=gkJPV/GCPpC6sBjLnGOavC3GD08dPJl1W6xx0F3d+eGFAIIkvH+jGgvDov9u6S5GaUjb17MCWlI2kZzl5miaU3qeEMNNgC9Mo6wPlKzUcPHv+DiSiXRjgm6iQKEy/MMEXWTkySy2aVtpeYUEuAHKjDQr4gALoAWIdlQPhJQDaAA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1650240018; 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=3OaomGEr9W5TZHb+jYMIrXhV+yroJA+oylC9Hs84Gpw=; b=EawKXyzmob3Yia54BvxrUrmKxl0T2pBoT5ioHXUJINSBwNoHiTp2+G1t9Ht2hwSFBpVIinPmv/MADr0p8SD2JDqiJ5nh15Map1xTJfbzJxqFWS9pnFX82hRDzQUlJJaQbIBwgZre33dGWMw9/6HVuwDVLsnY6cXixau+YjNqVuY= 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+88986+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 1650240018966657.0709298766519; Sun, 17 Apr 2022 17:00:18 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ov00YY1788612xVUP1tvFnrp; Sun, 17 Apr 2022 17:00:18 -0700 X-Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web10.34422.1650240016423357250 for ; Sun, 17 Apr 2022 17:00:18 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10320"; a="349872431" X-IronPort-AV: E=Sophos;i="5.90,267,1643702400"; d="scan'208";a="349872431" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2022 17:00:17 -0700 X-IronPort-AV: E=Sophos;i="5.90,267,1643702400"; d="scan'208";a="575329319" X-Received: from cuixin-mobl.ccr.corp.intel.com (HELO mxu9-mobl1.ccr.corp.intel.com) ([10.249.170.67]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2022 17:00:15 -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 V3 3/9] SecurityPkg: Add definition of EFI_CC_EVENT_HOB_GUID Date: Mon, 18 Apr 2022 07:59:54 +0800 Message-Id: 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: 0qyb1nEo5jHf8Nv0EtasW3FUx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1650240018; bh=K4KLdYhkcfJPPzbczmZucnfNjBKthETty6vd36Q4Z/o=; h=Cc:Date:From:Reply-To:Subject:To; b=dBphTlsyoFJ6SEopm3ANJrGNBS3twFpyJZcjUF+HApO8G9GQBKIg3wcN0kcQN8g64HW whn2kk/O7PPKgtDnU+ZWLh2GuxpxK9+ElEfzn5aW1hE4x1cdMZppD/Z4psA2wfCuu9FUb PU2nxa8nUvGy7WC8JTZ8pplUiCsu9k9F9VI= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1650240019640100013 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 Reviewed-by: Jiewen Yao Signed-off-by: Min Xu --- 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 (#88986): https://edk2.groups.io/g/devel/message/88986 Mute This Topic: https://groups.io/mt/90531014/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-