Re: [PATCH] tpm: move tpm_pcr_read_dev() to tpm1-cmd.c

2016-03-30 Thread Jarkko Sakkinen
On Wed, Mar 30, 2016 at 12:30:49AM +0300, Jarkko Sakkinen wrote: > Created tpm1-cmd.c for TPM1 commands like we have one for TPM2 commands > and moved tpm_pcr_read_dev() there and renamed it as tpm1_pcr_read(). > > Created a common enum tpm1_ordinals that is accesible both from > tpm1-cmd.c and tp

[PATCH] tpm: move tpm_pcr_read_dev() to tpm1-cmd.c

2016-03-29 Thread Jarkko Sakkinen
Created tpm1-cmd.c for TPM1 commands like we have one for TPM2 commands and moved tpm_pcr_read_dev() there and renamed it as tpm1_pcr_read(). Created a common enum tpm1_ordinals that is accesible both from tpm1-cmd.c and tpm-interface.c because TPM1_ORD_PCRREAD is used by two functions and it is n