/external/tpm2/ |
D | HandleProcess.c | 17 TPM_RC result = TPM_RC_SUCCESS; in ParseHandleBuffer() 25 if (result != TPM_RC_SUCCESS) { in ParseHandleBuffer() 32 if (result != TPM_RC_SUCCESS) { in ParseHandleBuffer() 36 return TPM_RC_SUCCESS; in ParseHandleBuffer() 43 if (result != TPM_RC_SUCCESS) { in ParseHandleBuffer() 50 if (result != TPM_RC_SUCCESS) { in ParseHandleBuffer() 54 return TPM_RC_SUCCESS; in ParseHandleBuffer() 61 if (result != TPM_RC_SUCCESS) { in ParseHandleBuffer() 68 if (result != TPM_RC_SUCCESS) { in ParseHandleBuffer() 72 return TPM_RC_SUCCESS; in ParseHandleBuffer() [all …]
|
D | tpm_generated.c | 54 return TPM_RC_SUCCESS; in uint8_t_Unmarshal() 102 return TPM_RC_SUCCESS; in int8_t_Unmarshal() 150 return TPM_RC_SUCCESS; in uint16_t_Unmarshal() 198 return TPM_RC_SUCCESS; in int16_t_Unmarshal() 246 return TPM_RC_SUCCESS; in uint32_t_Unmarshal() 294 return TPM_RC_SUCCESS; in int32_t_Unmarshal() 342 return TPM_RC_SUCCESS; in uint64_t_Unmarshal() 390 return TPM_RC_SUCCESS; in int64_t_Unmarshal() 457 if (result != TPM_RC_SUCCESS) { in TPM2B_ATTEST_Unmarshal() 461 return TPM_RC_SUCCESS; in TPM2B_ATTEST_Unmarshal() [all …]
|
D | Marshal_PolicyTicket.c | 14 TPM_RC result = TPM_RC_SUCCESS; in PolicyTicket_In_Unmarshal() 19 if (result != TPM_RC_SUCCESS) { in PolicyTicket_In_Unmarshal() 23 if (result != TPM_RC_SUCCESS) { in PolicyTicket_In_Unmarshal() 27 if (result != TPM_RC_SUCCESS) { in PolicyTicket_In_Unmarshal() 31 if (result != TPM_RC_SUCCESS) { in PolicyTicket_In_Unmarshal() 35 if (result != TPM_RC_SUCCESS) { in PolicyTicket_In_Unmarshal() 38 if ((result == TPM_RC_SUCCESS) && *size) { in PolicyTicket_In_Unmarshal() 50 TPM_RC result = TPM_RC_SUCCESS; in Exec_PolicyTicket() 62 if (result != TPM_RC_SUCCESS) { in Exec_PolicyTicket() 67 if (result != TPM_RC_SUCCESS) { in Exec_PolicyTicket() [all …]
|
D | Marshal_PolicyAuthorize.c | 14 TPM_RC result = TPM_RC_SUCCESS; in PolicyAuthorize_In_Unmarshal() 19 if (result != TPM_RC_SUCCESS) { in PolicyAuthorize_In_Unmarshal() 23 if (result != TPM_RC_SUCCESS) { in PolicyAuthorize_In_Unmarshal() 27 if (result != TPM_RC_SUCCESS) { in PolicyAuthorize_In_Unmarshal() 31 if (result != TPM_RC_SUCCESS) { in PolicyAuthorize_In_Unmarshal() 34 if ((result == TPM_RC_SUCCESS) && *size) { in PolicyAuthorize_In_Unmarshal() 46 TPM_RC result = TPM_RC_SUCCESS; in Exec_PolicyAuthorize() 58 if (result != TPM_RC_SUCCESS) { in Exec_PolicyAuthorize() 63 if (result != TPM_RC_SUCCESS) { in Exec_PolicyAuthorize() 74 return TPM_RC_SUCCESS; in Exec_PolicyAuthorize()
|
D | Marshal_Import.c | 41 TPM_RC result = TPM_RC_SUCCESS; in Import_In_Unmarshal() 46 if (result != TPM_RC_SUCCESS) { in Import_In_Unmarshal() 50 if (result != TPM_RC_SUCCESS) { in Import_In_Unmarshal() 54 if (result != TPM_RC_SUCCESS) { in Import_In_Unmarshal() 58 if (result != TPM_RC_SUCCESS) { in Import_In_Unmarshal() 62 if (result != TPM_RC_SUCCESS) { in Import_In_Unmarshal() 65 if ((result == TPM_RC_SUCCESS) && *size) { in Import_In_Unmarshal() 77 TPM_RC result = TPM_RC_SUCCESS; in Exec_Import() 91 if (result != TPM_RC_SUCCESS) { in Exec_Import() 96 if (result != TPM_RC_SUCCESS) { in Exec_Import() [all …]
|
D | Marshal_PolicyDuplicationSelect.c | 14 TPM_RC result = TPM_RC_SUCCESS; in PolicyDuplicationSelect_In_Unmarshal() 19 if (result != TPM_RC_SUCCESS) { in PolicyDuplicationSelect_In_Unmarshal() 23 if (result != TPM_RC_SUCCESS) { in PolicyDuplicationSelect_In_Unmarshal() 27 if (result != TPM_RC_SUCCESS) { in PolicyDuplicationSelect_In_Unmarshal() 30 if ((result == TPM_RC_SUCCESS) && *size) { in PolicyDuplicationSelect_In_Unmarshal() 42 TPM_RC result = TPM_RC_SUCCESS; in Exec_PolicyDuplicationSelect() 54 if (result != TPM_RC_SUCCESS) { in Exec_PolicyDuplicationSelect() 59 if (result != TPM_RC_SUCCESS) { in Exec_PolicyDuplicationSelect() 71 return TPM_RC_SUCCESS; in Exec_PolicyDuplicationSelect()
|
D | Marshal_SetCommandCodeAuditStatus.c | 15 TPM_RC result = TPM_RC_SUCCESS; in SetCommandCodeAuditStatus_In_Unmarshal() 20 if (result != TPM_RC_SUCCESS) { in SetCommandCodeAuditStatus_In_Unmarshal() 24 if (result != TPM_RC_SUCCESS) { in SetCommandCodeAuditStatus_In_Unmarshal() 28 if (result != TPM_RC_SUCCESS) { in SetCommandCodeAuditStatus_In_Unmarshal() 31 if ((result == TPM_RC_SUCCESS) && *size) { in SetCommandCodeAuditStatus_In_Unmarshal() 43 TPM_RC result = TPM_RC_SUCCESS; in Exec_SetCommandCodeAuditStatus() 55 if (result != TPM_RC_SUCCESS) { in Exec_SetCommandCodeAuditStatus() 60 if (result != TPM_RC_SUCCESS) { in Exec_SetCommandCodeAuditStatus() 72 return TPM_RC_SUCCESS; in Exec_SetCommandCodeAuditStatus()
|
D | Marshal_PolicyNV.c | 14 TPM_RC result = TPM_RC_SUCCESS; in PolicyNV_In_Unmarshal() 21 if (result != TPM_RC_SUCCESS) { in PolicyNV_In_Unmarshal() 25 if (result != TPM_RC_SUCCESS) { in PolicyNV_In_Unmarshal() 29 if (result != TPM_RC_SUCCESS) { in PolicyNV_In_Unmarshal() 32 if ((result == TPM_RC_SUCCESS) && *size) { in PolicyNV_In_Unmarshal() 44 TPM_RC result = TPM_RC_SUCCESS; in Exec_PolicyNV() 55 if (result != TPM_RC_SUCCESS) { in Exec_PolicyNV() 60 if (result != TPM_RC_SUCCESS) { in Exec_PolicyNV() 71 return TPM_RC_SUCCESS; in Exec_PolicyNV()
|
D | Marshal_PolicyCounterTimer.c | 14 TPM_RC result = TPM_RC_SUCCESS; in PolicyCounterTimer_In_Unmarshal() 19 if (result != TPM_RC_SUCCESS) { in PolicyCounterTimer_In_Unmarshal() 23 if (result != TPM_RC_SUCCESS) { in PolicyCounterTimer_In_Unmarshal() 27 if (result != TPM_RC_SUCCESS) { in PolicyCounterTimer_In_Unmarshal() 30 if ((result == TPM_RC_SUCCESS) && *size) { in PolicyCounterTimer_In_Unmarshal() 42 TPM_RC result = TPM_RC_SUCCESS; in Exec_PolicyCounterTimer() 54 if (result != TPM_RC_SUCCESS) { in Exec_PolicyCounterTimer() 59 if (result != TPM_RC_SUCCESS) { in Exec_PolicyCounterTimer() 70 return TPM_RC_SUCCESS; in Exec_PolicyCounterTimer()
|
D | Marshal_DictionaryAttackParameters.c | 15 TPM_RC result = TPM_RC_SUCCESS; in DictionaryAttackParameters_In_Unmarshal() 20 if (result != TPM_RC_SUCCESS) { in DictionaryAttackParameters_In_Unmarshal() 24 if (result != TPM_RC_SUCCESS) { in DictionaryAttackParameters_In_Unmarshal() 28 if (result != TPM_RC_SUCCESS) { in DictionaryAttackParameters_In_Unmarshal() 31 if ((result == TPM_RC_SUCCESS) && *size) { in DictionaryAttackParameters_In_Unmarshal() 43 TPM_RC result = TPM_RC_SUCCESS; in Exec_DictionaryAttackParameters() 55 if (result != TPM_RC_SUCCESS) { in Exec_DictionaryAttackParameters() 60 if (result != TPM_RC_SUCCESS) { in Exec_DictionaryAttackParameters() 72 return TPM_RC_SUCCESS; in Exec_DictionaryAttackParameters()
|
D | Marshal_PolicySigned.c | 42 TPM_RC result = TPM_RC_SUCCESS; in PolicySigned_In_Unmarshal() 48 if (result != TPM_RC_SUCCESS) { in PolicySigned_In_Unmarshal() 52 if (result != TPM_RC_SUCCESS) { in PolicySigned_In_Unmarshal() 56 if (result != TPM_RC_SUCCESS) { in PolicySigned_In_Unmarshal() 60 if (result != TPM_RC_SUCCESS) { in PolicySigned_In_Unmarshal() 64 if (result != TPM_RC_SUCCESS) { in PolicySigned_In_Unmarshal() 67 if ((result == TPM_RC_SUCCESS) && *size) { in PolicySigned_In_Unmarshal() 79 TPM_RC result = TPM_RC_SUCCESS; in Exec_PolicySigned() 94 if (result != TPM_RC_SUCCESS) { in Exec_PolicySigned() 99 if (result != TPM_RC_SUCCESS) { in Exec_PolicySigned() [all …]
|
D | Marshal_StartAuthSession.c | 44 TPM_RC result = TPM_RC_SUCCESS; in StartAuthSession_In_Unmarshal() 50 if (result != TPM_RC_SUCCESS) { in StartAuthSession_In_Unmarshal() 55 if (result != TPM_RC_SUCCESS) { in StartAuthSession_In_Unmarshal() 59 if (result != TPM_RC_SUCCESS) { in StartAuthSession_In_Unmarshal() 63 if (result != TPM_RC_SUCCESS) { in StartAuthSession_In_Unmarshal() 67 if (result != TPM_RC_SUCCESS) { in StartAuthSession_In_Unmarshal() 70 if ((result == TPM_RC_SUCCESS) && *size) { in StartAuthSession_In_Unmarshal() 82 TPM_RC result = TPM_RC_SUCCESS; in Exec_StartAuthSession() 97 if (result != TPM_RC_SUCCESS) { in Exec_StartAuthSession() 102 if (result != TPM_RC_SUCCESS) { in Exec_StartAuthSession() [all …]
|
D | Marshal_PolicySecret.c | 42 TPM_RC result = TPM_RC_SUCCESS; in PolicySecret_In_Unmarshal() 48 if (result != TPM_RC_SUCCESS) { in PolicySecret_In_Unmarshal() 52 if (result != TPM_RC_SUCCESS) { in PolicySecret_In_Unmarshal() 56 if (result != TPM_RC_SUCCESS) { in PolicySecret_In_Unmarshal() 60 if (result != TPM_RC_SUCCESS) { in PolicySecret_In_Unmarshal() 63 if ((result == TPM_RC_SUCCESS) && *size) { in PolicySecret_In_Unmarshal() 75 TPM_RC result = TPM_RC_SUCCESS; in Exec_PolicySecret() 90 if (result != TPM_RC_SUCCESS) { in Exec_PolicySecret() 95 if (result != TPM_RC_SUCCESS) { in Exec_PolicySecret() 107 return TPM_RC_SUCCESS; in Exec_PolicySecret()
|
D | Marshal_ZGen_2Phase.c | 42 TPM_RC result = TPM_RC_SUCCESS; in ZGen_2Phase_In_Unmarshal() 47 if (result != TPM_RC_SUCCESS) { in ZGen_2Phase_In_Unmarshal() 51 if (result != TPM_RC_SUCCESS) { in ZGen_2Phase_In_Unmarshal() 56 if (result != TPM_RC_SUCCESS) { in ZGen_2Phase_In_Unmarshal() 60 if (result != TPM_RC_SUCCESS) { in ZGen_2Phase_In_Unmarshal() 63 if ((result == TPM_RC_SUCCESS) && *size) { in ZGen_2Phase_In_Unmarshal() 75 TPM_RC result = TPM_RC_SUCCESS; in Exec_ZGen_2Phase() 90 if (result != TPM_RC_SUCCESS) { in Exec_ZGen_2Phase() 95 if (result != TPM_RC_SUCCESS) { in Exec_ZGen_2Phase() 107 return TPM_RC_SUCCESS; in Exec_ZGen_2Phase()
|
D | Marshal_CertifyCreation.c | 42 TPM_RC result = TPM_RC_SUCCESS; in CertifyCreation_In_Unmarshal() 48 if (result != TPM_RC_SUCCESS) { in CertifyCreation_In_Unmarshal() 52 if (result != TPM_RC_SUCCESS) { in CertifyCreation_In_Unmarshal() 56 if (result != TPM_RC_SUCCESS) { in CertifyCreation_In_Unmarshal() 60 if (result != TPM_RC_SUCCESS) { in CertifyCreation_In_Unmarshal() 63 if ((result == TPM_RC_SUCCESS) && *size) { in CertifyCreation_In_Unmarshal() 75 TPM_RC result = TPM_RC_SUCCESS; in Exec_CertifyCreation() 90 if (result != TPM_RC_SUCCESS) { in Exec_CertifyCreation() 95 if (result != TPM_RC_SUCCESS) { in Exec_CertifyCreation() 107 return TPM_RC_SUCCESS; in Exec_CertifyCreation()
|
D | Marshal_EncryptDecrypt.c | 42 TPM_RC result = TPM_RC_SUCCESS; in EncryptDecrypt_In_Unmarshal() 47 if (result != TPM_RC_SUCCESS) { in EncryptDecrypt_In_Unmarshal() 51 if (result != TPM_RC_SUCCESS) { in EncryptDecrypt_In_Unmarshal() 55 if (result != TPM_RC_SUCCESS) { in EncryptDecrypt_In_Unmarshal() 59 if (result != TPM_RC_SUCCESS) { in EncryptDecrypt_In_Unmarshal() 62 if ((result == TPM_RC_SUCCESS) && *size) { in EncryptDecrypt_In_Unmarshal() 74 TPM_RC result = TPM_RC_SUCCESS; in Exec_EncryptDecrypt() 89 if (result != TPM_RC_SUCCESS) { in Exec_EncryptDecrypt() 94 if (result != TPM_RC_SUCCESS) { in Exec_EncryptDecrypt() 106 return TPM_RC_SUCCESS; in Exec_EncryptDecrypt()
|
D | Marshal_PP_Commands.c | 14 TPM_RC result = TPM_RC_SUCCESS; in PP_Commands_In_Unmarshal() 19 if (result != TPM_RC_SUCCESS) { in PP_Commands_In_Unmarshal() 23 if (result != TPM_RC_SUCCESS) { in PP_Commands_In_Unmarshal() 26 if ((result == TPM_RC_SUCCESS) && *size) { in PP_Commands_In_Unmarshal() 38 TPM_RC result = TPM_RC_SUCCESS; in Exec_PP_Commands() 50 if (result != TPM_RC_SUCCESS) { in Exec_PP_Commands() 55 if (result != TPM_RC_SUCCESS) { in Exec_PP_Commands() 66 return TPM_RC_SUCCESS; in Exec_PP_Commands()
|
D | Marshal_NV_DefineSpace.c | 14 TPM_RC result = TPM_RC_SUCCESS; in NV_DefineSpace_In_Unmarshal() 19 if (result != TPM_RC_SUCCESS) { in NV_DefineSpace_In_Unmarshal() 23 if (result != TPM_RC_SUCCESS) { in NV_DefineSpace_In_Unmarshal() 26 if ((result == TPM_RC_SUCCESS) && *size) { in NV_DefineSpace_In_Unmarshal() 38 TPM_RC result = TPM_RC_SUCCESS; in Exec_NV_DefineSpace() 50 if (result != TPM_RC_SUCCESS) { in Exec_NV_DefineSpace() 55 if (result != TPM_RC_SUCCESS) { in Exec_NV_DefineSpace() 66 return TPM_RC_SUCCESS; in Exec_NV_DefineSpace()
|
D | Marshal_PolicyPCR.c | 14 TPM_RC result = TPM_RC_SUCCESS; in PolicyPCR_In_Unmarshal() 19 if (result != TPM_RC_SUCCESS) { in PolicyPCR_In_Unmarshal() 23 if (result != TPM_RC_SUCCESS) { in PolicyPCR_In_Unmarshal() 26 if ((result == TPM_RC_SUCCESS) && *size) { in PolicyPCR_In_Unmarshal() 38 TPM_RC result = TPM_RC_SUCCESS; in Exec_PolicyPCR() 50 if (result != TPM_RC_SUCCESS) { in Exec_PolicyPCR() 55 if (result != TPM_RC_SUCCESS) { in Exec_PolicyPCR() 66 return TPM_RC_SUCCESS; in Exec_PolicyPCR()
|
D | Marshal_FieldUpgradeStart.c | 14 TPM_RC result = TPM_RC_SUCCESS; in FieldUpgradeStart_In_Unmarshal() 20 if (result != TPM_RC_SUCCESS) { in FieldUpgradeStart_In_Unmarshal() 24 if (result != TPM_RC_SUCCESS) { in FieldUpgradeStart_In_Unmarshal() 27 if ((result == TPM_RC_SUCCESS) && *size) { in FieldUpgradeStart_In_Unmarshal() 39 TPM_RC result = TPM_RC_SUCCESS; in Exec_FieldUpgradeStart() 51 if (result != TPM_RC_SUCCESS) { in Exec_FieldUpgradeStart() 56 if (result != TPM_RC_SUCCESS) { in Exec_FieldUpgradeStart() 67 return TPM_RC_SUCCESS; in Exec_FieldUpgradeStart()
|
D | Marshal_NV_Write.c | 14 TPM_RC result = TPM_RC_SUCCESS; in NV_Write_In_Unmarshal() 20 if (result != TPM_RC_SUCCESS) { in NV_Write_In_Unmarshal() 24 if (result != TPM_RC_SUCCESS) { in NV_Write_In_Unmarshal() 27 if ((result == TPM_RC_SUCCESS) && *size) { in NV_Write_In_Unmarshal() 39 TPM_RC result = TPM_RC_SUCCESS; in Exec_NV_Write() 50 if (result != TPM_RC_SUCCESS) { in Exec_NV_Write() 55 if (result != TPM_RC_SUCCESS) { in Exec_NV_Write() 66 return TPM_RC_SUCCESS; in Exec_NV_Write()
|
D | Marshal_SetPrimaryPolicy.c | 14 TPM_RC result = TPM_RC_SUCCESS; in SetPrimaryPolicy_In_Unmarshal() 19 if (result != TPM_RC_SUCCESS) { in SetPrimaryPolicy_In_Unmarshal() 23 if (result != TPM_RC_SUCCESS) { in SetPrimaryPolicy_In_Unmarshal() 26 if ((result == TPM_RC_SUCCESS) && *size) { in SetPrimaryPolicy_In_Unmarshal() 38 TPM_RC result = TPM_RC_SUCCESS; in Exec_SetPrimaryPolicy() 50 if (result != TPM_RC_SUCCESS) { in Exec_SetPrimaryPolicy() 55 if (result != TPM_RC_SUCCESS) { in Exec_SetPrimaryPolicy() 66 return TPM_RC_SUCCESS; in Exec_SetPrimaryPolicy()
|
D | Marshal_PCR_SetAuthPolicy.c | 14 TPM_RC result = TPM_RC_SUCCESS; in PCR_SetAuthPolicy_In_Unmarshal() 20 if (result != TPM_RC_SUCCESS) { in PCR_SetAuthPolicy_In_Unmarshal() 24 if (result != TPM_RC_SUCCESS) { in PCR_SetAuthPolicy_In_Unmarshal() 27 if ((result == TPM_RC_SUCCESS) && *size) { in PCR_SetAuthPolicy_In_Unmarshal() 39 TPM_RC result = TPM_RC_SUCCESS; in Exec_PCR_SetAuthPolicy() 51 if (result != TPM_RC_SUCCESS) { in Exec_PCR_SetAuthPolicy() 56 if (result != TPM_RC_SUCCESS) { in Exec_PCR_SetAuthPolicy() 67 return TPM_RC_SUCCESS; in Exec_PCR_SetAuthPolicy()
|
D | Marshal_HierarchyControl.c | 14 TPM_RC result = TPM_RC_SUCCESS; in HierarchyControl_In_Unmarshal() 19 if (result != TPM_RC_SUCCESS) { in HierarchyControl_In_Unmarshal() 23 if (result != TPM_RC_SUCCESS) { in HierarchyControl_In_Unmarshal() 26 if ((result == TPM_RC_SUCCESS) && *size) { in HierarchyControl_In_Unmarshal() 38 TPM_RC result = TPM_RC_SUCCESS; in Exec_HierarchyControl() 50 if (result != TPM_RC_SUCCESS) { in Exec_HierarchyControl() 55 if (result != TPM_RC_SUCCESS) { in Exec_HierarchyControl() 66 return TPM_RC_SUCCESS; in Exec_HierarchyControl()
|
D | Marshal_Create.c | 46 TPM_RC result = TPM_RC_SUCCESS; in Create_In_Unmarshal() 51 if (result != TPM_RC_SUCCESS) { in Create_In_Unmarshal() 55 if (result != TPM_RC_SUCCESS) { in Create_In_Unmarshal() 59 if (result != TPM_RC_SUCCESS) { in Create_In_Unmarshal() 63 if (result != TPM_RC_SUCCESS) { in Create_In_Unmarshal() 66 if ((result == TPM_RC_SUCCESS) && *size) { in Create_In_Unmarshal() 78 TPM_RC result = TPM_RC_SUCCESS; in Exec_Create() 92 if (result != TPM_RC_SUCCESS) { in Exec_Create() 97 if (result != TPM_RC_SUCCESS) { in Exec_Create() 109 return TPM_RC_SUCCESS; in Exec_Create()
|