Re: [PATCH] tpm: TPM 2.0 selftest performance improvement

2018-03-19 Thread Jarkko Sakkinen
Hi On Fri, Mar 16, 2018 at 11:15:28PM +0530, Nayna Jain wrote: > For selftest being run in the background, the TCG 2.0 Specification > provides the command TPM2_GetTestResult to check the status of selftest > completion. > > When the partial selftest command is sent just after TPM

Re: [PATCH] tpm: TPM 2.0 selftest performance improvement

2018-03-19 Thread Jarkko Sakkinen
Hi On Fri, Mar 16, 2018 at 11:15:28PM +0530, Nayna Jain wrote: > For selftest being run in the background, the TCG 2.0 Specification > provides the command TPM2_GetTestResult to check the status of selftest > completion. > > When the partial selftest command is sent just after TPM

[PATCH] tpm: TPM 2.0 selftest performance improvement

2018-03-16 Thread Nayna Jain
For selftest being run in the background, the TCG 2.0 Specification provides the command TPM2_GetTestResult to check the status of selftest completion. When the partial selftest command is sent just after TPM initialization, it is observed that it returns RC_COMMAND_CODE error, which as per TPM

[PATCH] tpm: TPM 2.0 selftest performance improvement

2018-03-16 Thread Nayna Jain
For selftest being run in the background, the TCG 2.0 Specification provides the command TPM2_GetTestResult to check the status of selftest completion. When the partial selftest command is sent just after TPM initialization, it is observed that it returns RC_COMMAND_CODE error, which as per TPM