diff options
-rw-r--r-- | firmware/lib/tpm2_lite/tlcl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/lib/tpm2_lite/tlcl.c b/firmware/lib/tpm2_lite/tlcl.c index e81eb509..954717fe 100644 --- a/firmware/lib/tpm2_lite/tlcl.c +++ b/firmware/lib/tpm2_lite/tlcl.c @@ -525,6 +525,11 @@ uint32_t TlclRead(uint32_t index, void* data, uint32_t length) case TPM_SUCCESS: break; + /* + * 0x14a = RC_NV_UNINITIALIZED (space created but not written) + * 0x28b = RC_HANDLE(2) ("unknown handle" = space does not exist) + */ + case 0x14a: case 0x28b: return TPM_E_BADINDEX; |