/external/tpm2/ |
Marshal_ChangeEPS.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 17 if ((result == TPM_RC_SUCCESS) && *size) { 18 result = TPM_RC_SIZE; 20 return result; 29 TPM_RC result = TPM_RC_SUCCESS; local 38 result = 41 if (result != TPM_RC_SUCCESS) { 42 return result; 45 result = TPM2_ChangeEPS(&in); 46 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_ChangePPS.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 17 if ((result == TPM_RC_SUCCESS) && *size) { 18 result = TPM_RC_SIZE; 20 return result; 29 TPM_RC result = TPM_RC_SUCCESS; local 38 result = 41 if (result != TPM_RC_SUCCESS) { 42 return result; 45 result = TPM2_ChangePPS(&in); 46 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_Clear.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 17 if ((result == TPM_RC_SUCCESS) && *size) { 18 result = TPM_RC_SIZE; 20 return result; 29 TPM_RC result = TPM_RC_SUCCESS; local 38 result = Clear_In_Unmarshal(&in, request_handles, request_parameter_buffer, 40 if (result != TPM_RC_SUCCESS) { 41 return result; 44 result = TPM2_Clear(&in); 45 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_ClearControl.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 18 result = TPMI_YES_NO_Unmarshal(&target->disable, buffer, size); 19 if (result != TPM_RC_SUCCESS) { 20 return result; 22 if ((result == TPM_RC_SUCCESS) && *size) { 23 result = TPM_RC_SIZE; 25 return result; 34 TPM_RC result = TPM_RC_SUCCESS; local 43 result = 46 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_ClockRateAdjust.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 18 result = TPM_CLOCK_ADJUST_Unmarshal(&target->rateAdjust, buffer, size); 19 if (result != TPM_RC_SUCCESS) { 20 return result; 22 if ((result == TPM_RC_SUCCESS) && *size) { 23 result = TPM_RC_SIZE; 25 return result; 34 TPM_RC result = TPM_RC_SUCCESS; local 43 result = ClockRateAdjust_In_Unmarshal(&in, request_handles, 46 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_ClockSet.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 18 result = UINT64_Unmarshal(&target->newTime, buffer, size); 19 if (result != TPM_RC_SUCCESS) { 20 return result; 22 if ((result == TPM_RC_SUCCESS) && *size) { 23 result = TPM_RC_SIZE; 25 return result; 34 TPM_RC result = TPM_RC_SUCCESS; local 43 result = ClockSet_In_Unmarshal(&in, request_handles, request_parameter_buffer, 45 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_DictionaryAttackLockReset.c | 15 TPM_RC result = TPM_RC_SUCCESS; local 18 if ((result == TPM_RC_SUCCESS) && *size) { 19 result = TPM_RC_SIZE; 21 return result; 30 TPM_RC result = TPM_RC_SUCCESS; local 39 result = DictionaryAttackLockReset_In_Unmarshal( 42 if (result != TPM_RC_SUCCESS) { 43 return result; 46 result = TPM2_DictionaryAttackLockReset(&in); 47 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_DictionaryAttackParameters.c | 15 TPM_RC result = TPM_RC_SUCCESS; local 19 result = UINT32_Unmarshal(&target->newMaxTries, buffer, size); 20 if (result != TPM_RC_SUCCESS) { 21 return result; 23 result = UINT32_Unmarshal(&target->newRecoveryTime, buffer, size); 24 if (result != TPM_RC_SUCCESS) { 25 return result; 27 result = UINT32_Unmarshal(&target->lockoutRecovery, buffer, size); 28 if (result != TPM_RC_SUCCESS) { 29 return result; 43 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_EvictControl.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 19 result = 21 if (result != TPM_RC_SUCCESS) { 22 return result; 24 if ((result == TPM_RC_SUCCESS) && *size) { 25 result = TPM_RC_SIZE; 27 return result; 36 TPM_RC result = TPM_RC_SUCCESS; local 45 result = 48 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_FieldUpgradeStart.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 19 result = TPM2B_DIGEST_Unmarshal(&target->fuDigest, buffer, size); 20 if (result != TPM_RC_SUCCESS) { 21 return result; 23 result = TPMT_SIGNATURE_Unmarshal(&target->manifestSignature, buffer, size); 24 if (result != TPM_RC_SUCCESS) { 25 return result; 27 if ((result == TPM_RC_SUCCESS) && *size) { 28 result = TPM_RC_SIZE; 30 return result; 39 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_FlushContext.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 16 result = TPMI_DH_CONTEXT_Unmarshal(&target->flushHandle, buffer, size); 17 if (result != TPM_RC_SUCCESS) { 18 return result; 20 if ((result == TPM_RC_SUCCESS) && *size) { 21 result = TPM_RC_SIZE; 23 return result; 32 TPM_RC result = TPM_RC_SUCCESS; local 41 result = 44 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_HierarchyChangeAuth.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 18 result = TPM2B_AUTH_Unmarshal(&target->newAuth, buffer, size); 19 if (result != TPM_RC_SUCCESS) { 20 return result; 22 if ((result == TPM_RC_SUCCESS) && *size) { 23 result = TPM_RC_SIZE; 25 return result; 34 TPM_RC result = TPM_RC_SUCCESS; local 43 result = HierarchyChangeAuth_In_Unmarshal(&in, request_handles, 46 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_HierarchyControl.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 18 result = TPMI_RH_ENABLES_Unmarshal(&target->enable, buffer, size, FALSE); 19 if (result != TPM_RC_SUCCESS) { 20 return result; 22 result = TPMI_YES_NO_Unmarshal(&target->state, buffer, size); 23 if (result != TPM_RC_SUCCESS) { 24 return result; 26 if ((result == TPM_RC_SUCCESS) && *size) { 27 result = TPM_RC_SIZE; 29 return result; 38 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_NV_ChangeAuth.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 18 result = TPM2B_AUTH_Unmarshal(&target->newAuth, buffer, size); 19 if (result != TPM_RC_SUCCESS) { 20 return result; 22 if ((result == TPM_RC_SUCCESS) && *size) { 23 result = TPM_RC_SIZE; 25 return result; 34 TPM_RC result = TPM_RC_SUCCESS; local 43 result = 46 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_NV_DefineSpace.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 18 result = TPM2B_AUTH_Unmarshal(&target->auth, buffer, size); 19 if (result != TPM_RC_SUCCESS) { 20 return result; 22 result = TPM2B_NV_PUBLIC_Unmarshal(&target->publicInfo, buffer, size); 23 if (result != TPM_RC_SUCCESS) { 24 return result; 26 if ((result == TPM_RC_SUCCESS) && *size) { 27 result = TPM_RC_SIZE; 29 return result; 38 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_NV_Extend.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 19 result = TPM2B_MAX_NV_BUFFER_Unmarshal(&target->data, buffer, size); 20 if (result != TPM_RC_SUCCESS) { 21 return result; 23 if ((result == TPM_RC_SUCCESS) && *size) { 24 result = TPM_RC_SIZE; 26 return result; 35 TPM_RC result = TPM_RC_SUCCESS; local 44 result = 47 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_NV_GlobalWriteLock.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 17 if ((result == TPM_RC_SUCCESS) && *size) { 18 result = TPM_RC_SIZE; 20 return result; 29 TPM_RC result = TPM_RC_SUCCESS; local 38 result = NV_GlobalWriteLock_In_Unmarshal(&in, request_handles, 41 if (result != TPM_RC_SUCCESS) { 42 return result; 45 result = TPM2_NV_GlobalWriteLock(&in); 46 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_NV_Increment.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 18 if ((result == TPM_RC_SUCCESS) && *size) { 19 result = TPM_RC_SIZE; 21 return result; 30 TPM_RC result = TPM_RC_SUCCESS; local 39 result = 42 if (result != TPM_RC_SUCCESS) { 43 return result; 46 result = TPM2_NV_Increment(&in); 47 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_NV_ReadLock.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 18 if ((result == TPM_RC_SUCCESS) && *size) { 19 result = TPM_RC_SIZE; 21 return result; 30 TPM_RC result = TPM_RC_SUCCESS; local 39 result = 42 if (result != TPM_RC_SUCCESS) { 43 return result; 46 result = TPM2_NV_ReadLock(&in); 47 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_NV_SetBits.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 19 result = UINT64_Unmarshal(&target->bits, buffer, size); 20 if (result != TPM_RC_SUCCESS) { 21 return result; 23 if ((result == TPM_RC_SUCCESS) && *size) { 24 result = TPM_RC_SIZE; 26 return result; 35 TPM_RC result = TPM_RC_SUCCESS; local 44 result = 47 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_NV_UndefineSpace.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 18 if ((result == TPM_RC_SUCCESS) && *size) { 19 result = TPM_RC_SIZE; 21 return result; 30 TPM_RC result = TPM_RC_SUCCESS; local 39 result = NV_UndefineSpace_In_Unmarshal(&in, request_handles, 42 if (result != TPM_RC_SUCCESS) { 43 return result; 46 result = TPM2_NV_UndefineSpace(&in); 47 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_NV_UndefineSpaceSpecial.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 18 if ((result == TPM_RC_SUCCESS) && *size) { 19 result = TPM_RC_SIZE; 21 return result; 30 TPM_RC result = TPM_RC_SUCCESS; local 39 result = NV_UndefineSpaceSpecial_In_Unmarshal(&in, request_handles, 42 if (result != TPM_RC_SUCCESS) { 43 return result; 46 result = TPM2_NV_UndefineSpaceSpecial(&in); 47 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_NV_Write.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 19 result = TPM2B_MAX_NV_BUFFER_Unmarshal(&target->data, buffer, size); 20 if (result != TPM_RC_SUCCESS) { 21 return result; 23 result = UINT16_Unmarshal(&target->offset, buffer, size); 24 if (result != TPM_RC_SUCCESS) { 25 return result; 27 if ((result == TPM_RC_SUCCESS) && *size) { 28 result = TPM_RC_SIZE; 30 return result; 39 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_NV_WriteLock.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 18 if ((result == TPM_RC_SUCCESS) && *size) { 19 result = TPM_RC_SIZE; 21 return result; 30 TPM_RC result = TPM_RC_SUCCESS; local 39 result = 42 if (result != TPM_RC_SUCCESS) { 43 return result; 46 result = TPM2_NV_WriteLock(&in); 47 if (result != TPM_RC_SUCCESS) [all...] |
Marshal_PCR_Extend.c | 14 TPM_RC result = TPM_RC_SUCCESS; local 18 result = TPML_DIGEST_VALUES_Unmarshal(&target->digests, buffer, size); 19 if (result != TPM_RC_SUCCESS) { 20 return result; 22 if ((result == TPM_RC_SUCCESS) && *size) { 23 result = TPM_RC_SIZE; 25 return result; 34 TPM_RC result = TPM_RC_SUCCESS; local 43 result = 46 if (result != TPM_RC_SUCCESS) [all...] |