TPM2 (Trusted Platform Module) userspace development
 help / color / mirror / Atom feed
From: Tadeusz Struk <tadeusz.struk at intel.com>
To: tpm2@lists.01.org
Subject: Re: [tpm2] what the different between 0x1d5 and 0x3d5
Date: Thu, 01 Nov 2018 08:48:50 -0700	[thread overview]
Message-ID: <d6074499-8e4d-f61c-e317-4eeba88dde28@intel.com> (raw)
In-Reply-To: CA+tBKVjSH9vXnAgw_KjTubcOZX7v34OW0J-MmOgxdV7gziaHtw@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

On 11/1/18 12:47 AM, Terry An wrote:
> 782     TSS2_RC rval = TSS2_RETRY_EXP(Tss2_Sys_Import(sapi_context, phandle,
> 783                 &sessionsData, enc_sensitive_key, public,
> 784                 private, encrypted_seed, sym_alg,
> 785                 imported_private, &npsessionsDataOut));
> 786     if (rval != TPM2_RC_SUCCESS) {
> 787         LOG_ERROR("Tss2_Sys_Import() failed: %#x", rval);
> 788         return -1;
> 789     }
> 
> 
> This function returns 0x3d5, and I don't know which parameter should be checked.

I would say that it complains about the sessionsData.

-- 
Tadeusz

             reply	other threads:[~2018-11-01 15:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-01 15:48 Tadeusz Struk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-11-05 15:05 [tpm2] what the different between 0x1d5 and 0x3d5 Roberts, William C
2018-11-01  7:47 Terry An
2018-10-31 16:46 Tadeusz Struk
2018-10-31  9:15 Terry An

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d6074499-8e4d-f61c-e317-4eeba88dde28@intel.com \
    --to=tpm2@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox