Re: [PATCH] security: Fix IMA Kconfig for dependencies on ARM64

From: James Bottomley
Date: Thu Mar 15 2018 - 13:29:51 EST


On Thu, 2018-03-15 at 13:14 -0400, Mimi Zohar wrote:
> On Thu, 2018-03-15 at 10:08 -0700, James Bottomley wrote:
> >
> > On Thu, 2018-03-15 at 12:19 -0400, Mimi Zohar wrote:
>
> >
> > >
> > > If EFI is extending the TPM, will the events be added to the TPM
> > > event log or to the IMA measurement list?
> >
> > I'm not proposing any changes to the tpm_pcr_extend API. ÂAt the
> > moment it does an extend without logging, so that's what it will do
> > in the EFI driver case as well. ÂThat means logging is still the
> > responsibility of the caller.
>
> Does EFI support extending multiple TPM banks?

The specs are here:

https://trustedcomputinggroup.org/tcg-efi-protocol-specification/

As I said, I'm not planning to change the tpm_pcr_.. API. ÂAt the
moment for a TPM2 we extend all banks in the tpm_pcr_extend() API, so
that's what we'll continue to do ... including extending the sha256
banks with the sha1 hash, which seems to be our current practice.

James