Home | History | Annotate | Download | only in tpm2

Lines Matching defs:result

29   // Compute actual parameter_size. Don't add result to total_size.
42 TPM_RC result = TPM_RC_SUCCESS;
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) {
54 return result;
56 if ((result == TPM_RC_SUCCESS) && *size) {
57 result = TPM_RC_SIZE;
59 return result;
68 TPM_RC result = TPM_RC_SUCCESS;
80 result = Hash_In_Unmarshal(&in, request_handles, request_parameter_buffer,
82 if (result != TPM_RC_SUCCESS) {
83 return result;
86 result = TPM2_Hash(&in, &out);
87 if (result != TPM_RC_SUCCESS) {
88 return result;