Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 8682d3ea0a5df1152c62f87326649f3d0082d9b6 https://github.com/tianocore/edk2/commit/8682d3ea0a5df1152c62f87326649f3d0082d9b6 Author: Michael Kubacki <michael.kuba...@microsoft.com> Date: 2025-08-23 (Sat, 23 Aug 2025)
Changed paths: M SecurityPkg/Library/Tpm2CommandLib/Tpm2NVStorage.c Log Message: ----------- SecurityPkg/Tpm2CommandLib: Update not found RC for Public NV Read Currently a EFI_DEVICE_ERROR is returned if `TPM_RC_HANDLE` is the return code from a TPM2_NV_ReadPublic command. However, in the TCG TPM Library Part 3: Commands specification, `TPM_RC_HANDLE` is a return code if: 1. An Index does not exist that corresponds to the handle (TPM_RC_HANDLE) 2. The hierarchy associated with the existing NV Index is not enabled (TPM_RC_HANDLE) Therefore, return EFI_NOT_FOUND in this case, since that more precisely allows a caller to identify this condition and act on it as opposed to a more generic device error. Signed-off-by: Michael Kubacki <michael.kuba...@microsoft.com> To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits