From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id BDCD7740034 for ; Mon, 6 May 2024 18:07:55 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Pg/1VGA4BoIZGV/lUHecC3GV2SndqCeQUH8H9Y4EEtM=; c=relaxed/simple; d=groups.io; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1715018874; v=1; b=in2rZD9Pm6JnquMC5y+T1qeRh6RQnloCMrJ3N6skKY40VGErJo3WxLhBR+Vw9DWG1RwVyfQa 88b2ytonP36U5mFoOftMJuA+EKvU4SMqPauMqSkKaSbioBHrEbRVSHzjhXgiOp/Qb4ocGrjTtL9 +z7rJtLTnuv5MxH7baLyaLWJB7f4PZgbg3O0rscgx2ztHHw+hwLupMJTTywLIG4S4iS05BuX4jy bQGfKQC0DoQ9zPmKGRiy6WbhEww+bWi5zyvvTFfy8MRdEq6GUgtXwuKMmjQDewjAICyYWEdp5Rk wp54+EURGRCZhgT4Ay3ucpc81KJMF1AZ32M8snlva+OnA== X-Received: by 127.0.0.2 with SMTP id PrkGYY7687511xtkI998TrDi; Mon, 06 May 2024 11:07:54 -0700 X-Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.202]) by mx.groups.io with SMTP id smtpd.web10.1450.1715018873450957149 for ; Mon, 06 May 2024 11:07:53 -0700 X-Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-1e45572fb3fso21857245ad.0 for ; Mon, 06 May 2024 11:07:53 -0700 (PDT) X-Gm-Message-State: WjJuxFhmk0txGPy2FvWh6P41x7686176AA= X-Google-Smtp-Source: AGHT+IGNfmd3JGN2JwSD5vgT6mLGDdXzU5y5ECzcJ7AcbzoHdAZhprV9zko9cMb3w9cwRW5AOSsPJ2ZMPt8bMtlyYA== X-Received: from dionnaglaze.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:2ee6]) (user=dionnaglaze job=sendgmr) by 2002:a17:902:e5d0:b0:1e0:c824:250f with SMTP id u16-20020a170902e5d000b001e0c824250fmr411204plf.11.1715018872632; Mon, 06 May 2024 11:07:52 -0700 (PDT) Date: Mon, 6 May 2024 18:07:43 +0000 In-Reply-To: <20240506180745.2139164-1-dionnaglaze@google.com> Mime-Version: 1.0 References: <20240506180745.2139164-1-dionnaglaze@google.com> Message-ID: <20240506180745.2139164-2-dionnaglaze@google.com> Subject: [edk2-devel] [PATCH v4 1/3] MdePkg: Add TcgSp800155Event3 type info From: "Dionna Glaze via groups.io" To: devel@edk2.groups.io Cc: Dionna Glaze , Michael D Kinney , Liming Gao , Zhiguang Liu , Jiewen Yao 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: Mon, 06 May 2024 11:07:53 -0700 Resent-From: dionnaglaze@google.com Reply-To: devel@edk2.groups.io,dionnaglaze@google.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=in2rZD9P; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io TCG PC Client Platform Firmware Profile 1.06 revision 52 of December 2023 added a new event signature and extended information about where a reference measurement document for the firmware can be found. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Reviewed-by: Jiewen Yao Signed-off-by: Dionna Glaze --- .../IndustryStandard/UefiTcgPlatform.h | 38 ++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h b/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h index 61bd4e4667..aaee5d6c88 100644 --- a/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h +++ b/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h @@ -451,6 +451,7 @@ typedef struct tdTCG_PCClientTaggedEvent { #define TCG_Sp800_155_PlatformId_Event_SIGNATURE "SP800-155 Event" #define TCG_Sp800_155_PlatformId_Event2_SIGNATURE "SP800-155 Event2" +#define TCG_Sp800_155_PlatformId_Event3_SIGNATURE "SP800-155 Event3" typedef struct tdTCG_Sp800_155_PlatformId_Event2 { UINT8 Signature[16]; @@ -478,9 +479,44 @@ typedef struct tdTCG_Sp800_155_PlatformId_Event2 { // UINT8 FirmwareManufacturerStr[FirmwareManufacturerStrSize]; // UINT32 FirmwareManufacturerId; // UINT8 FirmwareVersion; - // UINT8 FirmwareVersion[FirmwareVersionSize]]; + // UINT8 FirmwareVersion[FirmwareVersionSize]; } TCG_Sp800_155_PlatformId_Event2; +typedef struct tdTCG_Sp800_155_PlatformId_Event3 { + UINT8 Signature[16]; + // + // Where Vendor ID is an integer defined + // at http://www.iana.org/assignments/enterprisenumbers + // + UINT32 VendorId; + // + // 16-byte identifier of a given platform's static configuration of code + // + EFI_GUID ReferenceManifestGuid; + // UINT8 PlatformManufacturerStrSize; + // UINT8 PlatformManufacturerStr[PlatformManufacturerStrSize]; + // UINT8 PlatformModelSize; + // UINT8 PlatformModel[PlatformModelSize]; + // UINT8 PlatformVersionSize; + // UINT8 PlatformVersion[PlatformVersionSize]; + // UINT8 PlatformModelSize; + // UINT8 PlatformModel[PlatformModelSize]; + // UINT8 FirmwareManufacturerStrSize; + // UINT8 FirmwareManufacturerStr[FirmwareManufacturerStrSize]; + // UINT32 FirmwareManufacturerId; + // UINT8 FirmwareVersion; + // UINT8 FirmwareVersion[FirmwareVersionSize]; + // + // Below structure is newly added in TCG_Sp800_155_PlatformId_Event3 + // + // UINT32 RimLocatorType; + // UINT32 RimLocatorLength; + // UINT8 RimLocator[RimLocatorLength]; + // UINT32 PlatformCertLocatorType; + // UINT32 PlatformCertLocatorLength; + // UINT8 PlatformCertLocator[PlatformCertLocatorLength]; +} TCG_Sp800_155_PlatformId_Event3; + #define TCG_EfiStartupLocalityEvent_SIGNATURE "StartupLocality" // -- 2.45.0.rc1.225.g2a3ae87e7f-goog -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118611): https://edk2.groups.io/g/devel/message/118611 Mute This Topic: https://groups.io/mt/105945151/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-