Home
last modified time | relevance | path

Searched refs:TPM_RC_SUCCESS (Results 1 – 25 of 230) sorted by relevance

12345678910

/external/tpm2/
DHandleProcess.c17 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 …]
Dtpm_generated.c54 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 …]
DMarshal_PolicyTicket.c14 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 …]
DMarshal_PolicyAuthorize.c14 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()
DMarshal_Import.c41 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 …]
DMarshal_PolicyDuplicationSelect.c14 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()
DMarshal_SetCommandCodeAuditStatus.c15 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()
DMarshal_PolicyNV.c14 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()
DMarshal_PolicyCounterTimer.c14 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()
DMarshal_DictionaryAttackParameters.c15 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()
DMarshal_PolicySigned.c42 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 …]
DMarshal_StartAuthSession.c44 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 …]
DMarshal_PolicySecret.c42 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()
DMarshal_ZGen_2Phase.c42 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()
DMarshal_CertifyCreation.c42 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()
DMarshal_EncryptDecrypt.c42 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()
DMarshal_PP_Commands.c14 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()
DMarshal_NV_DefineSpace.c14 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()
DMarshal_PolicyPCR.c14 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()
DMarshal_FieldUpgradeStart.c14 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()
DMarshal_NV_Write.c14 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()
DMarshal_SetPrimaryPolicy.c14 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()
DMarshal_PCR_SetAuthPolicy.c14 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()
DMarshal_HierarchyControl.c14 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()
DMarshal_Create.c46 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()

12345678910