Re: [PATCH] selftests: add TPM 2.0 tests

2019-02-04 Thread Jarkko Sakkinen
On Sun, Feb 03, 2019 at 11:26:55PM +0100, Petr Vorel wrote: > Hi Jarkko, > > > Added the tests that I've been using for testing TPM 2.0 functionality > > for long time but have out-of-tree so far residing in > > > https://github.com/jsakkine-intel/tpm2-scripts > > > Cc: Tadeusz Struk > >

Re: [PATCH] selftests: add TPM 2.0 tests

2019-02-03 Thread Petr Vorel
Hi Jarkko, > Added the tests that I've been using for testing TPM 2.0 functionality > for long time but have out-of-tree so far residing in > https://github.com/jsakkine-intel/tpm2-scripts > Cc: Tadeusz Struk > Signed-off-by: Jarkko Sakkinen > Acked-By: Joey Pabalinas Reviewed-by: Petr Vorel

[PATCH] selftests: add TPM 2.0 tests

2019-02-01 Thread Jarkko Sakkinen
Added the tests that I've been using for testing TPM 2.0 functionality for long time but have out-of-tree so far residing in https://github.com/jsakkine-intel/tpm2-scripts Cc: Tadeusz Struk Signed-off-by: Jarkko Sakkinen Acked-By: Joey Pabalinas --- v2: TARGETS += tpm2 (was tpm)

Re: [PATCH] selftests: add TPM 2.0 tests

2019-01-04 Thread Jarkko Sakkinen
On Tue, Dec 04, 2018 at 04:33:42PM -0800, Jarkko Sakkinen wrote: > On Tue, Nov 27, 2018 at 03:13:48PM -0800, Jarkko Sakkinen wrote: > > Thank you! Would be good to have these merged to the kernel tree so that > > one can include both functionality and test case when needed to the > > patch set. >

Re: [PATCH] selftests: add TPM 2.0 tests

2018-12-04 Thread Jarkko Sakkinen
On Tue, Nov 27, 2018 at 03:13:48PM -0800, Jarkko Sakkinen wrote: > Thank you! Would be good to have these merged to the kernel tree so that > one can include both functionality and test case when needed to the > patch set. Should I include this to v4.21 tpmdd PR? /Jarkko

Re: [PATCH] selftests: add TPM 2.0 tests

2018-12-04 Thread Jarkko Sakkinen
On Tue, Nov 27, 2018 at 03:13:48PM -0800, Jarkko Sakkinen wrote: > Thank you! Would be good to have these merged to the kernel tree so that > one can include both functionality and test case when needed to the > patch set. Should I include this to v4.21 tpmdd PR? /Jarkko

