Re: [PATCH 3/5 V3] tpm2: add longer timeouts for creation commands.

2018-03-19 Thread Jarkko Sakkinen
On Sat, Mar 10, 2018 at 05:15:45PM +0200, Tomas Winkler wrote: > TPM2_CC_Create(0x153) and TPM2_CC_CreatePrimary (0x131) involve generation > of crypto keys which can be a computationally intensive task. > The timeout is set to 3min. > Rather than increasing default timeout a new constant is > adde

[PATCH 3/5 V3] tpm2: add longer timeouts for creation commands.

2018-03-10 Thread Tomas Winkler
TPM2_CC_Create(0x153) and TPM2_CC_CreatePrimary (0x131) involve generation of crypto keys which can be a computationally intensive task. The timeout is set to 3min. Rather than increasing default timeout a new constant is added, to not stall for too long on regular commands failures. Signed-off-by