- Oct 02, 2024
-
-
Prachotan Reddy Bathi authored
changed to reflect correct copyright info
-
- Sep 17, 2024
-
-
Stuart Yoder authored
This documentation was reviewed and approved in 2022 as part of the review of: https://bugzilla.tianocore.org/show_bug.cgi?id=2230 Signed-off-by: Stuart Yoder <stuart.yoder@arm.com>
-
- Sep 11, 2024
-
-
edhay authored
Created the new .readthedocs.yaml for readthedocs support Co-authored-by: Prachotan Reddy Bathi <prachotan.bathi@arm.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com>
-
- Sep 06, 2024
-
-
edhay authored
Previously UEFI-SCT case spec was maintained as a word document source and released as PDF. In order for the document to be user-friendly and easy for development and maintenence, the source has been converted to markdown. Conversion done by Prachotan Reddy Bathi <prachotan.bathi@arm.com> The old 'Src' directory has been deleted. As part of this commit the old .docx and .pdf have been deleted Facilities to support readthedocs in the future has been added. Co-authored-by: Prachotan Reddy Bathi <prachotan.bathi@arm.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com>
-
- Jul 17, 2024
-
-
Prachotan Bathi authored
Tests Modified: AdapterInfoBBTest HIIConfigAccessBBTest PxeBaseCodeBBTest SimpleNetworkBBTest Uses SctDevicePathStrFromProtocol function from DevicePath.c UEFI-SCT Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com> Cc: Barton Gao <gaojie@byosoft.com.cn> Cc: Carolyn Gjertsen <Carolyn.Gjertsen@amd.com> Cc: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com> Cc: Eric Jin <eric.jin@intel.com> Cc: Arvin Chen <arvinx.chen@intel.com> Cc: Supreeth Venkatesh <Supreeth.Venkatesh@amd.com> Signed-off-by: Prachotan Bathi <prachotan.bathi@arm.com>
-
- Jun 18, 2024
-
-
G Edhaya Chandran authored
Editorial changes only
-
- May 03, 2024
-
-
Stuart Yoder authored
The VS2015x86 build encountered errors due to type conversion warnings. Resolve these by adding casts and refactoring. Signed-off-by: Stuart Yoder <stuart.yoder@arm.com>
-
Stuart Yoder authored
Fix compiler warning by adding #pragma pack() to close a pragma section. Also delete extraneous #pragma pack(1). Signed-off-by: Stuart Yoder <stuart.yoder@arm.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
Stuart Yoder authored
Use compiler-independent OFFSET_OF macro defined from Base.h instead of the GCC specific __builtin_offsetof Signed-off-by: Stuart Yoder <stuart.yoder@arm.com>
-
Stuart Yoder authored
The TPMT_HA struct defining event log hash algorithms was cut/pasted from the TCG EFI Protocol specification which used a C struct with a flexible array member as the last element. This is incorrect because TPMT_HA itself is used as an array element, and thus can't be variable size. Because the size of hash algorithms varies, this should have been defined as a union of the sizes of supported hash algorithms. This is how is it done in the TPM Library specfication and in EDK2. In addition, added the SM3 hash type to align with the TPM Library spec. Signed-off-by: Stuart Yoder <stuart.yoder@arm.com>
-
- Apr 10, 2024
-
-
G Edhaya Chandran authored
Changed the versioning scheme Minor updates from review
-
Abhi Singh authored
SCT spec: https://bugzilla.tianocore.org/show_bug.cgi?id=4374 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4419 -Implement MemoryOverwriteRequestControlLock Locked with Key State test cases -Add remaining Assertions 32 - 49 from SCT spec -Add Test Case to MemoryOverwriteRequestFunctionTest -Changed several assertion strings to be more descriptive Cc: G Edhaya Chandran <edhaya.chandran@arm.com> Cc: Barton Gao <gaojie@byosoft.com.cn> Cc: Carolyn Gjertsen <carolyn.gjertsen@amd.com> Signed-off-by: Abhi Singh <abhi.singh@arm.com> Reviewed-by: Stuart Yoder <stuart.yoder@arm.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
Abhi Singh authored
SCT spec: https://bugzilla.tianocore.org/show_bug.cgi?id=4374 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4419 -Implement MemoryOverwriteRequestControlLock Locked No Key State test cases -Add Assertions 21 - 31 from SCT spec -Add Test Case to MemoryOverwriteRequestFunctionTest Cc: G Edhaya Chandran <edhaya.chandran@arm.com> Cc: Barton Gao <gaojie@byosoft.com.cn> Cc: Carolyn Gjertsen <carolyn.gjertsen@amd.com> Signed-off-by: Abhi Singh <abhi.singh@arm.com> Reviewed-by: Stuart Yoder <stuart.yoder@arm.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
Abhi Singh authored
SCT spec: https://bugzilla.tianocore.org/show_bug.cgi?id=4374 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4419 -Implement MemoryOverwriteRequestControlLock Unlocked State test cases -Add Assertions 17, 18, 19, and 20 from SCT spec -Add Test Case to MemoryOverwriteRequestFunctionTest Cc: G Edhaya Chandran <edhaya.chandran@arm.com> Cc: Barton Gao <gaojie@byosoft.com.cn> Cc: Carolyn Gjertsen <carolyn.gjertsen@amd.com> Signed-off-by: Abhi Singh <abhi.singh@arm.com> Reviewed-by: Stuart Yoder <stuart.yoder@arm.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
Abhi Singh authored
SCT spec: https://bugzilla.tianocore.org/show_bug.cgi?id=4374 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4419 -Implement MemoryOverwriteRequestControlLockSetVariable test cases -Add Assertions 7 through 16 from SCT spec -Add Test Case to MemoryOverwriteRequestFunctionTest Cc: G Edhaya Chandran <edhaya.chandran@arm.com> Cc: Barton Gao <gaojie@byosoft.com.cn> Cc: Carolyn Gjertsen <carolyn.gjertsen@amd.com> Signed-off-by: Abhi Singh <abhi.singh@arm.com> Reviewed-by: Stuart Yoder <stuart.yoder@arm.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
Abhi Singh authored
SCT spec: https://bugzilla.tianocore.org/show_bug.cgi?id=4374 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4419 -Implement MemoryOverwriteRequestControlSetVariable test cases -Add Assertions 5 and 6 from SCT spec -Add Test Case to MemoryOverwriteRequestFunctionTest Cc: G Edhaya Chandran <edhaya.chandran@arm.com> Cc: Barton Gao <gaojie@byosoft.com.cn> Cc: Carolyn Gjertsen <carolyn.gjertsen@amd.com> Signed-off-by: Abhi Singh <abhi.singh@arm.com> Reviewed-by: Stuart Yoder <stuart.yoder@arm.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
Abhi.Singh authored
SCT spec: https://bugzilla.tianocore.org/show_bug.cgi?id=4374 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4419 -Implement initial test infrastructure for all test cases including updates to: CommonGenFramework.sh, UEFI_SCT.dsc, and Category.ini. -Add Guid.c and Guid.h files to cover the assertions 4/49 assertions defined in the SCT spec -Add TCGMemoryOverwriteRequestBBTestMain.h alongside used define/global variables -Add Platform Reset Check Test -check if the platform creates the MOR & MORLOCK EFI variables as defined in the TCG Spec -sets MOR bit 0 and validate if the platform clears the MOR bit 0 upon reset. Cc: G Edhaya Chandran <edhaya.chandran@arm.com> Cc: Barton Gao <gaojie@byosoft.com.cn> Cc: Carolyn Gjertsen <carolyn.gjertsen@amd.com> Signed-off-by: Abhi Singh <abhi.singh@arm.com> Reviewed-by: Stuart Yoder <stuart.yoder@arm.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
- Mar 19, 2024
-
-
Joseph Hemann authored
Add test verifying the functionality of the SubmitCommand function using the TPM command TPM2_HASH_COMMAND. Signed-off-by: Joseph Hemann <Joseph.hemann@arm.com> Signed-off-by: Stuart Yoder <stuart.yoder@arm.com> Co-authored-by: Joseph Hemann <Joseph.hemann@arm.com> Co-authored-by: Stuart Yoder <stuart.yoder@arm.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
Joseph Hemann authored
-add test for GetEventLog() -test for valid and invalid event log format -test event log header -verify expected event log entry Signed-off-by: Joseph Hemann <Joseph.hemann@arm.com> Signed-off-by: Stuart Yoder <stuart.yoder@arm.com> Co-authored-by: Joseph Hemann <Joseph.hemann@arm.com> Co-authored-by: Stuart Yoder <stuart.yoder@arm.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
Joseph Hemann authored
-add tests for HashLogExtendEvent() -tests with valid, invalid, and out of range parameters -do extend of data to PCR 16 Signed-off-by: Joseph Hemann <Joseph.hemann@arm.com> Signed-off-by: Stuart Yoder <stuart.yoder@arm.com> Co-authored-by: Joseph Hemann <Joseph.hemann@arm.com> Co-authored-by: Stuart Yoder <stuart.yoder@arm.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
Joseph Hemann authored
-add test for GetActivePcrBanks() -checkpoint for NULL pointer passed for buffer -checkpoint for test of function with proper input Signed-off-by: Joseph Hemann <Joseph.hemann@arm.com> Signed-off-by: Stuart Yoder <stuart.yoder@arm.com> Co-authored-by: Joseph Hemann <Joseph.hemann@arm.com> Co-authored-by: Stuart Yoder <stuart.yoder@arm.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
Joseph Hemann authored
-implement initial infrastructure for the TCG2 protocol test including updates to .dsc file, inf file, GUID source files, update to Category.ini. -add test case for GetCapability(), as defined in the TCG EFI Protocol Spec 6.4.4. -add checkpoint for NULL pointer passed for buffer -add checkpoint for validating fields of the struct returned by GetCapability() Signed-off-by: Joseph Hemann <Joseph.hemann@arm.com> Signed-off-by: Stuart Yoder <stuart.yoder@arm.com> Co-authored-by: Joseph Hemann <Joseph.hemann@arm.com> Co-authored-by: Stuart Yoder <stuart.yoder@arm.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
Joseph Hemann authored
Define constants and data structure specified in the TCG EFI Protocol specification. Signed-off-by: Joseph Hemann <Joseph.hemann@arm.com> Signed-off-by: Stuart Yoder <stuart.yoder@arm.com> Co-authored-by: Joseph Hemann <Joseph.hemann@arm.com> Co-authored-by: Stuart Yoder <stuart.yoder@arm.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
- Mar 18, 2024
-
-
https://bugzilla.tianocore.org/show_bug.cgi?id=2386Barton Gao authored
Enhance BBTestReadKeyStrokeExFunctionAutoTestCheckpoint1() to handle ReadKeyStrokeEx implementation which returns EFI_NOT_READY but without touching KeyToggleState. Signed-off-by: Barton Gao <gaojie@byosoft.com.cn> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
- Mar 06, 2024
-
-
Abhi authored
Add a new chapter for TCG MOR SCT tests. Document remains version 2.6.1 A Signed-off-by: Abhi Singh <abhi.singh@arm.com>
-
- Feb 27, 2024
-
-
Chao Li authored
DevicePathFromTextBBTextCoverage.c function CreateDNSDeviceNode has a bug, code: SctStrToIPv4Addr (&IpStr1, (EFI_IPv4_ADDRESS *)(DNS + sizeof (DNS_DEVICE_PATH))); DNS is a pointer, which is increased by a structure size and converted to EFI_IPv4_ADDRESS*, which will point to an unknown address. So fix it. Fixes: 847e0363 ("SctPkg: Fix the UefiSct-Wincompatible-pointer-types warnings") BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4712 Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com> Cc: Barton Gao <gaojie@byosoft.com.cn> Cc: Carolyn Gjertsen <Carolyn.Gjertsen@amd.com> Cc: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com> Cc: Eric Jin <eric.jin@intel.com> Cc: Arvin Chen <arvinx.chen@intel.com> Cc: Supreeth Venkatesh <Supreeth.Venkatesh@amd.com> Cc: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Signed-off-by: Chao Li <lichao@loongson.cn> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
G Edhaya Chandran authored
-
Stuart Yoder authored
Add new chapter for the TCG2 protocol SCT tests. Version is updated to 2.6.1 A Signed-off-by: Stuart Yoder <stuart.yoder@arm.com>
-
- Feb 20, 2024
-
-
G Edhaya Chandran authored
Upstreamed SCT Case Specs version 2.6.A from UTWG
-
- Feb 16, 2024
-
-
Heinrich Schuchardt authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4670 SctPrint() uses 'l' to indicate a UINT64 number. It does not support 'L'. Replace all occurrences of %LX by %lX. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
- Dec 16, 2023
-
-
Rebecca Cran authored
Fix the URL for the edk2-test repo: the uefi-sct is a directory inside the repo. Signed-off-by: Rebecca Cran <rebecca@bsdio.com> Contributed-under: TianoCore Contribution Agreement 1.1 Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
Rebecca Cran authored
If edk2-test-parser doesn't exist, tell the user where they can clone it from. Signed-off-by: Rebecca Cran <rebecca@bsdio.com> Contributed-under: TianoCore Contribution Agreement 1.1 Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
Rebecca Cran authored
Rename the text files in the HowToBuild directory to remove the spaces and use CamelCase instead. Signed-off-by: Rebecca Cran <rebecca@bsdio.com> Contributed-under: TianoCore Contribution Agreement 1.1 Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
Rebecca Cran authored
Unbreak buildzip.sh by removing the line sourcing edksetup.sh: unless WORKSPACE and PACKAGES_PATH are already configured, edksetup.sh will error out. Signed-off-by: Rebecca Cran <rebecca@bsdio.com> Contributed-under: TianoCore Contribution Agreement 1.1 Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
- Dec 15, 2023
-
-
Abdul Lateef Attar authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2126 Fixes the incompatible pointer types warning for UefiSct package. Cc: G Edhaya Chandran <Edhaya.Chandran@...> Cc: Barton Gao <gaojie@...> Cc: Carolyn Gjertsen <Carolyn.Gjertsen@...> Cc: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@...> Cc: Eric Jin <eric.jin@...> Cc: Arvin Chen <arvinx.chen@...> Cc: Supreeth Venkatesh <Supreeth.Venkatesh@...> Signed-off-by: Abdul Lateef Attar <abdattar@...>
-
Abdul Lateef Attar authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2126 Corrects the function declaration/definition by adding EFIAPI. Removes duplicate functions. Cc: G Edhaya Chandran <Edhaya.Chandran@...> Cc: Barton Gao <gaojie@...> Cc: Carolyn Gjertsen <Carolyn.Gjertsen@...> Cc: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@...> Cc: Eric Jin <eric.jin@...> Cc: Arvin Chen <arvinx.chen@...> Cc: Supreeth Venkatesh <Supreeth.Venkatesh@...> Signed-off-by: Abdul Lateef Attar <abdattar@...> Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
- Oct 05, 2023
-
-
Abhi Singh authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3759 HIIConfigAccess and HIIConfigRouting Protocol RouteConfig tests assertions store a failure when RouteConfig returns EFI_ACCESS_DENIED. In the UEFI SPEC RouteConfig in both protocols can return EFI_ACCESS_DENIED when the action violates a system policy. The tests now record a pass with warning. Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com> Cc: Barton Gao <gaojie@byosoft.com.cn> Cc: Carolyn Gjertsen <Carolyn.Gjertsen@amd.com> Cc: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com> Cc: Sunny Wang <Sunny.Wang@arm.com> Signed-off-by: Abhi Singh <Abhi.Singh@arm.com> Change-Id: I8591c3d7b0855133141779d3c53a159129400815
-
- Jul 20, 2023
-
-
Dimitrije Pavlov authored
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4009 Check if there is usable memory below 4 GiB before testing for allocation without the EFI_PCI_ATTRIBUTE_DUAL_ADDRESS_CYCLE attribute. Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com> Cc: Jeff Booher-Kaeding <Jeff.Booher-Kaeding@arm.com> Cc: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com> Cc: Sunny Wang <Sunny.Wang@arm.com> Signed-off-by: Dimitrije Pavlov <Dimitrije.Pavlov@arm.com> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com>
-
- Mar 03, 2023
-
-
Chao Li authored
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4192 Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com> Cc: Barton Gao <gaojie@byosoft.com.cn> Cc: Carolyn Gjertsen <Carolyn.Gjertsen@amd.com> Cc: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com> Cc: Eric Jin <eric.jin@intel.com> Cc: Supreeth Venkatesh <Supreeth.Venkatesh@amd.com> Signed-off-by: Chao Li <lichao@loongson.cn> Reviewed-by: Barton Gao <gaojie@byosoft.com.cn> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com>
-
Chao Li authored
Code referenced from Aarch64 and Risc-V. Added three test case for LoongArch64. BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4192 Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com> Cc: Barton Gao <gaojie@byosoft.com.cn> Cc: Carolyn Gjertsen <Carolyn.Gjertsen@amd.com> Cc: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com> Cc: Eric Jin <eric.jin@intel.com> Cc: Supreeth Venkatesh <Supreeth.Venkatesh@amd.com> Signed-off-by: Chao Li <lichao@loongson.cn> Reviewed-by: Barton Gao <gaojie@byosoft.com.cn> Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com>
-