Re: [PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Jarkko Sakkinen
On Tue, Nov 27, 2018 at 02:34:39PM -0800, Tadeusz Struk wrote: > On 11/27/18 2:10 PM, Jarkko Sakkinen wrote: > > Added the tests that I've been using for testing TPM 2.0 functionality > > for long time but have out-of-tree so far residing in > > > > https://github.com/jsakkine-intel/tpm2-scripts

Re: [PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Jarkko Sakkinen
On Tue, Nov 27, 2018 at 02:34:39PM -0800, Tadeusz Struk wrote: > On 11/27/18 2:10 PM, Jarkko Sakkinen wrote: > > Added the tests that I've been using for testing TPM 2.0 functionality > > for long time but have out-of-tree so far residing in > > > > https://github.com/jsakkine-intel/tpm2-scripts

Re: [PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Jarkko Sakkinen
On Tue, Nov 27, 2018 at 12:53:07PM -1000, Joey Pabalinas wrote: > On Tue, Nov 27, 2018 at 12:49:00PM -1000, Joey Pabalinas wrote: > > > +def start_auth_session(self, session_type, name_alg = TPM2_ALG_SHA1): > > > +fmt = '>HII IIH16sHBHH' > > > +cmd = struct.pack(fmt, > > > +

Re: [PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Jarkko Sakkinen
On Tue, Nov 27, 2018 at 12:53:07PM -1000, Joey Pabalinas wrote: > On Tue, Nov 27, 2018 at 12:49:00PM -1000, Joey Pabalinas wrote: > > > +def start_auth_session(self, session_type, name_alg = TPM2_ALG_SHA1): > > > +fmt = '>HII IIH16sHBHH' > > > +cmd = struct.pack(fmt, > > > +

Re: [PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Joey Pabalinas
On Tue, Nov 27, 2018 at 12:49:00PM -1000, Joey Pabalinas wrote: > > +def start_auth_session(self, session_type, name_alg = TPM2_ALG_SHA1): > > +fmt = '>HII IIH16sHBHH' > > +cmd = struct.pack(fmt, > > + TPM2_ST_NO_SESSIONS, > > +

Re: [PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Joey Pabalinas
On Tue, Nov 27, 2018 at 12:49:00PM -1000, Joey Pabalinas wrote: > > +def start_auth_session(self, session_type, name_alg = TPM2_ALG_SHA1): > > +fmt = '>HII IIH16sHBHH' > > +cmd = struct.pack(fmt, > > + TPM2_ST_NO_SESSIONS, > > +

Re: [PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Joey Pabalinas
On Tue, Nov 27, 2018 at 02:10:48PM -0800, Jarkko Sakkinen wrote: > Added the tests that I've been using for testing TPM 2.0 functionality > for long time but have out-of-tree so far residing in > > https://github.com/jsakkine-intel/tpm2-scripts > > Cc: Tadeusz Struk > Signed-off-by: Jarkko

Re: [PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Joey Pabalinas
On Tue, Nov 27, 2018 at 02:10:48PM -0800, Jarkko Sakkinen wrote: > Added the tests that I've been using for testing TPM 2.0 functionality > for long time but have out-of-tree so far residing in > > https://github.com/jsakkine-intel/tpm2-scripts > > Cc: Tadeusz Struk > Signed-off-by: Jarkko

Re: [PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Tadeusz Struk
On 11/27/18 2:10 PM, Jarkko Sakkinen wrote: > Added the tests that I've been using for testing TPM 2.0 functionality > for long time but have out-of-tree so far residing in > > https://github.com/jsakkine-intel/tpm2-scripts > > Cc: Tadeusz Struk > Signed-off-by: Jarkko Sakkinen > --- >

Re: [PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Tadeusz Struk
On 11/27/18 2:10 PM, Jarkko Sakkinen wrote: > Added the tests that I've been using for testing TPM 2.0 functionality > for long time but have out-of-tree so far residing in > > https://github.com/jsakkine-intel/tpm2-scripts > > Cc: Tadeusz Struk > Signed-off-by: Jarkko Sakkinen > --- >

Re: [PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Jarkko Sakkinen
On Tue, Nov 27, 2018 at 02:10:48PM -0800, Jarkko Sakkinen wrote: > Added the tests that I've been using for testing TPM 2.0 functionality > for long time but have out-of-tree so far residing in > > https://github.com/jsakkine-intel/tpm2-scripts > > Cc: Tadeusz Struk > Signed-off-by: Jarkko

Re: [PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Jarkko Sakkinen
On Tue, Nov 27, 2018 at 02:10:48PM -0800, Jarkko Sakkinen wrote: > Added the tests that I've been using for testing TPM 2.0 functionality > for long time but have out-of-tree so far residing in > > https://github.com/jsakkine-intel/tpm2-scripts > > Cc: Tadeusz Struk > Signed-off-by: Jarkko

[PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Jarkko Sakkinen
Added the tests that I've been using for testing TPM 2.0 functionality for long time but have out-of-tree so far residing in https://github.com/jsakkine-intel/tpm2-scripts Cc: Tadeusz Struk Signed-off-by: Jarkko Sakkinen --- Tadeusz: does not include your test. Better that you send them after

[PATCH] selftests: add TPM 2.0 tests

2018-11-27 Thread Jarkko Sakkinen
Added the tests that I've been using for testing TPM 2.0 functionality for long time but have out-of-tree so far residing in https://github.com/jsakkine-intel/tpm2-scripts Cc: Tadeusz Struk Signed-off-by: Jarkko Sakkinen --- Tadeusz: does not include your test. Better that you send them after