[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190122165509.GA3687@linux.intel.com>
Date: Tue, 22 Jan 2019 18:55:09 +0200
From: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To: Roberto Sassu <roberto.sassu@...wei.com>
Cc: zohar@...ux.ibm.com, david.safford@...com, monty.wiseman@...com,
linux-integrity@...r.kernel.org,
linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, silviu.vlasceanu@...wei.com,
Matthew Garrett <matthewgarrett@...gle.com>
Subject: Re: [PATCH v7 5/5] tpm: pass an array of tpm_extend_digest
structures to tpm_pcr_extend()
On Mon, Jan 21, 2019 at 02:50:49PM +0100, Roberto Sassu wrote:
> On 1/21/2019 1:37 PM, Jarkko Sakkinen wrote:
> > 3. The would be nothing wrong exposing struct tpm_chip in
> > include/linux/tpm.h. I would be totally fine with that.
>
> Should I do it in a separate patch (before 5/5)?
Yes.
> Is it fine to call tpm_default_chip() only in pcrlock() for trusted
> keys?
I think you should get the reference in init_trusted() (similar pattern
as in IMA).
/Jarkko
Powered by blists - more mailing lists