Lines Matching refs:response_code
9524 TPM_RC response_code; in ParseResponse_Startup() local
9528 &response_code, in ParseResponse_Startup()
9536 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Startup()
9537 return response_code; in ParseResponse_Startup()
9584 TPM_RC response_code) { in StartupErrorCallback() argument
9586 callback.Run(response_code); in StartupErrorCallback()
9760 TPM_RC response_code; in ParseResponse_Shutdown() local
9764 &response_code, in ParseResponse_Shutdown()
9772 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Shutdown()
9773 return response_code; in ParseResponse_Shutdown()
9820 TPM_RC response_code) { in ShutdownErrorCallback() argument
9822 callback.Run(response_code); in ShutdownErrorCallback()
9996 TPM_RC response_code; in ParseResponse_SelfTest() local
10000 &response_code, in ParseResponse_SelfTest()
10008 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_SelfTest()
10009 return response_code; in ParseResponse_SelfTest()
10056 TPM_RC response_code) { in SelfTestErrorCallback() argument
10058 callback.Run(response_code); in SelfTestErrorCallback()
10233 TPM_RC response_code; in ParseResponse_IncrementalSelfTest() local
10237 &response_code, in ParseResponse_IncrementalSelfTest()
10245 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_IncrementalSelfTest()
10246 return response_code; in ParseResponse_IncrementalSelfTest()
10301 TPM_RC response_code) { in IncrementalSelfTestErrorCallback() argument
10303 callback.Run(response_code, in IncrementalSelfTestErrorCallback()
10473 TPM_RC response_code; in ParseResponse_GetTestResult() local
10477 &response_code, in ParseResponse_GetTestResult()
10485 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_GetTestResult()
10486 return response_code; in ParseResponse_GetTestResult()
10565 TPM_RC response_code) { in GetTestResultErrorCallback() argument
10567 callback.Run(response_code, in GetTestResultErrorCallback()
10833 TPM_RC response_code; in ParseResponse_StartAuthSession() local
10837 &response_code, in ParseResponse_StartAuthSession()
10845 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_StartAuthSession()
10846 return response_code; in ParseResponse_StartAuthSession()
10925 TPM_RC response_code) { in StartAuthSessionErrorCallback() argument
10927 callback.Run(response_code, in StartAuthSessionErrorCallback()
11146 TPM_RC response_code; in ParseResponse_PolicyRestart() local
11150 &response_code, in ParseResponse_PolicyRestart()
11158 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyRestart()
11159 return response_code; in ParseResponse_PolicyRestart()
11206 TPM_RC response_code) { in PolicyRestartErrorCallback() argument
11208 callback.Run(response_code); in PolicyRestartErrorCallback()
11448 TPM_RC response_code; in ParseResponse_Create() local
11452 &response_code, in ParseResponse_Create()
11460 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Create()
11461 return response_code; in ParseResponse_Create()
11564 TPM_RC response_code) { in CreateErrorCallback() argument
11566 callback.Run(response_code, in CreateErrorCallback()
11825 TPM_RC response_code; in ParseResponse_Load() local
11829 &response_code, in ParseResponse_Load()
11837 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Load()
11838 return response_code; in ParseResponse_Load()
11917 TPM_RC response_code) { in LoadErrorCallback() argument
11919 callback.Run(response_code, in LoadErrorCallback()
12151 TPM_RC response_code; in ParseResponse_LoadExternal() local
12155 &response_code, in ParseResponse_LoadExternal()
12163 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_LoadExternal()
12164 return response_code; in ParseResponse_LoadExternal()
12243 TPM_RC response_code) { in LoadExternalErrorCallback() argument
12245 callback.Run(response_code, in LoadExternalErrorCallback()
12443 TPM_RC response_code; in ParseResponse_ReadPublic() local
12447 &response_code, in ParseResponse_ReadPublic()
12455 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ReadPublic()
12456 return response_code; in ParseResponse_ReadPublic()
12543 TPM_RC response_code) { in ReadPublicErrorCallback() argument
12545 callback.Run(response_code, in ReadPublicErrorCallback()
12788 TPM_RC response_code; in ParseResponse_ActivateCredential() local
12792 &response_code, in ParseResponse_ActivateCredential()
12800 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ActivateCredential()
12801 return response_code; in ParseResponse_ActivateCredential()
12872 TPM_RC response_code) { in ActivateCredentialErrorCallback() argument
12874 callback.Run(response_code, in ActivateCredentialErrorCallback()
13109 TPM_RC response_code; in ParseResponse_MakeCredential() local
13113 &response_code, in ParseResponse_MakeCredential()
13121 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_MakeCredential()
13122 return response_code; in ParseResponse_MakeCredential()
13201 TPM_RC response_code) { in MakeCredentialErrorCallback() argument
13203 callback.Run(response_code, in MakeCredentialErrorCallback()
13403 TPM_RC response_code; in ParseResponse_Unseal() local
13407 &response_code, in ParseResponse_Unseal()
13415 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Unseal()
13416 return response_code; in ParseResponse_Unseal()
13487 TPM_RC response_code) { in UnsealErrorCallback() argument
13489 callback.Run(response_code, in UnsealErrorCallback()
13708 TPM_RC response_code; in ParseResponse_ObjectChangeAuth() local
13712 &response_code, in ParseResponse_ObjectChangeAuth()
13720 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ObjectChangeAuth()
13721 return response_code; in ParseResponse_ObjectChangeAuth()
13792 TPM_RC response_code) { in ObjectChangeAuthErrorCallback() argument
13794 callback.Run(response_code, in ObjectChangeAuthErrorCallback()
14039 TPM_RC response_code; in ParseResponse_Duplicate() local
14043 &response_code, in ParseResponse_Duplicate()
14051 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Duplicate()
14052 return response_code; in ParseResponse_Duplicate()
14139 TPM_RC response_code) { in DuplicateErrorCallback() argument
14141 callback.Run(response_code, in DuplicateErrorCallback()
14413 TPM_RC response_code; in ParseResponse_Rewrap() local
14417 &response_code, in ParseResponse_Rewrap()
14425 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Rewrap()
14426 return response_code; in ParseResponse_Rewrap()
14505 TPM_RC response_code) { in RewrapErrorCallback() argument
14507 callback.Run(response_code, in RewrapErrorCallback()
14787 TPM_RC response_code; in ParseResponse_Import() local
14791 &response_code, in ParseResponse_Import()
14799 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Import()
14800 return response_code; in ParseResponse_Import()
14871 TPM_RC response_code) { in ImportErrorCallback() argument
14873 callback.Run(response_code, in ImportErrorCallback()
15123 TPM_RC response_code; in ParseResponse_RSA_Encrypt() local
15127 &response_code, in ParseResponse_RSA_Encrypt()
15135 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_RSA_Encrypt()
15136 return response_code; in ParseResponse_RSA_Encrypt()
15207 TPM_RC response_code) { in RSA_EncryptErrorCallback() argument
15209 callback.Run(response_code, in RSA_EncryptErrorCallback()
15451 TPM_RC response_code; in ParseResponse_RSA_Decrypt() local
15455 &response_code, in ParseResponse_RSA_Decrypt()
15463 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_RSA_Decrypt()
15464 return response_code; in ParseResponse_RSA_Decrypt()
15535 TPM_RC response_code) { in RSA_DecryptErrorCallback() argument
15537 callback.Run(response_code, in RSA_DecryptErrorCallback()
15736 TPM_RC response_code; in ParseResponse_ECDH_KeyGen() local
15740 &response_code, in ParseResponse_ECDH_KeyGen()
15748 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ECDH_KeyGen()
15749 return response_code; in ParseResponse_ECDH_KeyGen()
15828 TPM_RC response_code) { in ECDH_KeyGenErrorCallback() argument
15830 callback.Run(response_code, in ECDH_KeyGenErrorCallback()
16042 TPM_RC response_code; in ParseResponse_ECDH_ZGen() local
16046 &response_code, in ParseResponse_ECDH_ZGen()
16054 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ECDH_ZGen()
16055 return response_code; in ParseResponse_ECDH_ZGen()
16126 TPM_RC response_code) { in ECDH_ZGenErrorCallback() argument
16128 callback.Run(response_code, in ECDH_ZGenErrorCallback()
16317 TPM_RC response_code; in ParseResponse_ECC_Parameters() local
16321 &response_code, in ParseResponse_ECC_Parameters()
16329 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ECC_Parameters()
16330 return response_code; in ParseResponse_ECC_Parameters()
16385 TPM_RC response_code) { in ECC_ParametersErrorCallback() argument
16387 callback.Run(response_code, in ECC_ParametersErrorCallback()
16626 TPM_RC response_code; in ParseResponse_ZGen_2Phase() local
16630 &response_code, in ParseResponse_ZGen_2Phase()
16638 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ZGen_2Phase()
16639 return response_code; in ParseResponse_ZGen_2Phase()
16718 TPM_RC response_code) { in ZGen_2PhaseErrorCallback() argument
16720 callback.Run(response_code, in ZGen_2PhaseErrorCallback()
16977 TPM_RC response_code; in ParseResponse_EncryptDecrypt() local
16981 &response_code, in ParseResponse_EncryptDecrypt()
16989 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_EncryptDecrypt()
16990 return response_code; in ParseResponse_EncryptDecrypt()
17069 TPM_RC response_code) { in EncryptDecryptErrorCallback() argument
17071 callback.Run(response_code, in EncryptDecryptErrorCallback()
17311 TPM_RC response_code; in ParseResponse_Hash() local
17315 &response_code, in ParseResponse_Hash()
17323 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Hash()
17324 return response_code; in ParseResponse_Hash()
17403 TPM_RC response_code) { in HashErrorCallback() argument
17405 callback.Run(response_code, in HashErrorCallback()
17633 TPM_RC response_code; in ParseResponse_HMAC() local
17637 &response_code, in ParseResponse_HMAC()
17645 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_HMAC()
17646 return response_code; in ParseResponse_HMAC()
17717 TPM_RC response_code) { in HMACErrorCallback() argument
17719 callback.Run(response_code, in HMACErrorCallback()
17912 TPM_RC response_code; in ParseResponse_GetRandom() local
17916 &response_code, in ParseResponse_GetRandom()
17924 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_GetRandom()
17925 return response_code; in ParseResponse_GetRandom()
17996 TPM_RC response_code) { in GetRandomErrorCallback() argument
17998 callback.Run(response_code, in GetRandomErrorCallback()
18186 TPM_RC response_code; in ParseResponse_StirRandom() local
18190 &response_code, in ParseResponse_StirRandom()
18198 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_StirRandom()
18199 return response_code; in ParseResponse_StirRandom()
18246 TPM_RC response_code) { in StirRandomErrorCallback() argument
18248 callback.Run(response_code); in StirRandomErrorCallback()
18456 TPM_RC response_code; in ParseResponse_HMAC_Start() local
18460 &response_code, in ParseResponse_HMAC_Start()
18468 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_HMAC_Start()
18469 return response_code; in ParseResponse_HMAC_Start()
18524 TPM_RC response_code) { in HMAC_StartErrorCallback() argument
18526 callback.Run(response_code, in HMAC_StartErrorCallback()
18739 TPM_RC response_code; in ParseResponse_HashSequenceStart() local
18743 &response_code, in ParseResponse_HashSequenceStart()
18751 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_HashSequenceStart()
18752 return response_code; in ParseResponse_HashSequenceStart()
18807 TPM_RC response_code) { in HashSequenceStartErrorCallback() argument
18809 callback.Run(response_code, in HashSequenceStartErrorCallback()
19014 TPM_RC response_code; in ParseResponse_SequenceUpdate() local
19018 &response_code, in ParseResponse_SequenceUpdate()
19026 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_SequenceUpdate()
19027 return response_code; in ParseResponse_SequenceUpdate()
19074 TPM_RC response_code) { in SequenceUpdateErrorCallback() argument
19076 callback.Run(response_code); in SequenceUpdateErrorCallback()
19293 TPM_RC response_code; in ParseResponse_SequenceComplete() local
19297 &response_code, in ParseResponse_SequenceComplete()
19305 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_SequenceComplete()
19306 return response_code; in ParseResponse_SequenceComplete()
19385 TPM_RC response_code) { in SequenceCompleteErrorCallback() argument
19387 callback.Run(response_code, in SequenceCompleteErrorCallback()
19620 TPM_RC response_code; in ParseResponse_EventSequenceComplete() local
19624 &response_code, in ParseResponse_EventSequenceComplete()
19632 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_EventSequenceComplete()
19633 return response_code; in ParseResponse_EventSequenceComplete()
19688 TPM_RC response_code) { in EventSequenceCompleteErrorCallback() argument
19690 callback.Run(response_code, in EventSequenceCompleteErrorCallback()
19934 TPM_RC response_code; in ParseResponse_Certify() local
19938 &response_code, in ParseResponse_Certify()
19946 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Certify()
19947 return response_code; in ParseResponse_Certify()
20026 TPM_RC response_code) { in CertifyErrorCallback() argument
20028 callback.Run(response_code, in CertifyErrorCallback()
20306 TPM_RC response_code; in ParseResponse_CertifyCreation() local
20310 &response_code, in ParseResponse_CertifyCreation()
20318 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_CertifyCreation()
20319 return response_code; in ParseResponse_CertifyCreation()
20398 TPM_RC response_code) { in CertifyCreationErrorCallback() argument
20400 callback.Run(response_code, in CertifyCreationErrorCallback()
20661 TPM_RC response_code; in ParseResponse_Quote() local
20665 &response_code, in ParseResponse_Quote()
20673 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Quote()
20674 return response_code; in ParseResponse_Quote()
20753 TPM_RC response_code) { in QuoteErrorCallback() argument
20755 callback.Run(response_code, in QuoteErrorCallback()
21018 TPM_RC response_code; in ParseResponse_GetSessionAuditDigest() local
21022 &response_code, in ParseResponse_GetSessionAuditDigest()
21030 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_GetSessionAuditDigest()
21031 return response_code; in ParseResponse_GetSessionAuditDigest()
21110 TPM_RC response_code) { in GetSessionAuditDigestErrorCallback() argument
21112 callback.Run(response_code, in GetSessionAuditDigestErrorCallback()
21374 TPM_RC response_code; in ParseResponse_GetCommandAuditDigest() local
21378 &response_code, in ParseResponse_GetCommandAuditDigest()
21386 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_GetCommandAuditDigest()
21387 return response_code; in ParseResponse_GetCommandAuditDigest()
21466 TPM_RC response_code) { in GetCommandAuditDigestErrorCallback() argument
21468 callback.Run(response_code, in GetCommandAuditDigestErrorCallback()
21722 TPM_RC response_code; in ParseResponse_GetTime() local
21726 &response_code, in ParseResponse_GetTime()
21734 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_GetTime()
21735 return response_code; in ParseResponse_GetTime()
21814 TPM_RC response_code) { in GetTimeErrorCallback() argument
21816 callback.Run(response_code, in GetTimeErrorCallback()
22076 TPM_RC response_code; in ParseResponse_Commit() local
22080 &response_code, in ParseResponse_Commit()
22088 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Commit()
22089 return response_code; in ParseResponse_Commit()
22176 TPM_RC response_code) { in CommitErrorCallback() argument
22178 callback.Run(response_code, in CommitErrorCallback()
22417 TPM_RC response_code; in ParseResponse_EC_Ephemeral() local
22421 &response_code, in ParseResponse_EC_Ephemeral()
22429 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_EC_Ephemeral()
22430 return response_code; in ParseResponse_EC_Ephemeral()
22501 TPM_RC response_code) { in EC_EphemeralErrorCallback() argument
22503 callback.Run(response_code, in EC_EphemeralErrorCallback()
22733 TPM_RC response_code; in ParseResponse_VerifySignature() local
22737 &response_code, in ParseResponse_VerifySignature()
22745 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_VerifySignature()
22746 return response_code; in ParseResponse_VerifySignature()
22801 TPM_RC response_code) { in VerifySignatureErrorCallback() argument
22803 callback.Run(response_code, in VerifySignatureErrorCallback()
23041 TPM_RC response_code; in ParseResponse_Sign() local
23045 &response_code, in ParseResponse_Sign()
23053 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Sign()
23054 return response_code; in ParseResponse_Sign()
23109 TPM_RC response_code) { in SignErrorCallback() argument
23111 callback.Run(response_code, in SignErrorCallback()
23344 TPM_RC response_code; in ParseResponse_SetCommandCodeAuditStatus() local
23348 &response_code, in ParseResponse_SetCommandCodeAuditStatus()
23356 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_SetCommandCodeAuditStatus()
23357 return response_code; in ParseResponse_SetCommandCodeAuditStatus()
23404 TPM_RC response_code) { in SetCommandCodeAuditStatusErrorCallback() argument
23406 callback.Run(response_code); in SetCommandCodeAuditStatusErrorCallback()
23609 TPM_RC response_code; in ParseResponse_PCR_Extend() local
23613 &response_code, in ParseResponse_PCR_Extend()
23621 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PCR_Extend()
23622 return response_code; in ParseResponse_PCR_Extend()
23669 TPM_RC response_code) { in PCR_ExtendErrorCallback() argument
23671 callback.Run(response_code); in PCR_ExtendErrorCallback()
23875 TPM_RC response_code; in ParseResponse_PCR_Event() local
23879 &response_code, in ParseResponse_PCR_Event()
23887 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PCR_Event()
23888 return response_code; in ParseResponse_PCR_Event()
23943 TPM_RC response_code) { in PCR_EventErrorCallback() argument
23945 callback.Run(response_code, in PCR_EventErrorCallback()
24136 TPM_RC response_code; in ParseResponse_PCR_Read() local
24140 &response_code, in ParseResponse_PCR_Read()
24148 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PCR_Read()
24149 return response_code; in ParseResponse_PCR_Read()
24220 TPM_RC response_code) { in PCR_ReadErrorCallback() argument
24222 callback.Run(response_code, in PCR_ReadErrorCallback()
24431 TPM_RC response_code; in ParseResponse_PCR_Allocate() local
24435 &response_code, in ParseResponse_PCR_Allocate()
24443 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PCR_Allocate()
24444 return response_code; in ParseResponse_PCR_Allocate()
24523 TPM_RC response_code) { in PCR_AllocateErrorCallback() argument
24525 callback.Run(response_code, in PCR_AllocateErrorCallback()
24777 TPM_RC response_code; in ParseResponse_PCR_SetAuthPolicy() local
24781 &response_code, in ParseResponse_PCR_SetAuthPolicy()
24789 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PCR_SetAuthPolicy()
24790 return response_code; in ParseResponse_PCR_SetAuthPolicy()
24837 TPM_RC response_code) { in PCR_SetAuthPolicyErrorCallback() argument
24839 callback.Run(response_code); in PCR_SetAuthPolicyErrorCallback()
25054 TPM_RC response_code; in ParseResponse_PCR_SetAuthValue() local
25058 &response_code, in ParseResponse_PCR_SetAuthValue()
25066 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PCR_SetAuthValue()
25067 return response_code; in ParseResponse_PCR_SetAuthValue()
25114 TPM_RC response_code) { in PCR_SetAuthValueErrorCallback() argument
25116 callback.Run(response_code); in PCR_SetAuthValueErrorCallback()
25299 TPM_RC response_code; in ParseResponse_PCR_Reset() local
25303 &response_code, in ParseResponse_PCR_Reset()
25311 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PCR_Reset()
25312 return response_code; in ParseResponse_PCR_Reset()
25359 TPM_RC response_code) { in PCR_ResetErrorCallback() argument
25361 callback.Run(response_code); in PCR_ResetErrorCallback()
25623 TPM_RC response_code; in ParseResponse_PolicySigned() local
25627 &response_code, in ParseResponse_PolicySigned()
25635 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicySigned()
25636 return response_code; in ParseResponse_PolicySigned()
25715 TPM_RC response_code) { in PolicySignedErrorCallback() argument
25717 callback.Run(response_code, in PolicySignedErrorCallback()
26007 TPM_RC response_code; in ParseResponse_PolicySecret() local
26011 &response_code, in ParseResponse_PolicySecret()
26019 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicySecret()
26020 return response_code; in ParseResponse_PolicySecret()
26099 TPM_RC response_code) { in PolicySecretErrorCallback() argument
26101 callback.Run(response_code, in PolicySecretErrorCallback()
26384 TPM_RC response_code; in ParseResponse_PolicyTicket() local
26388 &response_code, in ParseResponse_PolicyTicket()
26396 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyTicket()
26397 return response_code; in ParseResponse_PolicyTicket()
26444 TPM_RC response_code) { in PolicyTicketErrorCallback() argument
26446 callback.Run(response_code); in PolicyTicketErrorCallback()
26657 TPM_RC response_code; in ParseResponse_PolicyOR() local
26661 &response_code, in ParseResponse_PolicyOR()
26669 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyOR()
26670 return response_code; in ParseResponse_PolicyOR()
26717 TPM_RC response_code) { in PolicyORErrorCallback() argument
26719 callback.Run(response_code); in PolicyORErrorCallback()
26934 TPM_RC response_code; in ParseResponse_PolicyPCR() local
26938 &response_code, in ParseResponse_PolicyPCR()
26946 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyPCR()
26947 return response_code; in ParseResponse_PolicyPCR()
26994 TPM_RC response_code) { in PolicyPCRErrorCallback() argument
26996 callback.Run(response_code); in PolicyPCRErrorCallback()
27195 TPM_RC response_code; in ParseResponse_PolicyLocality() local
27199 &response_code, in ParseResponse_PolicyLocality()
27207 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyLocality()
27208 return response_code; in ParseResponse_PolicyLocality()
27255 TPM_RC response_code) { in PolicyLocalityErrorCallback() argument
27257 callback.Run(response_code); in PolicyLocalityErrorCallback()
27510 TPM_RC response_code; in ParseResponse_PolicyNV() local
27514 &response_code, in ParseResponse_PolicyNV()
27522 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyNV()
27523 return response_code; in ParseResponse_PolicyNV()
27570 TPM_RC response_code) { in PolicyNVErrorCallback() argument
27572 callback.Run(response_code); in PolicyNVErrorCallback()
27823 TPM_RC response_code; in ParseResponse_PolicyCounterTimer() local
27827 &response_code, in ParseResponse_PolicyCounterTimer()
27835 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyCounterTimer()
27836 return response_code; in ParseResponse_PolicyCounterTimer()
27883 TPM_RC response_code) { in PolicyCounterTimerErrorCallback() argument
27885 callback.Run(response_code); in PolicyCounterTimerErrorCallback()
28088 TPM_RC response_code; in ParseResponse_PolicyCommandCode() local
28092 &response_code, in ParseResponse_PolicyCommandCode()
28100 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyCommandCode()
28101 return response_code; in ParseResponse_PolicyCommandCode()
28148 TPM_RC response_code) { in PolicyCommandCodeErrorCallback() argument
28150 callback.Run(response_code); in PolicyCommandCodeErrorCallback()
28333 TPM_RC response_code; in ParseResponse_PolicyPhysicalPresence() local
28337 &response_code, in ParseResponse_PolicyPhysicalPresence()
28345 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyPhysicalPresence()
28346 return response_code; in ParseResponse_PolicyPhysicalPresence()
28393 TPM_RC response_code) { in PolicyPhysicalPresenceErrorCallback() argument
28395 callback.Run(response_code); in PolicyPhysicalPresenceErrorCallback()
28594 TPM_RC response_code; in ParseResponse_PolicyCpHash() local
28598 &response_code, in ParseResponse_PolicyCpHash()
28606 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyCpHash()
28607 return response_code; in ParseResponse_PolicyCpHash()
28654 TPM_RC response_code) { in PolicyCpHashErrorCallback() argument
28656 callback.Run(response_code); in PolicyCpHashErrorCallback()
28859 TPM_RC response_code; in ParseResponse_PolicyNameHash() local
28863 &response_code, in ParseResponse_PolicyNameHash()
28871 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyNameHash()
28872 return response_code; in ParseResponse_PolicyNameHash()
28919 TPM_RC response_code) { in PolicyNameHashErrorCallback() argument
28921 callback.Run(response_code); in PolicyNameHashErrorCallback()
29148 TPM_RC response_code; in ParseResponse_PolicyDuplicationSelect() local
29152 &response_code, in ParseResponse_PolicyDuplicationSelect()
29160 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyDuplicationSelect()
29161 return response_code; in ParseResponse_PolicyDuplicationSelect()
29208 TPM_RC response_code) { in PolicyDuplicationSelectErrorCallback() argument
29210 callback.Run(response_code); in PolicyDuplicationSelectErrorCallback()
29457 TPM_RC response_code; in ParseResponse_PolicyAuthorize() local
29461 &response_code, in ParseResponse_PolicyAuthorize()
29469 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyAuthorize()
29470 return response_code; in ParseResponse_PolicyAuthorize()
29517 TPM_RC response_code) { in PolicyAuthorizeErrorCallback() argument
29519 callback.Run(response_code); in PolicyAuthorizeErrorCallback()
29714 TPM_RC response_code; in ParseResponse_PolicyAuthValue() local
29718 &response_code, in ParseResponse_PolicyAuthValue()
29726 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyAuthValue()
29727 return response_code; in ParseResponse_PolicyAuthValue()
29774 TPM_RC response_code) { in PolicyAuthValueErrorCallback() argument
29776 callback.Run(response_code); in PolicyAuthValueErrorCallback()
29955 TPM_RC response_code; in ParseResponse_PolicyPassword() local
29959 &response_code, in ParseResponse_PolicyPassword()
29967 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyPassword()
29968 return response_code; in ParseResponse_PolicyPassword()
30015 TPM_RC response_code) { in PolicyPasswordErrorCallback() argument
30017 callback.Run(response_code); in PolicyPasswordErrorCallback()
30197 TPM_RC response_code; in ParseResponse_PolicyGetDigest() local
30201 &response_code, in ParseResponse_PolicyGetDigest()
30209 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyGetDigest()
30210 return response_code; in ParseResponse_PolicyGetDigest()
30281 TPM_RC response_code) { in PolicyGetDigestErrorCallback() argument
30283 callback.Run(response_code, in PolicyGetDigestErrorCallback()
30480 TPM_RC response_code; in ParseResponse_PolicyNvWritten() local
30484 &response_code, in ParseResponse_PolicyNvWritten()
30492 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PolicyNvWritten()
30493 return response_code; in ParseResponse_PolicyNvWritten()
30540 TPM_RC response_code) { in PolicyNvWrittenErrorCallback() argument
30542 callback.Run(response_code); in PolicyNvWrittenErrorCallback()
30787 TPM_RC response_code; in ParseResponse_CreatePrimary() local
30791 &response_code, in ParseResponse_CreatePrimary()
30799 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_CreatePrimary()
30800 return response_code; in ParseResponse_CreatePrimary()
30911 TPM_RC response_code) { in CreatePrimaryErrorCallback() argument
30913 callback.Run(response_code, in CreatePrimaryErrorCallback()
31168 TPM_RC response_code; in ParseResponse_HierarchyControl() local
31172 &response_code, in ParseResponse_HierarchyControl()
31180 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_HierarchyControl()
31181 return response_code; in ParseResponse_HierarchyControl()
31228 TPM_RC response_code) { in HierarchyControlErrorCallback() argument
31230 callback.Run(response_code); in HierarchyControlErrorCallback()
31449 TPM_RC response_code; in ParseResponse_SetPrimaryPolicy() local
31453 &response_code, in ParseResponse_SetPrimaryPolicy()
31461 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_SetPrimaryPolicy()
31462 return response_code; in ParseResponse_SetPrimaryPolicy()
31509 TPM_RC response_code) { in SetPrimaryPolicyErrorCallback() argument
31511 callback.Run(response_code); in SetPrimaryPolicyErrorCallback()
31698 TPM_RC response_code; in ParseResponse_ChangePPS() local
31702 &response_code, in ParseResponse_ChangePPS()
31710 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ChangePPS()
31711 return response_code; in ParseResponse_ChangePPS()
31758 TPM_RC response_code) { in ChangePPSErrorCallback() argument
31760 callback.Run(response_code); in ChangePPSErrorCallback()
31939 TPM_RC response_code; in ParseResponse_ChangeEPS() local
31943 &response_code, in ParseResponse_ChangeEPS()
31951 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ChangeEPS()
31952 return response_code; in ParseResponse_ChangeEPS()
31999 TPM_RC response_code) { in ChangeEPSErrorCallback() argument
32001 callback.Run(response_code); in ChangeEPSErrorCallback()
32180 TPM_RC response_code; in ParseResponse_Clear() local
32184 &response_code, in ParseResponse_Clear()
32192 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_Clear()
32193 return response_code; in ParseResponse_Clear()
32240 TPM_RC response_code) { in ClearErrorCallback() argument
32242 callback.Run(response_code); in ClearErrorCallback()
32433 TPM_RC response_code; in ParseResponse_ClearControl() local
32437 &response_code, in ParseResponse_ClearControl()
32445 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ClearControl()
32446 return response_code; in ParseResponse_ClearControl()
32493 TPM_RC response_code) { in ClearControlErrorCallback() argument
32495 callback.Run(response_code); in ClearControlErrorCallback()
32698 TPM_RC response_code; in ParseResponse_HierarchyChangeAuth() local
32702 &response_code, in ParseResponse_HierarchyChangeAuth()
32710 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_HierarchyChangeAuth()
32711 return response_code; in ParseResponse_HierarchyChangeAuth()
32758 TPM_RC response_code) { in HierarchyChangeAuthErrorCallback() argument
32760 callback.Run(response_code); in HierarchyChangeAuthErrorCallback()
32943 TPM_RC response_code; in ParseResponse_DictionaryAttackLockReset() local
32947 &response_code, in ParseResponse_DictionaryAttackLockReset()
32955 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_DictionaryAttackLockReset()
32956 return response_code; in ParseResponse_DictionaryAttackLockReset()
33003 TPM_RC response_code) { in DictionaryAttackLockResetErrorCallback() argument
33005 callback.Run(response_code); in DictionaryAttackLockResetErrorCallback()
33220 TPM_RC response_code; in ParseResponse_DictionaryAttackParameters() local
33224 &response_code, in ParseResponse_DictionaryAttackParameters()
33232 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_DictionaryAttackParameters()
33233 return response_code; in ParseResponse_DictionaryAttackParameters()
33280 TPM_RC response_code) { in DictionaryAttackParametersErrorCallback() argument
33282 callback.Run(response_code); in DictionaryAttackParametersErrorCallback()
33497 TPM_RC response_code; in ParseResponse_PP_Commands() local
33501 &response_code, in ParseResponse_PP_Commands()
33509 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_PP_Commands()
33510 return response_code; in ParseResponse_PP_Commands()
33557 TPM_RC response_code) { in PP_CommandsErrorCallback() argument
33559 callback.Run(response_code); in PP_CommandsErrorCallback()
33758 TPM_RC response_code; in ParseResponse_SetAlgorithmSet() local
33762 &response_code, in ParseResponse_SetAlgorithmSet()
33770 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_SetAlgorithmSet()
33771 return response_code; in ParseResponse_SetAlgorithmSet()
33818 TPM_RC response_code) { in SetAlgorithmSetErrorCallback() argument
33820 callback.Run(response_code); in SetAlgorithmSetErrorCallback()
34048 TPM_RC response_code; in ParseResponse_FieldUpgradeStart() local
34052 &response_code, in ParseResponse_FieldUpgradeStart()
34060 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_FieldUpgradeStart()
34061 return response_code; in ParseResponse_FieldUpgradeStart()
34108 TPM_RC response_code) { in FieldUpgradeStartErrorCallback() argument
34110 callback.Run(response_code); in FieldUpgradeStartErrorCallback()
34314 TPM_RC response_code; in ParseResponse_FieldUpgradeData() local
34318 &response_code, in ParseResponse_FieldUpgradeData()
34326 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_FieldUpgradeData()
34327 return response_code; in ParseResponse_FieldUpgradeData()
34390 TPM_RC response_code) { in FieldUpgradeDataErrorCallback() argument
34392 callback.Run(response_code, in FieldUpgradeDataErrorCallback()
34579 TPM_RC response_code; in ParseResponse_FirmwareRead() local
34583 &response_code, in ParseResponse_FirmwareRead()
34591 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_FirmwareRead()
34592 return response_code; in ParseResponse_FirmwareRead()
34663 TPM_RC response_code) { in FirmwareReadErrorCallback() argument
34665 callback.Run(response_code, in FirmwareReadErrorCallback()
34847 TPM_RC response_code; in ParseResponse_ContextSave() local
34851 &response_code, in ParseResponse_ContextSave()
34859 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ContextSave()
34860 return response_code; in ParseResponse_ContextSave()
34915 TPM_RC response_code) { in ContextSaveErrorCallback() argument
34917 callback.Run(response_code, in ContextSaveErrorCallback()
35102 TPM_RC response_code; in ParseResponse_ContextLoad() local
35106 &response_code, in ParseResponse_ContextLoad()
35114 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ContextLoad()
35115 return response_code; in ParseResponse_ContextLoad()
35170 TPM_RC response_code) { in ContextLoadErrorCallback() argument
35172 callback.Run(response_code, in ContextLoadErrorCallback()
35352 TPM_RC response_code; in ParseResponse_FlushContext() local
35356 &response_code, in ParseResponse_FlushContext()
35364 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_FlushContext()
35365 return response_code; in ParseResponse_FlushContext()
35412 TPM_RC response_code) { in FlushContextErrorCallback() argument
35414 callback.Run(response_code); in FlushContextErrorCallback()
35614 TPM_RC response_code; in ParseResponse_EvictControl() local
35618 &response_code, in ParseResponse_EvictControl()
35626 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_EvictControl()
35627 return response_code; in ParseResponse_EvictControl()
35674 TPM_RC response_code) { in EvictControlErrorCallback() argument
35676 callback.Run(response_code); in EvictControlErrorCallback()
35855 TPM_RC response_code; in ParseResponse_ReadClock() local
35859 &response_code, in ParseResponse_ReadClock()
35867 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ReadClock()
35868 return response_code; in ParseResponse_ReadClock()
35923 TPM_RC response_code) { in ReadClockErrorCallback() argument
35925 callback.Run(response_code, in ReadClockErrorCallback()
36114 TPM_RC response_code; in ParseResponse_ClockSet() local
36118 &response_code, in ParseResponse_ClockSet()
36126 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ClockSet()
36127 return response_code; in ParseResponse_ClockSet()
36174 TPM_RC response_code) { in ClockSetErrorCallback() argument
36176 callback.Run(response_code); in ClockSetErrorCallback()
36371 TPM_RC response_code; in ParseResponse_ClockRateAdjust() local
36375 &response_code, in ParseResponse_ClockRateAdjust()
36383 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_ClockRateAdjust()
36384 return response_code; in ParseResponse_ClockRateAdjust()
36431 TPM_RC response_code) { in ClockRateAdjustErrorCallback() argument
36433 callback.Run(response_code); in ClockRateAdjustErrorCallback()
36641 TPM_RC response_code; in ParseResponse_GetCapability() local
36645 &response_code, in ParseResponse_GetCapability()
36653 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_GetCapability()
36654 return response_code; in ParseResponse_GetCapability()
36717 TPM_RC response_code) { in GetCapabilityErrorCallback() argument
36719 callback.Run(response_code, in GetCapabilityErrorCallback()
36913 TPM_RC response_code; in ParseResponse_TestParms() local
36917 &response_code, in ParseResponse_TestParms()
36925 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_TestParms()
36926 return response_code; in ParseResponse_TestParms()
36973 TPM_RC response_code) { in TestParmsErrorCallback() argument
36975 callback.Run(response_code); in TestParmsErrorCallback()
37182 TPM_RC response_code; in ParseResponse_NV_DefineSpace() local
37186 &response_code, in ParseResponse_NV_DefineSpace()
37194 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_DefineSpace()
37195 return response_code; in ParseResponse_NV_DefineSpace()
37242 TPM_RC response_code) { in NV_DefineSpaceErrorCallback() argument
37244 callback.Run(response_code); in NV_DefineSpaceErrorCallback()
37444 TPM_RC response_code; in ParseResponse_NV_UndefineSpace() local
37448 &response_code, in ParseResponse_NV_UndefineSpace()
37456 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_UndefineSpace()
37457 return response_code; in ParseResponse_NV_UndefineSpace()
37504 TPM_RC response_code) { in NV_UndefineSpaceErrorCallback() argument
37506 callback.Run(response_code); in NV_UndefineSpaceErrorCallback()
37706 TPM_RC response_code; in ParseResponse_NV_UndefineSpaceSpecial() local
37710 &response_code, in ParseResponse_NV_UndefineSpaceSpecial()
37718 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_UndefineSpaceSpecial()
37719 return response_code; in ParseResponse_NV_UndefineSpaceSpecial()
37766 TPM_RC response_code) { in NV_UndefineSpaceSpecialErrorCallback() argument
37768 callback.Run(response_code); in NV_UndefineSpaceSpecialErrorCallback()
37957 TPM_RC response_code; in ParseResponse_NV_ReadPublic() local
37961 &response_code, in ParseResponse_NV_ReadPublic()
37969 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_ReadPublic()
37970 return response_code; in ParseResponse_NV_ReadPublic()
38049 TPM_RC response_code) { in NV_ReadPublicErrorCallback() argument
38051 callback.Run(response_code, in NV_ReadPublicErrorCallback()
38287 TPM_RC response_code; in ParseResponse_NV_Write() local
38291 &response_code, in ParseResponse_NV_Write()
38299 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_Write()
38300 return response_code; in ParseResponse_NV_Write()
38347 TPM_RC response_code) { in NV_WriteErrorCallback() argument
38349 callback.Run(response_code); in NV_WriteErrorCallback()
38557 TPM_RC response_code; in ParseResponse_NV_Increment() local
38561 &response_code, in ParseResponse_NV_Increment()
38569 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_Increment()
38570 return response_code; in ParseResponse_NV_Increment()
38617 TPM_RC response_code) { in NV_IncrementErrorCallback() argument
38619 callback.Run(response_code); in NV_IncrementErrorCallback()
38839 TPM_RC response_code; in ParseResponse_NV_Extend() local
38843 &response_code, in ParseResponse_NV_Extend()
38851 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_Extend()
38852 return response_code; in ParseResponse_NV_Extend()
38899 TPM_RC response_code) { in NV_ExtendErrorCallback() argument
38901 callback.Run(response_code); in NV_ExtendErrorCallback()
39117 TPM_RC response_code; in ParseResponse_NV_SetBits() local
39121 &response_code, in ParseResponse_NV_SetBits()
39129 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_SetBits()
39130 return response_code; in ParseResponse_NV_SetBits()
39177 TPM_RC response_code) { in NV_SetBitsErrorCallback() argument
39179 callback.Run(response_code); in NV_SetBitsErrorCallback()
39383 TPM_RC response_code; in ParseResponse_NV_WriteLock() local
39387 &response_code, in ParseResponse_NV_WriteLock()
39395 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_WriteLock()
39396 return response_code; in ParseResponse_NV_WriteLock()
39443 TPM_RC response_code) { in NV_WriteLockErrorCallback() argument
39445 callback.Run(response_code); in NV_WriteLockErrorCallback()
39632 TPM_RC response_code; in ParseResponse_NV_GlobalWriteLock() local
39636 &response_code, in ParseResponse_NV_GlobalWriteLock()
39644 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_GlobalWriteLock()
39645 return response_code; in ParseResponse_NV_GlobalWriteLock()
39692 TPM_RC response_code) { in NV_GlobalWriteLockErrorCallback() argument
39694 callback.Run(response_code); in NV_GlobalWriteLockErrorCallback()
39911 TPM_RC response_code; in ParseResponse_NV_Read() local
39915 &response_code, in ParseResponse_NV_Read()
39923 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_Read()
39924 return response_code; in ParseResponse_NV_Read()
39995 TPM_RC response_code) { in NV_ReadErrorCallback() argument
39997 callback.Run(response_code, in NV_ReadErrorCallback()
40211 TPM_RC response_code; in ParseResponse_NV_ReadLock() local
40215 &response_code, in ParseResponse_NV_ReadLock()
40223 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_ReadLock()
40224 return response_code; in ParseResponse_NV_ReadLock()
40271 TPM_RC response_code) { in NV_ReadLockErrorCallback() argument
40273 callback.Run(response_code); in NV_ReadLockErrorCallback()
40480 TPM_RC response_code; in ParseResponse_NV_ChangeAuth() local
40484 &response_code, in ParseResponse_NV_ChangeAuth()
40492 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_ChangeAuth()
40493 return response_code; in ParseResponse_NV_ChangeAuth()
40540 TPM_RC response_code) { in NV_ChangeAuthErrorCallback() argument
40542 callback.Run(response_code); in NV_ChangeAuthErrorCallback()
40809 TPM_RC response_code; in ParseResponse_NV_Certify() local
40813 &response_code, in ParseResponse_NV_Certify()
40821 if (response_code != TPM_RC_SUCCESS) { in ParseResponse_NV_Certify()
40822 return response_code; in ParseResponse_NV_Certify()
40901 TPM_RC response_code) { in NV_CertifyErrorCallback() argument
40903 callback.Run(response_code, in NV_CertifyErrorCallback()