Re: [PATCH v6 0/2] tpm: add support for nonblocking operation

2018-09-17 Thread Jarkko Sakkinen
On Mon, Sep 10, 2018 at 10:18:22AM -0700, Tadeusz Struk wrote: > The TCG SAPI specification [1] defines a set of functions, which allow > applications to use the TPM device in either blocking or non-blocking fashion. > Each command defined by the specification has a corresponding > Tss2_Sys__Prepar

Re: [PATCH v6 0/2] tpm: add support for nonblocking operation

2018-09-16 Thread Jarkko Sakkinen
On Sun, Sep 16, 2018 at 08:11:44AM -0700, Tadeusz Struk wrote: > On 9/16/18 5:03 AM, Jarkko Sakkinen wrote: > > I tried to test this but I get 404 from > > https://github.com/tstruk/tpm2-tss/tree/async > > This has been already merged to tss upstream > https://github.com/tpm2-software/tpm2-tss >

Re: [PATCH v6 0/2] tpm: add support for nonblocking operation

2018-09-16 Thread Tadeusz Struk
On 9/16/18 5:03 AM, Jarkko Sakkinen wrote: > I tried to test this but I get 404 from > https://github.com/tstruk/tpm2-tss/tree/async This has been already merged to tss upstream https://github.com/tpm2-software/tpm2-tss To enable it you need to configure tss with --enable-tcti-device-async=yes T

Re: [PATCH v6 0/2] tpm: add support for nonblocking operation

2018-09-16 Thread Jarkko Sakkinen
On Mon, Sep 10, 2018 at 10:18:22AM -0700, Tadeusz Struk wrote: > The TCG SAPI specification [1] defines a set of functions, which allow > applications to use the TPM device in either blocking or non-blocking fashion. > Each command defined by the specification has a corresponding > Tss2_Sys__Prepar

[PATCH v6 0/2] tpm: add support for nonblocking operation

2018-09-10 Thread Tadeusz Struk
The TCG SAPI specification [1] defines a set of functions, which allow applications to use the TPM device in either blocking or non-blocking fashion. Each command defined by the specification has a corresponding Tss2_Sys__Prepare() and Tss2_Sys__Complete() call, which together with Tss2_Sys_Execute