HomeSort by relevance Sort by last modified time
    Searched full:total_size (Results 26 - 50 of 360) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/tpm2/
Marshal_LoadExternal.c 14 UINT16 total_size = 0; local
20 total_size += TPM_HANDLE_Marshal(&source->objectHandle, buffer, size);
25 // Don't add to total_size, but increment *buffer and decrement *size.
29 total_size += TPM2B_NAME_Marshal(&source->name, buffer, size);
30 // Compute actual parameter_size. Don't add result to total_size.
32 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
36 return total_size;
Marshal_MakeCredential.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_ID_OBJECT_Marshal(&source->credentialBlob, buffer, size);
28 total_size += TPM2B_ENCRYPTED_SECRET_Marshal(&source->secret, buffer, size);
29 // Compute actual parameter_size. Don't add result to total_size.
31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
35 return total_size;
Marshal_NV_Certify.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_ATTEST_Marshal(&source->certifyInfo, buffer, size);
28 total_size += TPMT_SIGNATURE_Marshal(&source->signature, buffer, size);
29 // Compute actual parameter_size. Don't add result to total_size.
31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
35 return total_size;
Marshal_NV_ReadPublic.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_NV_PUBLIC_Marshal(&source->nvPublic, buffer, size);
28 total_size += TPM2B_NAME_Marshal(&source->nvName, buffer, size);
29 // Compute actual parameter_size. Don't add result to total_size.
31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
35 return total_size;
Marshal_PolicySecret.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_TIMEOUT_Marshal(&source->timeout, buffer, size);
28 total_size += TPMT_TK_AUTH_Marshal(&source->policyTicket, buffer, size);
29 // Compute actual parameter_size. Don't add result to total_size.
31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
35 return total_size;
Marshal_PolicySigned.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_TIMEOUT_Marshal(&source->timeout, buffer, size);
28 total_size += TPMT_TK_AUTH_Marshal(&source->policyTicket, buffer, size);
29 // Compute actual parameter_size. Don't add result to total_size.
31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
35 return total_size;
Marshal_Quote.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_ATTEST_Marshal(&source->quoted, buffer, size);
28 total_size += TPMT_SIGNATURE_Marshal(&source->signature, buffer, size);
29 // Compute actual parameter_size. Don't add result to total_size.
31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
35 return total_size;
Marshal_Rewrap.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_PRIVATE_Marshal(&source->outDuplicate, buffer, size);
28 total_size +=
30 // Compute actual parameter_size. Don't add result to total_size.
32 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
36 return total_size;
Marshal_SequenceComplete.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_DIGEST_Marshal(&source->result, buffer, size);
28 total_size += TPMT_TK_HASHCHECK_Marshal(&source->validation, buffer, size);
29 // Compute actual parameter_size. Don't add result to total_size.
31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
35 return total_size;
Marshal_StartAuthSession.c 14 UINT16 total_size = 0; local
20 total_size +=
26 // Don't add to total_size, but increment *buffer and decrement *size.
30 total_size += TPM2B_NONCE_Marshal(&source->nonceTPM, buffer, size);
31 // Compute actual parameter_size. Don't add result to total_size.
33 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
37 return total_size;
Marshal_ZGen_2Phase.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_ECC_POINT_Marshal(&source->outZ1, buffer, size);
28 total_size += TPM2B_ECC_POINT_Marshal(&source->outZ2, buffer, size);
29 // Compute actual parameter_size. Don't add result to total_size.
31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
35 return total_size;
Marshal_ActivateCredential.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_DIGEST_Marshal(&source->certInfo, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_ContextLoad.c 14 UINT16 total_size = 0; local
20 total_size += TPMI_DH_CONTEXT_Marshal(&source->loadedHandle, buffer, size);
25 // Don't add to total_size, but increment *buffer and decrement *size.
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_ECC_Parameters.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size +=
29 // Compute actual parameter_size. Don't add result to total_size.
31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
35 return total_size;
Marshal_ECDH_ZGen.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_ECC_POINT_Marshal(&source->outPoint, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_EventSequenceComplete.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPML_DIGEST_VALUES_Marshal(&source->results, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_FirmwareRead.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_MAX_BUFFER_Marshal(&source->fuData, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_GetRandom.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_DIGEST_Marshal(&source->randomBytes, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_HMAC.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_DIGEST_Marshal(&source->outHMAC, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_HMAC_Start.c 14 UINT16 total_size = 0; local
20 total_size += TPMI_DH_OBJECT_Marshal(&source->sequenceHandle, buffer, size);
25 // Don't add to total_size, but increment *buffer and decrement *size.
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_HashSequenceStart.c 14 UINT16 total_size = 0; local
20 total_size += TPMI_DH_OBJECT_Marshal(&source->sequenceHandle, buffer, size);
25 // Don't add to total_size, but increment *buffer and decrement *size.
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_Import.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_PRIVATE_Marshal(&source->outPrivate, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_IncrementalSelfTest.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPML_ALG_Marshal(&source->toDoList, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
Marshal_NV_Read.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_MAX_NV_BUFFER_Marshal(&source->data, buffer, size);
28 // Compute actual parameter_size. Don't add result to total_size.
30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE);
34 return total_size;
  /external/vboot_reference/host/lib21/
host_fw_preamble.c 49 hash_next += hash_list[i]->c.total_size;
56 fp.c.total_size = fp.sig_offset + sig_size;
59 buf = calloc(fp.c.total_size, 1);
70 hash_list[i]->c.total_size);
71 hash_next += hash_list[i]->c.total_size;

Completed in 659 milliseconds

12 3 4 5 6 7 8 91011>>