summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Include
diff options
context:
space:
mode:
authorMin Xu <min.m.xu@intel.com>2022-05-16 15:42:17 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-06-03 11:41:36 +0000
commitdc443e4437d0ec58aa0bf81ff91d11f1b30ac63f (patch)
tree026903ad1397d557717ad083d25c6eccc5ebb693 /SecurityPkg/Include
parentb1567b2e15239b06952e81f15c295574fae983e3 (diff)
downloadedk2-dc443e4437d0ec58aa0bf81ff91d11f1b30ac63f.tar.gz
edk2-dc443e4437d0ec58aa0bf81ff91d11f1b30ac63f.tar.bz2
edk2-dc443e4437d0ec58aa0bf81ff91d11f1b30ac63f.zip
SecurityPkg: Add definition of EFI_CC_EVENT_HOB_GUID
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3853 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 <kraxel@redhat.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Min Xu <min.m.xu@intel.com>
Diffstat (limited to 'SecurityPkg/Include')
-rw-r--r--SecurityPkg/Include/Guid/CcEventHob.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/SecurityPkg/Include/Guid/CcEventHob.h b/SecurityPkg/Include/Guid/CcEventHob.h
new file mode 100644
index 0000000000..072999ce92
--- /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.<BR>
+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