From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id B5DDF7803EC for ; Tue, 9 Jan 2024 18:21:07 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=SCwt2JJSGzPdhHh3CCm+gWhTY3F+V4SRFVYLeriH+zk=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1704824466; v=1; b=WjqojBuyp5ns+ZdJ2kZ4jLaCtpBaP0d3tY0cxLNAB6h4x7ah2y8z3bGuwLLgCAZyCdVus+NQ kUrXWV+aGoH+OS+JUxdkPTNyjmlH0h78F6kMcdKsojGsu4QLW93fxFimmqXHke4Szm3AhiL6QmY n0qqQFwcCf4NPDNtuOqLGiP8= X-Received: by 127.0.0.2 with SMTP id r8pbYY7687511xs9bonm57XM; Tue, 09 Jan 2024 10:21:06 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.24570.1704824465363081389 for ; Tue, 09 Jan 2024 10:21:05 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 594DFDA7; Tue, 9 Jan 2024 10:21:50 -0800 (PST) X-Received: from beelzebub.ast.arm.com (unknown [10.118.29.240]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B5D413F5A1; Tue, 9 Jan 2024 10:21:04 -0800 (PST) From: "Stuart Yoder" To: devel@edk2.groups.io, Edhaya.Chandran@arm.com, gaojie@byosoft.com.cn Cc: ilias.apalodimas@linaro.org, heinrich.schuchardt@canonical.com, Samer.El-Haj-Mahmoud@arm.com, Jiewen.Yao@intel.com Subject: [edk2-devel] [PATCH v2 0/6] Tests for TCG2 Protocol Date: Tue, 9 Jan 2024 12:20:47 -0600 Message-Id: <20240109182053.2540542-1-stuart.yoder@arm.com> MIME-Version: 1.0 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 Reply-To: devel@edk2.groups.io,stuart.yoder@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: c5G0Xyt74TF6gZBanmV6GF5bx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=WjqojBuy; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io This patch series adds tests for the TCG2 Protocol which is implemented b= y EDK2. The protocol is defined in chapter 6 in the TCG EFI Protocol Specificatio= n: https://trustedcomputinggroup.org/resource/tcg-efi-protocol-specification= / The definition of the test cases is in a specification that has been reviewed in 2022 by participants in the monthly Tianocore edk2-test bug t= riage meeting. That spec is here: https://github.com/stuyod01/edk2-test/blob/master/uefi-sct/Doc/UEFI-SCT-C= ase-Spec/30_Protocols_TCG2_Test.md Bugzilla ticket for this is: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3736 The patches in this series are an updated version of code that has been in the Arm SystemReady ACS for several years, and have been used as part of SystemReady certifications. There are tests for functions EFI_TCG2_PROTOCOL.GetCapability EFI_TCG2_PROTOCOL.GetEventLog EFI_TCG2_PROTOCOL.HashLogExtendEvent EFI_TCG2_PROTOCOL.SubmitCommand EFI_TCG2_PROTOCOL.GetActivePcrBanks v2 changes -added commit messages for all patches -deleted typedef for EFI_PHYSICAL_ADDRESS since it is defined elsewher= e Joseph Hemann (6): uefi-sct/SctPkg: TCG2 Protocol: add header with TCG2 protocol definitions uefi-sct/SctPkg: TCG2 Protocol: add test infrastructure and GetCapability Test uefi-sct/SctPkg: TCG2 Protocol: add GetActivePcrBanks test uefi-sct/SctPkg: TCG2 Protocol: add HashLogExtendEvent test uefi-sct/SctPkg: TCG2 Protocol: add GetEventLog test uefi-sct/SctPkg: TCG2 Protocol: add SubmitCommand test uefi-sct/SctPkg/UEFI/UEFI_SCT.dsc = | 1 + uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2Protoco= lBBTest.inf | 51 + uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/Guid.h = | 112 ++ uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2Protoco= lBBTest.h | 217 ++++ uefi-sct/SctPkg/UEFI/Protocol/TCG2.h = | 223 ++++ uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/Guid.c = | 63 ++ uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2Protoco= lBBTestConformance.c | 1181 ++++++++++++++++++++ uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2Protoco= lBBTestMain.c | 129 +++ uefi-sct/SctPkg/CommonGenFramework.sh = | 1 + uefi-sct/SctPkg/Config/Data/Category.ini = | 7 + 10 files changed, 1985 insertions(+) create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/Black= BoxTest/TCG2ProtocolBBTest.inf create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/Black= BoxTest/Guid.h create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/Black= BoxTest/TCG2ProtocolBBTest.h create mode 100644 uefi-sct/SctPkg/UEFI/Protocol/TCG2.h create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/Black= BoxTest/Guid.c create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/Black= BoxTest/TCG2ProtocolBBTestConformance.c create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/Black= BoxTest/TCG2ProtocolBBTestMain.c --=20 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113487): https://edk2.groups.io/g/devel/message/113487 Mute This Topic: https://groups.io/mt/103625302/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-