/external/tpm2/ |
Marshal_GetCommandAuditDigest.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 47 result = TPM2B_DATA_Unmarshal(&target->qualifyingData, buffer, size); 48 if (result != TPM_RC_SUCCESS) { 49 return result; 51 result = TPMT_SIG_SCHEME_Unmarshal(&target->inScheme, buffer, size); 52 if (result != TPM_RC_SUCCESS) { 53 return result; 55 if ((result == TPM_RC_SUCCESS) && *size) { 56 result = TPM_RC_SIZE 67 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_GetRandom.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 43 result = UINT16_Unmarshal(&target->bytesRequested, buffer, size); 44 if (result != TPM_RC_SUCCESS) { 45 return result; 47 if ((result == TPM_RC_SUCCESS) && *size) { 48 result = TPM_RC_SIZE; 50 return result; 59 TPM_RC result = TPM_RC_SUCCESS; local 71 result [all...] |
Marshal_GetSessionAuditDigest.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 48 result = TPM2B_DATA_Unmarshal(&target->qualifyingData, buffer, size); 49 if (result != TPM_RC_SUCCESS) { 50 return result; 52 result = TPMT_SIG_SCHEME_Unmarshal(&target->inScheme, buffer, size); 53 if (result != TPM_RC_SUCCESS) { 54 return result; 56 if ((result == TPM_RC_SUCCESS) && *size) { 57 result = TPM_RC_SIZE 68 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_GetTestResult.c | 29 // Compute actual parameter_size. Don't add result to total_size. 44 TPM_RC result = TPM_RC_SUCCESS; local 55 result = TPM2_GetTestResult(&out); 56 if (result != TPM_RC_SUCCESS) { 57 return result;
|
Marshal_GetTime.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 47 result = TPM2B_DATA_Unmarshal(&target->qualifyingData, buffer, size); 48 if (result != TPM_RC_SUCCESS) { 49 return result; 51 result = TPMT_SIG_SCHEME_Unmarshal(&target->inScheme, buffer, size); 52 if (result != TPM_RC_SUCCESS) { 53 return result; 55 if ((result == TPM_RC_SUCCESS) && *size) { 56 result = TPM_RC_SIZE 67 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_HMAC.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 45 result = TPM2B_MAX_BUFFER_Unmarshal(&target->buffer, buffer, size); 46 if (result != TPM_RC_SUCCESS) { 47 return result; 49 result = TPMI_ALG_HASH_Unmarshal(&target->hashAlg, buffer, size, TRUE); 50 if (result != TPM_RC_SUCCESS) { 51 return result; 53 if ((result == TPM_RC_SUCCESS) && *size) { 54 result = TPM_RC_SIZE 65 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_HMAC_Start.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 45 result = TPM2B_AUTH_Unmarshal(&target->auth, buffer, size); 46 if (result != TPM_RC_SUCCESS) { 47 return result; 49 result = TPMI_ALG_HASH_Unmarshal(&target->hashAlg, buffer, size, TRUE); 50 if (result != TPM_RC_SUCCESS) { 51 return result; 53 if ((result == TPM_RC_SUCCESS) && *size) { 54 result = TPM_RC_SIZE 65 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_Hash.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 44 result = TPM2B_MAX_BUFFER_Unmarshal(&target->data, buffer, size); 45 if (result != TPM_RC_SUCCESS) { 46 return result; 48 result = TPMI_ALG_HASH_Unmarshal(&target->hashAlg, buffer, size, FALSE); 49 if (result != TPM_RC_SUCCESS) { 50 return result; 52 result = TPMI_RH_HIERARCHY_Unmarshal(&target->hierarchy, buffer, size, TRUE); 53 if (result != TPM_RC_SUCCESS) 68 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_HashSequenceStart.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 43 result = TPM2B_AUTH_Unmarshal(&target->auth, buffer, size); 44 if (result != TPM_RC_SUCCESS) { 45 return result; 47 result = TPMI_ALG_HASH_Unmarshal(&target->hashAlg, buffer, size, TRUE); 48 if (result != TPM_RC_SUCCESS) { 49 return result; 51 if ((result == TPM_RC_SUCCESS) && *size) { 52 result = TPM_RC_SIZE 63 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_Import.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 45 result = TPM2B_DATA_Unmarshal(&target->encryptionKey, buffer, size); 46 if (result != TPM_RC_SUCCESS) { 47 return result; 49 result = TPM2B_PUBLIC_Unmarshal(&target->objectPublic, buffer, size); 50 if (result != TPM_RC_SUCCESS) { 51 return result; 53 result = TPM2B_PRIVATE_Unmarshal(&target->duplicate, buffer, size); 54 if (result != TPM_RC_SUCCESS) 77 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_IncrementalSelfTest.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 43 result = TPML_ALG_Unmarshal(&target->toTest, buffer, size); 44 if (result != TPM_RC_SUCCESS) { 45 return result; 47 if ((result == TPM_RC_SUCCESS) && *size) { 48 result = TPM_RC_SIZE; 50 return result; 59 TPM_RC result = TPM_RC_SUCCESS; local 71 result = IncrementalSelfTest_In_Unmarshal(&in, request_handles [all...] |
Marshal_Load.c | 30 // Compute actual parameter_size. Don't add result to total_size. 43 TPM_RC result = TPM_RC_SUCCESS; local 47 result = TPM2B_PRIVATE_Unmarshal(&target->inPrivate, buffer, size); 48 if (result != TPM_RC_SUCCESS) { 49 return result; 51 result = TPM2B_PUBLIC_Unmarshal(&target->inPublic, buffer, size); 52 if (result != TPM_RC_SUCCESS) { 53 return result; 55 if ((result == TPM_RC_SUCCESS) && *size) { 56 result = TPM_RC_SIZE 67 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_LoadExternal.c | 30 // Compute actual parameter_size. Don't add result to total_size. 43 TPM_RC result = TPM_RC_SUCCESS; local 45 result = TPM2B_SENSITIVE_Unmarshal(&target->inPrivate, buffer, size); 46 if (result != TPM_RC_SUCCESS) { 47 return result; 49 result = TPM2B_PUBLIC_Unmarshal(&target->inPublic, buffer, size); 50 if (result != TPM_RC_SUCCESS) { 51 return result; 53 result = TPMI_RH_HIERARCHY_Unmarshal(&target->hierarchy, buffer, size, TRUE); 54 if (result != TPM_RC_SUCCESS) 69 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_MakeCredential.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 46 result = TPM2B_DIGEST_Unmarshal(&target->credential, buffer, size); 47 if (result != TPM_RC_SUCCESS) { 48 return result; 50 result = TPM2B_NAME_Unmarshal(&target->objectName, buffer, size); 51 if (result != TPM_RC_SUCCESS) { 52 return result; 54 if ((result == TPM_RC_SUCCESS) && *size) { 55 result = TPM_RC_SIZE 66 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_NV_Certify.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 48 result = TPM2B_DATA_Unmarshal(&target->qualifyingData, buffer, size); 49 if (result != TPM_RC_SUCCESS) { 50 return result; 52 result = TPMT_SIG_SCHEME_Unmarshal(&target->inScheme, buffer, size); 53 if (result != TPM_RC_SUCCESS) { 54 return result; 56 result = UINT16_Unmarshal(&target->size, buffer, size); 57 if (result != TPM_RC_SUCCESS) 76 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_NV_Read.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 46 result = UINT16_Unmarshal(&target->size, buffer, size); 47 if (result != TPM_RC_SUCCESS) { 48 return result; 50 result = UINT16_Unmarshal(&target->offset, buffer, size); 51 if (result != TPM_RC_SUCCESS) { 52 return result; 54 if ((result == TPM_RC_SUCCESS) && *size) { 55 result = TPM_RC_SIZE 66 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_NV_ReadPublic.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 45 if ((result == TPM_RC_SUCCESS) && *size) { 46 result = TPM_RC_SIZE; 48 return result; 57 TPM_RC result = TPM_RC_SUCCESS; local 69 result = 72 if (result != TPM_RC_SUCCESS) { 73 return result; 76 result = TPM2_NV_ReadPublic(&in, &out) [all...] |
Marshal_ObjectChangeAuth.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 46 result = TPM2B_AUTH_Unmarshal(&target->newAuth, buffer, size); 47 if (result != TPM_RC_SUCCESS) { 48 return result; 50 if ((result == TPM_RC_SUCCESS) && *size) { 51 result = TPM_RC_SIZE; 53 return result; 62 TPM_RC result = TPM_RC_SUCCESS; local 74 result = ObjectChangeAuth_In_Unmarshal(&in, request_handles [all...] |
Marshal_PCR_Allocate.c | 31 // Compute actual parameter_size. Don't add result to total_size. 44 TPM_RC result = TPM_RC_SUCCESS; local 48 result = TPML_PCR_SELECTION_Unmarshal(&target->pcrAllocation, buffer, size); 49 if (result != TPM_RC_SUCCESS) { 50 return result; 52 if ((result == TPM_RC_SUCCESS) && *size) { 53 result = TPM_RC_SIZE; 55 return result; 64 TPM_RC result = TPM_RC_SUCCESS; local 76 result [all...] |
Marshal_PCR_Event.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 45 result = TPM2B_EVENT_Unmarshal(&target->eventData, buffer, size); 46 if (result != TPM_RC_SUCCESS) { 47 return result; 49 if ((result == TPM_RC_SUCCESS) && *size) { 50 result = TPM_RC_SIZE; 52 return result; 61 TPM_RC result = TPM_RC_SUCCESS; local 73 result [all...] |
Marshal_PCR_Read.c | 31 // Compute actual parameter_size. Don't add result to total_size. 44 TPM_RC result = TPM_RC_SUCCESS; local 46 result = TPML_PCR_SELECTION_Unmarshal(&target->pcrSelectionIn, buffer, size); 47 if (result != TPM_RC_SUCCESS) { 48 return result; 50 if ((result == TPM_RC_SUCCESS) && *size) { 51 result = TPM_RC_SIZE; 53 return result; 62 TPM_RC result = TPM_RC_SUCCESS; local 74 result = PCR_Read_In_Unmarshal(&in, request_handles, request_parameter_buffer [all...] |
Marshal_PolicyGetDigest.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 44 if ((result == TPM_RC_SUCCESS) && *size) { 45 result = TPM_RC_SIZE; 47 return result; 56 TPM_RC result = TPM_RC_SUCCESS; local 68 result = PolicyGetDigest_In_Unmarshal(&in, request_handles, 71 if (result != TPM_RC_SUCCESS) { 72 return result; 75 result = TPM2_PolicyGetDigest(&in, &out) [all...] |
Marshal_PolicySecret.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 47 result = TPM2B_NONCE_Unmarshal(&target->nonceTPM, buffer, size); 48 if (result != TPM_RC_SUCCESS) { 49 return result; 51 result = TPM2B_DIGEST_Unmarshal(&target->cpHashA, buffer, size); 52 if (result != TPM_RC_SUCCESS) { 53 return result; 55 result = TPM2B_NONCE_Unmarshal(&target->policyRef, buffer, size); 56 if (result != TPM_RC_SUCCESS) 75 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_PolicySigned.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 47 result = TPM2B_NONCE_Unmarshal(&target->nonceTPM, buffer, size); 48 if (result != TPM_RC_SUCCESS) { 49 return result; 51 result = TPM2B_DIGEST_Unmarshal(&target->cpHashA, buffer, size); 52 if (result != TPM_RC_SUCCESS) { 53 return result; 55 result = TPM2B_NONCE_Unmarshal(&target->policyRef, buffer, size); 56 if (result != TPM_RC_SUCCESS) 79 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_Quote.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 46 result = TPM2B_DATA_Unmarshal(&target->qualifyingData, buffer, size); 47 if (result != TPM_RC_SUCCESS) { 48 return result; 50 result = TPMT_SIG_SCHEME_Unmarshal(&target->inScheme, buffer, size); 51 if (result != TPM_RC_SUCCESS) { 52 return result; 54 result = TPML_PCR_SELECTION_Unmarshal(&target->PCRselect, buffer, size); 55 if (result != TPM_RC_SUCCESS) 70 TPM_RC result = TPM_RC_SUCCESS; local [all...] |