Home | History | Annotate | Download | only in tpm2

Lines Matching defs:result

28   // Compute actual parameter_size. Don't add result to total_size.
41 TPM_RC result = TPM_RC_SUCCESS;
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;
56 return result;
65 TPM_RC result = TPM_RC_SUCCESS;
77 result = HMAC_In_Unmarshal(&in, request_handles, request_parameter_buffer,
79 if (result != TPM_RC_SUCCESS) {
80 return result;
83 result = TPM2_HMAC(&in, &out);
84 if (result != TPM_RC_SUCCESS) {
85 return result;