Re: [tpmdd-devel] [PATCH 3/4] tpm: introduce tpm_pcr_algorithms()

2017-04-05 Thread Jarkko Sakkinen
On Wed, Apr 05, 2017 at 04:54:18PM +0300, Jarkko Sakkinen wrote: > On Wed, Apr 05, 2017 at 03:33:55PM +0200, Roberto Sassu wrote: > > On 4/5/2017 2:13 PM, Jarkko Sakkinen wrote: > > > On Wed, Mar 29, 2017 at 12:24:51PM +0200, Roberto Sassu wrote: > > > > Return the algorithms supported by the TPM.

Re: [tpmdd-devel] [PATCH 3/4] tpm: introduce tpm_pcr_algorithms()

2017-04-05 Thread Roberto Sassu
On 4/5/2017 2:13 PM, Jarkko Sakkinen wrote: > On Wed, Mar 29, 2017 at 12:24:51PM +0200, Roberto Sassu wrote: >> Return the algorithms supported by the TPM. The limit >> (TPM_ACTIVE_BANKS_MAX) has been exported to include/linux/tpm.h. >> >> Signed-off-by: Roberto Sassu >

Re: [tpmdd-devel] [PATCH 3/4] tpm: introduce tpm_pcr_algorithms()

2017-04-05 Thread Jarkko Sakkinen
On Wed, Mar 29, 2017 at 12:24:51PM +0200, Roberto Sassu wrote: > Return the algorithms supported by the TPM. The limit > (TPM_ACTIVE_BANKS_MAX) has been exported to include/linux/tpm.h. > > Signed-off-by: Roberto Sassu Why is this needed? /Jarkko > --- >

[tpmdd-devel] [PATCH 3/4] tpm: introduce tpm_pcr_algorithms()

2017-03-29 Thread Roberto Sassu
Return the algorithms supported by the TPM. The limit (TPM_ACTIVE_BANKS_MAX) has been exported to include/linux/tpm.h. Signed-off-by: Roberto Sassu --- drivers/char/tpm/tpm-interface.c | 39 +++ drivers/char/tpm/tpm.h | 2