Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-31 Thread Jarkko Sakkinen
On Tue, May 30, 2017 at 12:24:21PM +0200, Roberto Sassu wrote: > On 5/24/2017 10:25 PM, Jarkko Sakkinen wrote: > > On Wed, May 24, 2017 at 10:33:54AM -0700, Jarkko Sakkinen wrote: > > > On Mon, May 22, 2017 at 09:21:28AM +0200, Roberto Sassu wrote: > > > > On 5/20/2017 3:22 PM, Jarkko Sakkinen

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-31 Thread Jarkko Sakkinen
On Tue, May 30, 2017 at 12:24:21PM +0200, Roberto Sassu wrote: > On 5/24/2017 10:25 PM, Jarkko Sakkinen wrote: > > On Wed, May 24, 2017 at 10:33:54AM -0700, Jarkko Sakkinen wrote: > > > On Mon, May 22, 2017 at 09:21:28AM +0200, Roberto Sassu wrote: > > > > On 5/20/2017 3:22 PM, Jarkko Sakkinen

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-30 Thread Roberto Sassu
On 5/24/2017 10:25 PM, Jarkko Sakkinen wrote: On Wed, May 24, 2017 at 10:33:54AM -0700, Jarkko Sakkinen wrote: On Mon, May 22, 2017 at 09:21:28AM +0200, Roberto Sassu wrote: On 5/20/2017 3:22 PM, Jarkko Sakkinen wrote: On Mon, May 15, 2017 at 04:22:22PM +0200, Roberto Sassu wrote: On

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-30 Thread Roberto Sassu
On 5/24/2017 10:25 PM, Jarkko Sakkinen wrote: On Wed, May 24, 2017 at 10:33:54AM -0700, Jarkko Sakkinen wrote: On Mon, May 22, 2017 at 09:21:28AM +0200, Roberto Sassu wrote: On 5/20/2017 3:22 PM, Jarkko Sakkinen wrote: On Mon, May 15, 2017 at 04:22:22PM +0200, Roberto Sassu wrote: On

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-24 Thread Jarkko Sakkinen
On Wed, May 24, 2017 at 10:33:54AM -0700, Jarkko Sakkinen wrote: > On Mon, May 22, 2017 at 09:21:28AM +0200, Roberto Sassu wrote: > > On 5/20/2017 3:22 PM, Jarkko Sakkinen wrote: > > > On Mon, May 15, 2017 at 04:22:22PM +0200, Roberto Sassu wrote: > > > > On 5/15/2017 1:16 PM, Jarkko Sakkinen

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-24 Thread Jarkko Sakkinen
On Wed, May 24, 2017 at 10:33:54AM -0700, Jarkko Sakkinen wrote: > On Mon, May 22, 2017 at 09:21:28AM +0200, Roberto Sassu wrote: > > On 5/20/2017 3:22 PM, Jarkko Sakkinen wrote: > > > On Mon, May 15, 2017 at 04:22:22PM +0200, Roberto Sassu wrote: > > > > On 5/15/2017 1:16 PM, Jarkko Sakkinen

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-24 Thread Jarkko Sakkinen
On Mon, May 22, 2017 at 09:21:28AM +0200, Roberto Sassu wrote: > On 5/20/2017 3:22 PM, Jarkko Sakkinen wrote: > > On Mon, May 15, 2017 at 04:22:22PM +0200, Roberto Sassu wrote: > > > On 5/15/2017 1:16 PM, Jarkko Sakkinen wrote: > > > > On Fri, May 05, 2017 at 04:21:49PM +0200, Roberto Sassu wrote:

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-24 Thread Jarkko Sakkinen
On Mon, May 22, 2017 at 09:21:28AM +0200, Roberto Sassu wrote: > On 5/20/2017 3:22 PM, Jarkko Sakkinen wrote: > > On Mon, May 15, 2017 at 04:22:22PM +0200, Roberto Sassu wrote: > > > On 5/15/2017 1:16 PM, Jarkko Sakkinen wrote: > > > > On Fri, May 05, 2017 at 04:21:49PM +0200, Roberto Sassu wrote:

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-22 Thread Roberto Sassu
On 5/20/2017 3:22 PM, Jarkko Sakkinen wrote: On Mon, May 15, 2017 at 04:22:22PM +0200, Roberto Sassu wrote: On 5/15/2017 1:16 PM, Jarkko Sakkinen wrote: On Fri, May 05, 2017 at 04:21:49PM +0200, Roberto Sassu wrote: tpm_pcr_algorithms() returns to its callers the IDs of the hash algorithms

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-22 Thread Roberto Sassu
On 5/20/2017 3:22 PM, Jarkko Sakkinen wrote: On Mon, May 15, 2017 at 04:22:22PM +0200, Roberto Sassu wrote: On 5/15/2017 1:16 PM, Jarkko Sakkinen wrote: On Fri, May 05, 2017 at 04:21:49PM +0200, Roberto Sassu wrote: tpm_pcr_algorithms() returns to its callers the IDs of the hash algorithms

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-20 Thread Jarkko Sakkinen
On Mon, May 15, 2017 at 04:22:22PM +0200, Roberto Sassu wrote: > On 5/15/2017 1:16 PM, Jarkko Sakkinen wrote: > > On Fri, May 05, 2017 at 04:21:49PM +0200, Roberto Sassu wrote: > > > tpm_pcr_algorithms() returns to its callers the IDs of the hash algorithms > > > supported by the TPM. This patch

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-20 Thread Jarkko Sakkinen
On Mon, May 15, 2017 at 04:22:22PM +0200, Roberto Sassu wrote: > On 5/15/2017 1:16 PM, Jarkko Sakkinen wrote: > > On Fri, May 05, 2017 at 04:21:49PM +0200, Roberto Sassu wrote: > > > tpm_pcr_algorithms() returns to its callers the IDs of the hash algorithms > > > supported by the TPM. This patch

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-15 Thread Roberto Sassu
On 5/15/2017 1:16 PM, Jarkko Sakkinen wrote: On Fri, May 05, 2017 at 04:21:49PM +0200, Roberto Sassu wrote: tpm_pcr_algorithms() returns to its callers the IDs of the hash algorithms supported by the TPM. This patch introduces tpm_pcr_algo_to_crypto(), so that the callers can use the crypto

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-15 Thread Roberto Sassu
On 5/15/2017 1:16 PM, Jarkko Sakkinen wrote: On Fri, May 05, 2017 at 04:21:49PM +0200, Roberto Sassu wrote: tpm_pcr_algorithms() returns to its callers the IDs of the hash algorithms supported by the TPM. This patch introduces tpm_pcr_algo_to_crypto(), so that the callers can use the crypto

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-15 Thread Jarkko Sakkinen
On Fri, May 05, 2017 at 04:21:49PM +0200, Roberto Sassu wrote: > tpm_pcr_algorithms() returns to its callers the IDs of the hash algorithms > supported by the TPM. This patch introduces tpm_pcr_algo_to_crypto(), > so that the callers can use the crypto subsystem to calculate the digest > to be

Re: [PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-15 Thread Jarkko Sakkinen
On Fri, May 05, 2017 at 04:21:49PM +0200, Roberto Sassu wrote: > tpm_pcr_algorithms() returns to its callers the IDs of the hash algorithms > supported by the TPM. This patch introduces tpm_pcr_algo_to_crypto(), > so that the callers can use the crypto subsystem to calculate the digest > to be

[PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-05 Thread Roberto Sassu
tpm_pcr_algorithms() returns to its callers the IDs of the hash algorithms supported by the TPM. This patch introduces tpm_pcr_algo_to_crypto(), so that the callers can use the crypto subsystem to calculate the digest to be passed to tpm_pcr_extend(). tpm_pcr_algo_from_crypto(), implemented for

[PATCH v2 2/5] tpm: introduce tpm_pcr_algo_to_crypto() and tpm_pcr_algo_from_crypto()

2017-05-05 Thread Roberto Sassu
tpm_pcr_algorithms() returns to its callers the IDs of the hash algorithms supported by the TPM. This patch introduces tpm_pcr_algo_to_crypto(), so that the callers can use the crypto subsystem to calculate the digest to be passed to tpm_pcr_extend(). tpm_pcr_algo_from_crypto(), implemented for