Re: [PATCH 2/3] tpm: add new tpm2 commands according to TCG 1.36

2018-03-05 Thread Jarkko Sakkinen
On Sun, Mar 04, 2018 at 02:12:04PM +0200, Tomas Winkler wrote: > 1. TPM2_CC_LAST has moved from 182 to 193 > 2. Convert tpm2_ordinal_duration from an array into a switch statement, >as there are not so many commands that require special duration >relative to a number of commands. > >

Re: [PATCH 2/3] tpm: add new tpm2 commands according to TCG 1.36

2018-03-05 Thread Jarkko Sakkinen
On Sun, Mar 04, 2018 at 02:12:04PM +0200, Tomas Winkler wrote: > 1. TPM2_CC_LAST has moved from 182 to 193 > 2. Convert tpm2_ordinal_duration from an array into a switch statement, >as there are not so many commands that require special duration >relative to a number of commands. > >

[PATCH 2/3] tpm: add new tpm2 commands according to TCG 1.36

2018-03-04 Thread Tomas Winkler
1. TPM2_CC_LAST has moved from 182 to 193 2. Convert tpm2_ordinal_duration from an array into a switch statement, as there are not so many commands that require special duration relative to a number of commands. Signed-off-by: Tomas Winkler ---

[PATCH 2/3] tpm: add new tpm2 commands according to TCG 1.36

2018-03-04 Thread Tomas Winkler
1. TPM2_CC_LAST has moved from 182 to 193 2. Convert tpm2_ordinal_duration from an array into a switch statement, as there are not so many commands that require special duration relative to a number of commands. Signed-off-by: Tomas Winkler --- drivers/char/tpm/tpm.h | 41 ++