This patch series adds tests for the TCG2 Protocol which is implemented by EDK2. The protocol is defined in chapter 6 in the TCG EFI Protocol Specification: 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 triage meeting. That spec is here: https://github.com/stuyod01/edk2-test/blob/master/uefi-sct/Doc/UEFI-SCT-Case-Spec/30_Protocols_TCG2_Test.md Bugzilla ticket for this is: https://bugzilla.tianocore.org/show_bug.cgi?id=3736 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 Joseph Hemann (6): uefi-sct/SctPkg: TCG2 Protocol: add header with TCG2 protocol definitions uefi-sct/SctPkg: TCG2 Protocol: add 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/CommonGenFramework.sh | 1 + uefi-sct/SctPkg/Config/Data/Category.ini | 7 + .../EFI/Protocol/TCG2/BlackBoxTest/Guid.c | 63 + .../EFI/Protocol/TCG2/BlackBoxTest/Guid.h | 112 ++ .../TCG2/BlackBoxTest/TCG2ProtocolBBTest.h | 217 +++ .../TCG2/BlackBoxTest/TCG2ProtocolBBTest.inf | 51 + .../TCG2ProtocolBBTestConformance.c | 1181 +++++++++++++++++ .../BlackBoxTest/TCG2ProtocolBBTestMain.c | 129 ++ uefi-sct/SctPkg/UEFI/Protocol/TCG2.h | 225 ++++ uefi-sct/SctPkg/UEFI/UEFI_SCT.dsc | 1 + 10 files changed, 1987 insertions(+) create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/Guid.c create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/Guid.h create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2ProtocolBBTest.h create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2ProtocolBBTest.inf create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2ProtocolBBTestConformance.c create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/TCG2/BlackBoxTest/TCG2ProtocolBBTestMain.c create mode 100644 uefi-sct/SctPkg/UEFI/Protocol/TCG2.h -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112565): https://edk2.groups.io/g/devel/message/112565 Mute This Topic: https://groups.io/mt/103181266/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-