[PATCH v4 4/6] tpm: modify tpm_pcr_read() definition to pass a TPM hash algorithm
peterhuewe at gmx.de
Thu Nov 8 15:19:09 UTC 2018
Am 8. November 2018 16:15:04 MEZ schrieb Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>:
>On Thu, Nov 08, 2018 at 03:16:03PM +0100, Roberto Sassu wrote:
>> On 11/8/2018 3:04 PM, Jarkko Sakkinen wrote:
>> > On Tue, Nov 06, 2018 at 04:01:57PM +0100, Roberto Sassu wrote:
>> > > Currently the TPM driver allows other kernel subsystems to read
>> > > SHA1 PCR bank. This patch modifies the parameters of
>> > > tpm2_pcr_read() to pass a tpm_digest structure, which contains
>> > > hash algorithm. Also, since commit 125a22105410 ("tpm: React
>> > > RC_TESTING from TPM 2.0 self tests") removed the call to
>> > > the new parameter is expected to be always not NULL.
>> > >
>> > > Due to the API change, IMA functions have been modified.
>> > >
>> > > Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com>
>> > > Acked-by: Mimi Zohar <zohar at linux.ibm.com>
>> > Does not apply to the current upstream (with tpm1-cmd.c).
>> Unfortunately, I cannot fetch the repository as infradead.org only
>> supports the git protocol (I'm behind a proxy).
>I use a proxy script similar to this:
>(random googling but gives the idea)
Moving to a kernel.org repo would be really a benefit or convincing them to have a https interface as well.
We have the same proxy issue with infradead.
Sent from my mobile
More information about the Linux-security-module-archive