Home | History | Annotate | Download | only in tpm2

Lines Matching defs:result

31   // Compute actual parameter_size. Don't add result to total_size.
44 TPM_RC result = TPM_RC_SUCCESS;
48 result = TPM2B_ECC_POINT_Unmarshal(&target->P1, buffer, size);
49 if (result != TPM_RC_SUCCESS) {
50 return result;
52 result = TPM2B_SENSITIVE_DATA_Unmarshal(&target->s2, buffer, size);
53 if (result != TPM_RC_SUCCESS) {
54 return result;
56 result = TPM2B_ECC_PARAMETER_Unmarshal(&target->y2, buffer, size);
57 if (result != TPM_RC_SUCCESS) {
58 return result;
60 if ((result == TPM_RC_SUCCESS) && *size) {
61 result = TPM_RC_SIZE;
63 return result;
72 TPM_RC result = TPM_RC_SUCCESS;
84 result = Commit_In_Unmarshal(&in, request_handles, request_parameter_buffer,
86 if (result != TPM_RC_SUCCESS) {
87 return result;
90 result = TPM2_Commit(&in, &out);
91 if (result != TPM_RC_SUCCESS) {
92 return result;