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_DATA_Unmarshal(&target->encryptionKey, buffer, size);
46 if (result != TPM_RC_SUCCESS) {
47 return result;
49 result = TPM2B_PUBLIC_Unmarshal(&target->objectPublic, buffer, size);
50 if (result != TPM_RC_SUCCESS) {
51 return result;
53 result = TPM2B_PRIVATE_Unmarshal(&target->duplicate, buffer, size);
54 if (result != TPM_RC_SUCCESS) {
55 return result;
57 result = TPM2B_ENCRYPTED_SECRET_Unmarshal(&target->inSymSeed, buffer, size);
58 if (result != TPM_RC_SUCCESS) {
59 return result;
61 result = TPMT_SYM_DEF_OBJECT_Unmarshal(&target->symmetricAlg, buffer, size);
62 if (result != TPM_RC_SUCCESS) {
63 return result;
65 if ((result == TPM_RC_SUCCESS) && *size) {
66 result = TPM_RC_SIZE;
68 return result;
77 TPM_RC result = TPM_RC_SUCCESS;
89 result = Import_In_Unmarshal(&in, request_handles, request_parameter_buffer,
91 if (result != TPM_RC_SUCCESS) {
92 return result;
95 result = TPM2_Import(&in, &out);
96 if (result != TPM_RC_SUCCESS) {
97 return result;