Home | History | Annotate | Download | only in tpm2

Lines Matching refs:result

33   // Compute actual parameter_size. Don't add result to total_size.
46 TPM_RC result = TPM_RC_SUCCESS;
50 result = TPM2B_SENSITIVE_CREATE_Unmarshal(&target->inSensitive, buffer, size);
51 if (result != TPM_RC_SUCCESS) {
52 return result;
54 result = TPM2B_PUBLIC_Unmarshal(&target->inPublic, buffer, size);
55 if (result != TPM_RC_SUCCESS) {
56 return result;
58 result = TPM2B_DATA_Unmarshal(&target->outsideInfo, buffer, size);
59 if (result != TPM_RC_SUCCESS) {
60 return result;
62 result = TPML_PCR_SELECTION_Unmarshal(&target->creationPCR, buffer, size);
63 if (result != TPM_RC_SUCCESS) {
64 return result;
66 if ((result == TPM_RC_SUCCESS) && *size) {
67 result = TPM_RC_SIZE;
69 return result;
78 TPM_RC result = TPM_RC_SUCCESS;
90 result = Create_In_Unmarshal(&in, request_handles, request_parameter_buffer,
92 if (result != TPM_RC_SUCCESS) {
93 return result;
96 result = TPM2_Create(&in, &out);
97 if (result != TPM_RC_SUCCESS) {
98 return result;