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;
47 result = TPM2B_DATA_Unmarshal(&target->qualifyingData, buffer, size);
48 if (result != TPM_RC_SUCCESS) {
49 return result;
51 result = TPM2B_DIGEST_Unmarshal(&target->creationHash, buffer, size);
52 if (result != TPM_RC_SUCCESS) {
53 return result;
55 result = TPMT_SIG_SCHEME_Unmarshal(&target->inScheme, buffer, size);
56 if (result != TPM_RC_SUCCESS) {
57 return result;
59 result = TPMT_TK_CREATION_Unmarshal(&target->creationTicket, buffer, size);
60 if (result != TPM_RC_SUCCESS) {
61 return result;
63 if ((result == TPM_RC_SUCCESS) && *size) {
64 result = TPM_RC_SIZE;
66 return result;
75 TPM_RC result = TPM_RC_SUCCESS;
87 result = CertifyCreation_In_Unmarshal(&in, request_handles,
90 if (result != TPM_RC_SUCCESS) {
91 return result;
94 result = TPM2_CertifyCreation(&in, &out);
95 if (result != TPM_RC_SUCCESS) {
96 return result;