Re: [RFC/RFT v4 1/5] tpm: move tpm_buf code to include/linux/

2019-08-21 Thread Jarkko Sakkinen
On Tue, Aug 20, 2019 at 11:22:05AM +0530, Sumit Garg wrote: > On Mon, 19 Aug 2019 at 22:26, Jarkko Sakkinen > wrote: > > > > On Tue, Aug 13, 2019 at 01:23:00PM +0530, Sumit Garg wrote: > > > Move tpm_buf code to common include/linux/tpm.h header so that it can > > > be reused via other subsystems

Re: [RFC/RFT v4 1/5] tpm: move tpm_buf code to include/linux/

2019-08-19 Thread Sumit Garg
On Mon, 19 Aug 2019 at 22:26, Jarkko Sakkinen wrote: > > On Tue, Aug 13, 2019 at 01:23:00PM +0530, Sumit Garg wrote: > > Move tpm_buf code to common include/linux/tpm.h header so that it can > > be reused via other subsystems like trusted keys etc. > > > > Also rename trusted keys TPM 1.x buffer i

Re: [RFC/RFT v4 1/5] tpm: move tpm_buf code to include/linux/

2019-08-19 Thread Jarkko Sakkinen
On Tue, Aug 13, 2019 at 01:23:00PM +0530, Sumit Garg wrote: > Move tpm_buf code to common include/linux/tpm.h header so that it can > be reused via other subsystems like trusted keys etc. > > Also rename trusted keys TPM 1.x buffer implementation to tpm1_buf to > avoid any compilation errors. > >

[RFC/RFT v4 1/5] tpm: move tpm_buf code to include/linux/

2019-08-13 Thread Sumit Garg
Move tpm_buf code to common include/linux/tpm.h header so that it can be reused via other subsystems like trusted keys etc. Also rename trusted keys TPM 1.x buffer implementation to tpm1_buf to avoid any compilation errors. Suggested-by: Jarkko Sakkinen Signed-off-by: Sumit Garg --- drivers/ch