Home | History | Annotate | Download | only in tpm2

Lines Matching refs:result

14   TPM_RC result = TPM_RC_SUCCESS;
19 result = TPM2B_MAX_NV_BUFFER_Unmarshal(&target->data, buffer, size);
20 if (result != TPM_RC_SUCCESS) {
21 return result;
23 result = UINT16_Unmarshal(&target->offset, buffer, size);
24 if (result != TPM_RC_SUCCESS) {
25 return result;
27 if ((result == TPM_RC_SUCCESS) && *size) {
28 result = TPM_RC_SIZE;
30 return result;
39 TPM_RC result = TPM_RC_SUCCESS;
48 result = NV_Write_In_Unmarshal(&in, request_handles, request_parameter_buffer,
50 if (result != TPM_RC_SUCCESS) {
51 return result;
54 result = TPM2_NV_Write(&in);
55 if (result != TPM_RC_SUCCESS) {
56 return result;