Re: [PATCH v2, RESEND 2/3] tpm: modify tpm_pcr_read() definition to pass TPM hash algorithms

From: Mimi Zohar
Date: Fri Sep 21 2018 - 10:00:19 EST


On Fri, 2018-09-21 at 12:24 +0200, Roberto Sassu wrote:
> On 9/17/2018 11:38 AM, Roberto Sassu wrote:
> > Currently the TPM driver allows other kernel subsystems to read only the
> > SHA1 PCR bank. This patch modifies the parameters of tpm_pcr_read() and
> > tpm2_pcr_read() to pass an array of tpm_digest structures, which contains
> > the desired hash algorithms. Initially, the array size is limited to 1.
>
> Jarkko, is this patch ok?
>
> Mimi, I wait for your review of the IMA part.

Yes, I know. ÂI've been on vacation and am hoping to review your, Eric
Bigger's and Nayna's patches soon. ÂSorry for the delay!

Mimi