/external/tpm2/ |
Marshal_CreatePrimary.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_PUBLIC_Marshal(&source->outPublic, buffer, size); 30 total_size += 32 total_size += TPM2B_DIGEST_Marshal(&source->creationHash, buffer, size); 33 total_size += TPMT_TK_CREATION_Marshal(&source->creationTicket, buffer, size); 34 total_size += TPM2B_NAME_Marshal(&source->name, buffer, size); 35 // Compute actual parameter_size. Don't add result to total_size. 37 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE) [all...] |
Marshal_Create.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 total_size += TPM2B_PUBLIC_Marshal(&source->outPublic, buffer, size); 29 total_size += 31 total_size += TPM2B_DIGEST_Marshal(&source->creationHash, buffer, size); 32 total_size += TPMT_TK_CREATION_Marshal(&source->creationTicket, buffer, size); 33 // Compute actual parameter_size. Don't add result to total_size. 35 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 39 return total_size; [all...] |
Marshal_GetTestResult.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->outData, buffer, size); 28 total_size += TPM_RC_Marshal(&source->testResult, 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_Commit.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->K, buffer, size); 28 total_size += TPM2B_ECC_POINT_Marshal(&source->L, buffer, size); 29 total_size += TPM2B_ECC_POINT_Marshal(&source->E, buffer, size); 30 total_size += UINT16_Marshal(&source->counter, 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_PCR_Allocate.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPMI_YES_NO_Marshal(&source->allocationSuccess, buffer, size); 28 total_size += UINT32_Marshal(&source->maxPCR, buffer, size); 29 total_size += UINT32_Marshal(&source->sizeNeeded, buffer, size); 30 total_size += UINT32_Marshal(&source->sizeAvailable, 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_ContextSave.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPMS_CONTEXT_Marshal(&source->context, 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_PolicyGetDigest.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->policyDigest, 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_ReadClock.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPMS_TIME_INFO_Marshal(&source->currentTime, 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_Unseal.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPM2B_SENSITIVE_DATA_Marshal(&source->outData, 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_Duplicate.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPM2B_DATA_Marshal(&source->encryptionKeyOut, buffer, size); 28 total_size += TPM2B_PRIVATE_Marshal(&source->duplicate, buffer, size); 29 total_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_PCR_Read.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += UINT32_Marshal(&source->pcrUpdateCounter, buffer, size); 28 total_size += 30 total_size += TPML_DIGEST_Marshal(&source->pcrValues, 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_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_PUBLIC_Marshal(&source->outPublic, buffer, size); 28 total_size += TPM2B_NAME_Marshal(&source->name, buffer, size); 29 total_size += TPM2B_NAME_Marshal(&source->qualifiedName, 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;
|
tpm_generated.c | 442 UINT16 total_size = 0; local 444 total_size += UINT16_Marshal(&source->t.size, buffer, size); 446 total_size += BYTE_Marshal(&source->t.attestationData[i], buffer, size); 448 return total_size; 476 UINT16 total_size = 0; local 478 total_size += UINT16_Marshal(&source->t.size, buffer, size); 480 total_size += BYTE_Marshal(&source->t.buffer[i], buffer, size); 482 return total_size; 520 UINT16 total_size = 0; local 522 total_size += UINT16_Marshal(&source->t.size, buffer, size) 556 UINT16 total_size = 0; local 783 UINT16 total_size = 0; local 832 UINT16 total_size = 0; local 921 UINT16 total_size = 0; local 970 UINT16 total_size = 0; local 1005 UINT16 total_size = 0; local 1054 UINT16 total_size = 0; local 1094 UINT16 total_size = 0; local 1130 UINT16 total_size = 0; local 1166 UINT16 total_size = 0; local 1190 UINT16 total_size = 0; local 1229 UINT16 total_size = 0; local 1263 UINT16 total_size = 0; local 1297 UINT16 total_size = 0; local 1331 UINT16 total_size = 0; local 1365 UINT16 total_size = 0; local 1401 UINT16 total_size = 0; local 1488 UINT16 total_size = 0; local 1530 UINT16 total_size = 0; local 1581 UINT16 total_size = 0; local 1617 UINT16 total_size = 0; local 1654 UINT16 total_size = 0; local 1756 UINT16 total_size = 0; local 2156 UINT16 total_size = 0; local 2231 UINT16 total_size = 0; local 2286 UINT16 total_size = 0; local 2368 UINT16 total_size = 0; local 2532 UINT16 total_size = 0; local 2588 UINT16 total_size = 0; local 2622 UINT16 total_size = 0; local 2700 UINT16 total_size = 0; local 2726 UINT16 total_size = 0; local 2903 UINT16 total_size = 0; local 2976 UINT16 total_size = 0; local 3032 UINT16 total_size = 0; local 3113 UINT16 total_size = 0; local 3183 UINT16 total_size = 0; local 3211 UINT16 total_size = 0; local 3286 UINT16 total_size = 0; local 3330 UINT16 total_size = 0; local 3369 UINT16 total_size = 0; local 3405 UINT16 total_size = 0; local 3498 UINT16 total_size = 0; local 3534 UINT16 total_size = 0; local 3561 UINT16 total_size = 0; local 3585 UINT16 total_size = 0; local 3625 UINT16 total_size = 0; local 4580 UINT16 total_size = 0; local 4611 UINT16 total_size = 0; local 4635 UINT16 total_size = 0; local 5241 UINT16 total_size = 0; local 5270 UINT16 total_size = 0; local 5299 UINT16 total_size = 0; local 5335 UINT16 total_size = 0; local 5463 UINT16 total_size = 0; local 5485 UINT16 total_size = 0; local 5562 UINT16 total_size = 0; local 5601 UINT16 total_size = 0; local 5852 UINT16 total_size = 0; local 5893 UINT16 total_size = 0; local 5928 UINT16 total_size = 0; local 5952 UINT16 total_size = 0; local 5987 UINT16 total_size = 0; local 6011 UINT16 total_size = 0; local 6108 UINT16 total_size = 0; local 6132 UINT16 total_size = 0; local 6166 UINT16 total_size = 0; local 6190 UINT16 total_size = 0; local 6214 UINT16 total_size = 0; local 6238 UINT16 total_size = 0; local 6272 UINT16 total_size = 0; local 6296 UINT16 total_size = 0; local 6320 UINT16 total_size = 0; local 6407 UINT16 total_size = 0; local 6455 UINT16 total_size = 0; local 6491 UINT16 total_size = 0; local 6634 UINT16 total_size = 0; local 6658 UINT16 total_size = 0; local 6692 UINT16 total_size = 0; local 6717 UINT16 total_size = 0; local 6753 UINT16 total_size = 0; local 6818 UINT16 total_size = 0; local 6878 UINT16 total_size = 0; local 6904 UINT16 total_size = 0; local 7024 UINT16 total_size = 0; local 7146 UINT16 total_size = 0; local 7170 UINT16 total_size = 0; local 7265 UINT16 total_size = 0; local 7294 UINT16 total_size = 0; local 7323 UINT16 total_size = 0; local 7352 UINT16 total_size = 0; local 8374 UINT16 total_size = 0; local 8394 UINT16 total_size = 0; local [all...] |
Marshal_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_CertifyCreation.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_ECDH_KeyGen.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->zPoint, buffer, size); 28 total_size += TPM2B_ECC_POINT_Marshal(&source->pubPoint, 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_EC_Ephemeral.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->Q, buffer, size); 28 total_size += UINT16_Marshal(&source->counter, 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_EncryptDecrypt.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->outData, buffer, size); 28 total_size += TPM2B_IV_Marshal(&source->ivOut, 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_FieldUpgradeData.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPMT_HA_Marshal(&source->nextDigest, buffer, size); 28 total_size += TPMT_HA_Marshal(&source->firstDigest, 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_GetCapability.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPMI_YES_NO_Marshal(&source->moreData, 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_GetCommandAuditDigest.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->auditInfo, 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_GetSessionAuditDigest.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->auditInfo, 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_GetTime.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->timeInfo, 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_Hash.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->outHash, 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_Load.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;
|