Re: [PATCH v2 1/5] tpm: introduce tpm_pcr_algorithms()

2017-05-31 Thread Jarkko Sakkinen
On Tue, May 30, 2017 at 10:44:50AM +0200, Roberto Sassu wrote: > On 5/24/2017 7:35 PM, Jarkko Sakkinen wrote: > > On Mon, May 22, 2017 at 11:07:54AM +0200, Roberto Sassu wrote: > > > On 5/20/2017 3:18 PM, Jarkko Sakkinen wrote: > > > > On Wed, May 17, 2017 at 10:42:35AM +0200, Roberto Sassu wrote:

Re: [PATCH v2 1/5] tpm: introduce tpm_pcr_algorithms()

2017-05-30 Thread Roberto Sassu
On 5/24/2017 7:35 PM, Jarkko Sakkinen wrote: On Mon, May 22, 2017 at 11:07:54AM +0200, Roberto Sassu wrote: On 5/20/2017 3:18 PM, Jarkko Sakkinen wrote: On Wed, May 17, 2017 at 10:42:35AM +0200, Roberto Sassu wrote: On 5/15/2017 3:18 PM, Roberto Sassu wrote: On 5/15/2017 12:36 PM, Jarkko Sa

Re: [PATCH v2 1/5] tpm: introduce tpm_pcr_algorithms()

2017-05-24 Thread Jarkko Sakkinen
On Mon, May 22, 2017 at 11:07:54AM +0200, Roberto Sassu wrote: > On 5/20/2017 3:18 PM, Jarkko Sakkinen wrote: > > On Wed, May 17, 2017 at 10:42:35AM +0200, Roberto Sassu wrote: > > > On 5/15/2017 3:18 PM, Roberto Sassu wrote: > > > > > > > > > > > > On 5/15/2017 12:36 PM, Jarkko Sakkinen wrote: >

Re: [PATCH v2 1/5] tpm: introduce tpm_pcr_algorithms()

2017-05-22 Thread Roberto Sassu
On 5/20/2017 3:18 PM, Jarkko Sakkinen wrote: On Wed, May 17, 2017 at 10:42:35AM +0200, Roberto Sassu wrote: On 5/15/2017 3:18 PM, Roberto Sassu wrote: On 5/15/2017 12:36 PM, Jarkko Sakkinen wrote: On Fri, May 05, 2017 at 04:21:48PM +0200, Roberto Sassu wrote: This function allows TPM users

Re: [PATCH v2 1/5] tpm: introduce tpm_pcr_algorithms()

2017-05-20 Thread Jarkko Sakkinen
On Wed, May 17, 2017 at 10:42:35AM +0200, Roberto Sassu wrote: > On 5/15/2017 3:18 PM, Roberto Sassu wrote: > > > > > > On 5/15/2017 12:36 PM, Jarkko Sakkinen wrote: > > > On Fri, May 05, 2017 at 04:21:48PM +0200, Roberto Sassu wrote: > > > > This function allows TPM users to know which algorithm

Re: [PATCH v2 1/5] tpm: introduce tpm_pcr_algorithms()

2017-05-20 Thread Jarkko Sakkinen
On Mon, May 15, 2017 at 03:18:41PM +0200, Roberto Sassu wrote: > > > On 5/15/2017 12:36 PM, Jarkko Sakkinen wrote: > > On Fri, May 05, 2017 at 04:21:48PM +0200, Roberto Sassu wrote: > > > This function allows TPM users to know which algorithms the TPM supports. > > > It stores the algorithms in a

Re: [PATCH v2 1/5] tpm: introduce tpm_pcr_algorithms()

2017-05-17 Thread Roberto Sassu
On 5/15/2017 3:18 PM, Roberto Sassu wrote: On 5/15/2017 12:36 PM, Jarkko Sakkinen wrote: On Fri, May 05, 2017 at 04:21:48PM +0200, Roberto Sassu wrote: This function allows TPM users to know which algorithms the TPM supports. It stores the algorithms in a static array of 'enum tpm2_algorithms

Re: [PATCH v2 1/5] tpm: introduce tpm_pcr_algorithms()

2017-05-15 Thread Roberto Sassu
On 5/15/2017 12:36 PM, Jarkko Sakkinen wrote: On Fri, May 05, 2017 at 04:21:48PM +0200, Roberto Sassu wrote: This function allows TPM users to know which algorithms the TPM supports. It stores the algorithms in a static array of 'enum tpm2_algorithms', allocated by the caller. If the array is

Re: [PATCH v2 1/5] tpm: introduce tpm_pcr_algorithms()

2017-05-15 Thread Jarkko Sakkinen
On Fri, May 05, 2017 at 04:21:48PM +0200, Roberto Sassu wrote: > This function allows TPM users to know which algorithms the TPM supports. > It stores the algorithms in a static array of 'enum tpm2_algorithms', > allocated by the caller. If the array is not large enough, the function > returns an e