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 8F866940E9A for ; Thu, 2 May 2024 00:50:49 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Lc0xB6pdBaCqvoX3x8wjpbE1j5nTb6nWc+6dwkuA7CA=; 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=1714611048; v=1; b=Mievok8y0zCilQTJrkz7TW68fVuIxZX2roghFCBho6M591uR+C8vdZKc5DToVTcmGF5tUWOC Dp8/vqBeBeDaET8hi5CSrrnCUioNzfhXpMSJuVXBOT+y4II1rGQVJez0F64ZzKrO38UGGP/Rr6c CtJhSMDTzDoLh47J78Lnm7DzEpbQHEpaQrnDCu2zCYHBi9W2RGUBfhE4iba/y4jm6FuUZqaCRXu 2zzbjiv4aeyKvxIwD6f2jjf6An+TJ3d0UhwY2q02GpCiDKSvvwbJn0LKqvMrW1i2nfRKLihO5lc 5K3ir5zmND9AW7i/f+gWcRydPoQkIFhW8MoUkmKkKtDPw== X-Received: by 127.0.0.2 with SMTP id tfBnYY7687511xvPtHO2KTto; Wed, 01 May 2024 17:50:48 -0700 X-Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) by mx.groups.io with SMTP id smtpd.web11.2715.1714611047038181780 for ; Wed, 01 May 2024 17:50:47 -0700 X-Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-61be325413eso18070217b3.1 for ; Wed, 01 May 2024 17:50:46 -0700 (PDT) X-Gm-Message-State: BY01b37RrJLLJCw7GwJdecOkx7686176AA= X-Google-Smtp-Source: AGHT+IF5eRTEefV8WN7uHgiX99IDCqhm1jxGAwD/a/G0NmBk8NzCz1h9k9J5vy/R92XZzBTJ2TzzN5uNkB/DiSXvSg== X-Received: from dionnaglaze.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:2ee6]) (user=dionnaglaze job=sendgmr) by 2002:a81:9110:0:b0:618:2ad1:a46f with SMTP id i16-20020a819110000000b006182ad1a46fmr329559ywg.2.1714611046085; Wed, 01 May 2024 17:50:46 -0700 (PDT) Date: Thu, 2 May 2024 00:50:12 +0000 In-Reply-To: <20240502005041.825088-1-dionnaglaze@google.com> Mime-Version: 1.0 References: <20240502005041.825088-1-dionnaglaze@google.com> Message-ID: <20240502005041.825088-2-dionnaglaze@google.com> Subject: [edk2-devel] [PATCH v3 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: Wed, 01 May 2024 17:50:47 -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=Mievok8y; 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.rc0.197.gbae5840b3b-goog -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118486): https://edk2.groups.io/g/devel/message/118486 Mute This Topic: https://groups.io/mt/105854726/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-