Lines Matching refs:TPM_RC_SUCCESS
83 TPM_RC result = TPM_RC_SUCCESS; in Startup()
96 return TPM_RC_SUCCESS; in Startup()
100 TPM_RC result = TPM_RC_SUCCESS; in Clear()
137 TPM_RC result = TPM_RC_SUCCESS; in InitializeTpm()
162 result = TPM_RC_SUCCESS; in InitializeTpm()
164 if (result != TPM_RC_SUCCESS) { in InitializeTpm()
169 if (result != TPM_RC_SUCCESS) { in InitializeTpm()
176 if (result != TPM_RC_SUCCESS) { in InitializeTpm()
181 return TPM_RC_SUCCESS; in InitializeTpm()
191 if (result != TPM_RC_SUCCESS) { in AllocatePCR()
207 return TPM_RC_SUCCESS; in AllocatePCR()
236 if (result != TPM_RC_SUCCESS) { in AllocatePCR()
245 return TPM_RC_SUCCESS; in AllocatePCR()
253 TPM_RC result = TPM_RC_SUCCESS; in TakeOwnership()
255 if (result != TPM_RC_SUCCESS) { in TakeOwnership()
276 if (result != TPM_RC_SUCCESS) { in TakeOwnership()
312 return TPM_RC_SUCCESS; in TakeOwnership()
313 } else if (result != TPM_RC_SUCCESS) { in TakeOwnership()
318 return TPM_RC_SUCCESS; in TakeOwnership()
346 return TPM_RC_SUCCESS; in GenerateRandom()
404 return TPM_RC_SUCCESS; in ReadPCR()
429 if (result != TPM_RC_SUCCESS) { in AsymmetricEncrypt()
446 if (result != TPM_RC_SUCCESS) { in AsymmetricEncrypt()
458 if (result != TPM_RC_SUCCESS) { in AsymmetricEncrypt()
464 return TPM_RC_SUCCESS; in AsymmetricEncrypt()
531 return TPM_RC_SUCCESS; in AsymmetricDecrypt()
608 return TPM_RC_SUCCESS; in Sign()
664 return TPM_RC_SUCCESS; in Verify()
688 if (result != TPM_RC_SUCCESS) { in CertifyCreation()
693 return TPM_RC_SUCCESS; in CertifyCreation()
712 if (result != TPM_RC_SUCCESS) { in ChangeKeyAuthorizationData()
718 if (result != TPM_RC_SUCCESS) { in ChangeKeyAuthorizationData()
729 if (result != TPM_RC_SUCCESS) { in ChangeKeyAuthorizationData()
737 if (result != TPM_RC_SUCCESS) { in ChangeKeyAuthorizationData()
745 return TPM_RC_SUCCESS; in ChangeKeyAuthorizationData()
765 if (result != TPM_RC_SUCCESS) { in ImportRSAKey()
804 if (result != TPM_RC_SUCCESS) { in ImportRSAKey()
814 if (result != TPM_RC_SUCCESS) { in ImportRSAKey()
825 return TPM_RC_SUCCESS; in ImportRSAKey()
849 if (result != TPM_RC_SUCCESS) { in CreateRSAKeyPair()
907 if (result != TPM_RC_SUCCESS) { in CreateRSAKeyPair()
922 return TPM_RC_SUCCESS; in CreateRSAKeyPair()
939 if (result != TPM_RC_SUCCESS) { in LoadKey()
955 if (result != TPM_RC_SUCCESS) { in LoadKey()
959 return TPM_RC_SUCCESS; in LoadKey()
967 if (result != TPM_RC_SUCCESS) { in GetKeyName()
973 if (result != TPM_RC_SUCCESS) { in GetKeyName()
976 return TPM_RC_SUCCESS; in GetKeyName()
978 return TPM_RC_SUCCESS; in GetKeyName()
996 return TPM_RC_SUCCESS; in GetKeyPublicArea()
1014 if (result != TPM_RC_SUCCESS) { in SealData()
1043 if (result != TPM_RC_SUCCESS) { in SealData()
1052 return TPM_RC_SUCCESS; in SealData()
1071 if (result != TPM_RC_SUCCESS) { in UnsealData()
1079 if (result != TPM_RC_SUCCESS) { in UnsealData()
1087 if (result != TPM_RC_SUCCESS) { in UnsealData()
1093 return TPM_RC_SUCCESS; in UnsealData()
1098 if (result != TPM_RC_SUCCESS) { in StartSession()
1104 return TPM_RC_SUCCESS; in StartSession()
1113 if (result != TPM_RC_SUCCESS) { in GetPolicyDigestForPcrValue()
1121 if (result != TPM_RC_SUCCESS) { in GetPolicyDigestForPcrValue()
1130 if (result != TPM_RC_SUCCESS) { in GetPolicyDigestForPcrValue()
1136 if (result != TPM_RC_SUCCESS) { in GetPolicyDigestForPcrValue()
1141 return TPM_RC_SUCCESS; in GetPolicyDigestForPcrValue()
1184 if (result != TPM_RC_SUCCESS) { in DefineNVSpace()
1190 return TPM_RC_SUCCESS; in DefineNVSpace()
1212 if (result != TPM_RC_SUCCESS) { in DestroyNVSpace()
1218 if (result != TPM_RC_SUCCESS) { in DestroyNVSpace()
1224 return TPM_RC_SUCCESS; in DestroyNVSpace()
1242 if (result != TPM_RC_SUCCESS) { in LockNVSpace()
1256 if (result != TPM_RC_SUCCESS) { in LockNVSpace()
1268 if (result != TPM_RC_SUCCESS) { in LockNVSpace()
1277 return TPM_RC_SUCCESS; in LockNVSpace()
1302 if (result != TPM_RC_SUCCESS) { in WriteNVSpace()
1321 if (result != TPM_RC_SUCCESS) { in WriteNVSpace()
1330 return TPM_RC_SUCCESS; in WriteNVSpace()
1355 if (result != TPM_RC_SUCCESS) { in ReadNVSpace()
1370 if (result != TPM_RC_SUCCESS) { in ReadNVSpace()
1376 return TPM_RC_SUCCESS; in ReadNVSpace()
1390 if (result != TPM_RC_SUCCESS) { in GetNVSpaceName()
1394 if (result != TPM_RC_SUCCESS) { in GetNVSpaceName()
1397 return TPM_RC_SUCCESS; in GetNVSpaceName()
1413 return TPM_RC_SUCCESS; in GetNVSpacePublicArea()
1421 if (result != TPM_RC_SUCCESS) { in GetNVSpacePublicArea()
1429 return TPM_RC_SUCCESS; in GetNVSpacePublicArea()
1441 if (result != TPM_RC_SUCCESS) { in ListNVSpaces()
1456 return TPM_RC_SUCCESS; in ListNVSpaces()
1488 return TPM_RC_SUCCESS; in SetKnownOwnerPassword()
1497 return TPM_RC_SUCCESS; in SetKnownOwnerPassword()
1502 TPM_RC result = TPM_RC_SUCCESS; in CreateStorageRootKeys()
1553 if (result != TPM_RC_SUCCESS) { in CreateStorageRootKeys()
1596 if (result != TPM_RC_SUCCESS) { in CreateStorageRootKeys()
1607 return TPM_RC_SUCCESS; in CreateStorageRootKeys()
1613 if (result != TPM_RC_SUCCESS) { in CreateSaltingKey()
1618 return TPM_RC_SUCCESS; in CreateSaltingKey()
1622 if (result != TPM_RC_SUCCESS) { in CreateSaltingKey()
1657 if (result != TPM_RC_SUCCESS) { in CreateSaltingKey()
1668 if (result != TPM_RC_SUCCESS) { in CreateSaltingKey()
1679 if (result != TPM_RC_SUCCESS) { in CreateSaltingKey()
1683 return TPM_RC_SUCCESS; in CreateSaltingKey()
1745 return TPM_RC_SUCCESS; in ComputeKeyName()
1749 if (result != TPM_RC_SUCCESS) { in ComputeKeyName()
1756 if (result != TPM_RC_SUCCESS) { in ComputeKeyName()
1763 return TPM_RC_SUCCESS; in ComputeKeyName()
1772 return TPM_RC_SUCCESS; in ComputeNVSpaceName()
1777 if (result != TPM_RC_SUCCESS) { in ComputeNVSpaceName()
1784 if (result != TPM_RC_SUCCESS) { in ComputeNVSpaceName()
1791 return TPM_RC_SUCCESS; in ComputeNVSpaceName()
1802 if (result != TPM_RC_SUCCESS) { in EncryptPrivateData()
1809 if (result != TPM_RC_SUCCESS) { in EncryptPrivateData()
1818 if (result != TPM_RC_SUCCESS) { in EncryptPrivateData()
1835 if (result != TPM_RC_SUCCESS) { in EncryptPrivateData()
1840 return TPM_RC_SUCCESS; in EncryptPrivateData()
1851 if (result != TPM_RC_SUCCESS) { in DoesPersistentKeyExist()
1858 return TPM_RC_SUCCESS; in DoesPersistentKeyExist()