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 392D4D804CC for ; Wed, 1 May 2024 16:10:34 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=/K5MothLkrgZaCOHeg7ed7LPqlfsxxq2/ucStlEurw0=; 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=1714579832; v=1; b=tNSu0lKPebioeqIndRMhf1oHl+8ZF3ANXATINdBKgWyD4Uylh7YH/MPz87/CAUCtjDUv51VT R/2/DNtmxEke+W/3QqvhLtzDa5eB+xbUicSryyBjEWgLiGqV6R6uABZHoBmgHd8CpmjssrV1pze v9ga9FhOVIwUxfkqFS0bKGZGXAxfA3K5Q0VC8WUdmzMPs83HSG4PiUNzygySX6UKppAD0+FZ4xq O93FebguUjqzg+924/AeoE+aBnFjYNPuUssFx77MyANvVPLoDBfV8ktAU7/9dSAixJGH6Zv3u1+ FSbXS8Fe5H8zrqtzJ0ye3y0oGxC+O9EZPwCCOl6Vo6iaA== X-Received: by 127.0.0.2 with SMTP id Nn97YY7687511xntOxtPbL9n; Wed, 01 May 2024 09:10:32 -0700 X-Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) by mx.groups.io with SMTP id smtpd.web11.263.1714579832060427138 for ; Wed, 01 May 2024 09:10:32 -0700 X-Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-61c9e36888bso29007357b3.2 for ; Wed, 01 May 2024 09:10:31 -0700 (PDT) X-Gm-Message-State: Xdk6ZFsjczfkCjmXer65LOUkx7686176AA= X-Google-Smtp-Source: AGHT+IEB60kNkdiGjw3F71wX/Vk8X2ufg3mTa7rwkRQ9MgV/UnPatq/MTIdp1aqEFmhjOzFJ6qZkvGmFkMLQNuqQuw== X-Received: from dionnaglaze.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:2ee6]) (user=dionnaglaze job=sendgmr) by 2002:a0d:e284:0:b0:61a:dcd0:5a61 with SMTP id l126-20020a0de284000000b0061adcd05a61mr664080ywe.7.1714579831003; Wed, 01 May 2024 09:10:31 -0700 (PDT) Date: Wed, 1 May 2024 16:09:55 +0000 In-Reply-To: <20240501161010.372470-1-dionnaglaze@google.com> Mime-Version: 1.0 References: <20240501161010.372470-1-dionnaglaze@google.com> Message-ID: <20240501161010.372470-2-dionnaglaze@google.com> Subject: [edk2-devel] [PATCH v2 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 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 09:10:32 -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=tNSu0lKP; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=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 Signed-off-by: Dionna Glaze --- .../IndustryStandard/UefiTcgPlatform.h | 40 ++++++++++++++++++- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h b/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h index 61bd4e4667..54bdf3a339 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]; @@ -463,7 +464,7 @@ typedef struct tdTCG_Sp800_155_PlatformId_Event2 { // 16-byte identifier of a given platform's static configuration of code // EFI_GUID ReferenceManifestGuid; - // + // // Below structure is newly added in TCG_Sp800_155_PlatformId_Event2. // // UINT8 PlatformManufacturerStrSize; @@ -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 (#118464): https://edk2.groups.io/g/devel/message/118464 Mute This Topic: https://groups.io/mt/105845524/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-