From nobody Mon Feb 9 01:01:23 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+89753+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+89753+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1652686970; cv=none; d=zohomail.com; s=zohoarc; b=PZstJrgoSH8j8bgK4nYLUVfPJCwW+K1LOe0R23/BGHxkOAIVqEuYGRW2h5mJRRODq7wEQ/PKhSQnSxnZ375yjSXVh5D9G0QaaL25Biaw+JwcuNhUNIoPcYTelxYqrNfgqJvOkGEkDgljTT3Xzj2BjQcjD/OtHX2EKXkESsFDdtU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652686970; 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=/uIrxhJdXSz8fzgrcXvWkkmDiuuV/oUHQAauEOeDjcA=; b=S5BrILDtvD3l/w3HMwsDcG7G43IWwzvb8hEeTacFEzQF4TAQPFT3eEF+9a0tvM/9fosf4AyUJTnQiw+d6SxqKssnpmQmgNd8wuNdjeY3dSIcPwXVhDH/aNz3lqEfEs1Cn9r2IipwbnX00IfmFBDR4f+vWw2OKhnClSqfP4+GLI4= 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+89753+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 1652686970708481.4388280121236; Mon, 16 May 2022 00:42:50 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ygFiYY1788612xcsBWALWM5I; Mon, 16 May 2022 00:42:49 -0700 X-Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web11.26133.1652686968778297866 for ; Mon, 16 May 2022 00:42:48 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10348"; a="258330478" X-IronPort-AV: E=Sophos;i="5.91,229,1647327600"; d="scan'208";a="258330478" X-Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2022 00:42:45 -0700 X-IronPort-AV: E=Sophos;i="5.91,229,1647327600"; d="scan'208";a="699418954" X-Received: from mxu9-mobl1.ccr.corp.intel.com ([10.249.170.79]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2022 00:42:42 -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 V4 3/9] SecurityPkg: Add definition of EFI_CC_EVENT_HOB_GUID Date: Mon, 16 May 2022 15:42:17 +0800 Message-Id: <1bc7e6371dce293a02cc8cf960ba1752c7e4f665.1652686674.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: DeOEdGhhVFARBB22rABbqkDUx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1652686969; bh=gJhSVWtsHsWSsHsrJ7BJEztImMVdm2ajrvzI/ruixeE=; h=Cc:Date:From:Reply-To:Subject:To; b=eUEz03tIzzOnILhCSofifQKnODw4OgENMGHWk6OQWB3pOu+DrzruJCf+l9jX0VrqBix HxyWqvuP5eSBYaHEdfSzmU9BUEL22CVfEaaR8MCdrEQKbBY99VXlQZGs6NP1CtP55DYUM SRaYQsroIWWSqWzgusNg7mhbtStIr9XYy0E= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1652686971553100007 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 Reviewed-by: Sami Mujawar --- 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 (#89753): https://edk2.groups.io/g/devel/message/89753 Mute This Topic: https://groups.io/mt/91135111/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-