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