Jerry Devis
Jerry Devis
> > Hi, teamer. When Tss2_TctiLdr_Initialize is executed, the tcti_from_file interface is called. In tcti_from_file, `PATH_MAX`(4KB) of stack space is malloced. Is there some problems for some resource-constrained embedded devices?...
> > > > Hi, teamer. When Tss2_TctiLdr_Initialize is executed, the tcti_from_file interface is called. In tcti_from_file, `PATH_MAX`(4KB) of stack space is malloced. Is there some problems for some resource-constrained...
> There are some things in the TSS that can help you with this. The best solution is actually to use the *_Async and *_Finish functions rather than the blocking...
> I guess that would definitively help. We should then find a response-code for Tcti_Receive(). Maybe IO_ERROR ? (List can be found here: https://github.com/tpm2-software/tpm2-tss/blob/master/include/tss2/tss2_common.h#L72) TSS2_BASE_RC_IO_ERROR is ok
Hi,@AndreasFuchsSIT ,“wrap tcti” means to execute tpm command in remote TPM,and the response result is returned, right?
> > Hi,@AndreasFuchsSIT ,“wrap tcti” means to execute tpm command in remote TPM,and the response result is returned, right? > > No that's the command or "cmd" tcti. The cmd...
> > > @williamcroberts If it is a remote TPM, do we need to specify which tcti the TPM command should be transmitted to (i.e. tcti-device, tcti-mssim or tpm2-abrmd)? Do...
> Your example uses an SSH session to the remote host (secure of the network). The remote host could however intercept the command and answer itself, instead of having the...
> Those are independent of the tpm-cmd+ssh configuration, but instead configure the tcti-wrap for which key to use for the TPM-audit-session. So yes, they refer to a keyhandle on the...
> @williamcroberts I tried to compile libtpms (./configure --with-openssl) with SM3 and SM4 activated but got errors. For "#if SM4_128" there are even syntax errors in the source code. Libtpms...