Home | History | Annotate | Download | only in tpm2

Lines Matching refs:result

28   // Compute actual parameter_size. Don't add result to total_size.
41 TPM_RC result = TPM_RC_SUCCESS;
46 result = TPM2B_ID_OBJECT_Unmarshal(&target->credentialBlob, buffer, size);
47 if (result != TPM_RC_SUCCESS) {
48 return result;
50 result = TPM2B_ENCRYPTED_SECRET_Unmarshal(&target->secret, buffer, size);
51 if (result != TPM_RC_SUCCESS) {
52 return result;
54 if ((result == TPM_RC_SUCCESS) && *size) {
55 result = TPM_RC_SIZE;
57 return result;
66 TPM_RC result = TPM_RC_SUCCESS;
78 result = ActivateCredential_In_Unmarshal(&in, request_handles,
81 if (result != TPM_RC_SUCCESS) {
82 return result;
85 result = TPM2_ActivateCredential(&in, &out);
86 if (result != TPM_RC_SUCCESS) {
87 return result;