Lines Matching refs:TPM_RC_SUCCESS
67 CHECK(result == TPM_RC_SUCCESS || result == TPM_RC_INITIALIZE) in Initialize()
70 CHECK_EQ(result, TPM_RC_SUCCESS) << "TPM self-test failure: " in Initialize()
87 if (result != TPM_RC_SUCCESS) { in Initialize()
116 if (result != TPM_RC_SUCCESS) { in SendCommandAndWait()
129 if (result != TPM_RC_SUCCESS) { in SendCommandAndWait()
138 if (result != TPM_RC_SUCCESS) { in SendCommandAndWait()
167 if (result != TPM_RC_SUCCESS) { in SendCommandAndWait()
175 if (response_info.code == TPM_RC_SUCCESS) { in SendCommandAndWait()
278 return TPM_RC_SUCCESS; in EnsureSessionIsLoaded()
287 if (result != TPM_RC_SUCCESS) { in EnsureSessionIsLoaded()
293 return TPM_RC_SUCCESS; in EnsureSessionIsLoaded()
306 if (result != TPM_RC_SUCCESS) { in EvictObjects()
312 if (result != TPM_RC_SUCCESS) { in EvictObjects()
329 if (result != TPM_RC_SUCCESS) { in EvictSession()
341 if (TPM_RC_SUCCESS == Parse_TPM_HANDLE(buffer, &handle, nullptr)) { in ExtractHandlesFromBuffer()
368 if (result != TPM_RC_SUCCESS) { in FixContextGap()
374 if (result != TPM_RC_SUCCESS) { in FixContextGap()
440 if (result != TPM_RC_SUCCESS) { in FlushSession()
468 TPM_RC result = TPM_RC_SUCCESS; in LoadContext()
478 if (result != TPM_RC_SUCCESS) { in LoadContext()
500 if (result != TPM_RC_SUCCESS) { in ParseCommand()
510 if (result != TPM_RC_SUCCESS) { in ParseCommand()
518 if (result != TPM_RC_SUCCESS) { in ParseCommand()
534 if (result != TPM_RC_SUCCESS) { in ParseCommand()
548 if (result != TPM_RC_SUCCESS) { in ParseCommand()
556 if (result != TPM_RC_SUCCESS) { in ParseCommand()
561 if (result != TPM_RC_SUCCESS) { in ParseCommand()
566 if (result != TPM_RC_SUCCESS) { in ParseCommand()
576 return TPM_RC_SUCCESS; in ParseCommand()
586 if (result != TPM_RC_SUCCESS) { in ParseResponse()
596 if (result != TPM_RC_SUCCESS) { in ParseResponse()
604 if (result != TPM_RC_SUCCESS) { in ParseResponse()
617 if (result != TPM_RC_SUCCESS) { in ParseResponse()
630 if (result != TPM_RC_SUCCESS) { in ParseResponse()
635 if (result != TPM_RC_SUCCESS) { in ParseResponse()
640 if (result != TPM_RC_SUCCESS) { in ParseResponse()
649 return TPM_RC_SUCCESS; in ParseResponse()
673 if (result != TPM_RC_SUCCESS) { in ProcessExternalContextSave()
715 return CreateErrorResponse(TPM_RC_SUCCESS); in ProcessFlushContext()
730 if (result != TPM_RC_SUCCESS) { in ProcessFlushContext()
734 if (response_info.code == TPM_RC_SUCCESS || in ProcessFlushContext()
747 return TPM_RC_SUCCESS; in ProcessInputHandle()
756 if (result != TPM_RC_SUCCESS) { in ProcessInputHandle()
765 return TPM_RC_SUCCESS; in ProcessInputHandle()
805 CHECK_EQ(Serialize_TPM_HANDLE(handle, &handles_blob), TPM_RC_SUCCESS); in ReplaceHandles()
816 TPM_RC result = TPM_RC_SUCCESS; in SaveContext()
829 if (result != TPM_RC_SUCCESS) { in SaveContext()