Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1636309

Re: [PATCH v2, RESEND 3/3] tpm: move TPM 1.2 code of tpm_pcr_extend() to tpm1_pcr_extend()

From Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2, RESEND 3/3] tpm: move TPM 1.2 code of tpm_pcr_extend() to tpm1_pcr_extend()
Date 2017-05-05 13:00 +0200
Message-ID <tDJ7Q-CE-9@gated-at.bofh.it> (permalink)
References <tD5k5-7NI-7@gated-at.bofh.it> <tDmXD-2GO-3@gated-at.bofh.it>
Organization Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo

Show all headers | View raw


On Thu, May 04, 2017 at 01:16:47PM +0200, Roberto Sassu wrote:
> In preparation of the modifications to tpm_pcr_extend(), which will
> allow callers to supply a digest for each PCR bank of a TPM 2.0,
> the TPM 1.2 specific code has been moved to tpm1_pcr_extend().
> 
> tpm1_pcr_extend() uses tpm_buf_init() to prepare the command buffer,
> which offers protection against buffer overflow. It is called by
> tpm_pcr_extend() and tpm_pm_suspend().
> 
> Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>

Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>

/Jarkko

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/3] tpm_pcr_extend() code split Roberto Sassu <roberto.sassu@huawei.com> - 2017-05-03 18:30 +0200
  [PATCH v2 2/3] tpm: move endianness conversion of ordinals to tpm_input_header Roberto Sassu <roberto.sassu@huawei.com> - 2017-05-03 18:30 +0200
    Re: [PATCH v2 2/3] tpm: move endianness conversion of ordinals to  tpm_input_header Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-05-04 19:40 +0200
  [PATCH v2 3/3] tpm: move TPM 1.2 code of tpm_pcr_extend() to tpm1_pcr_extend() Roberto Sassu <roberto.sassu@huawei.com> - 2017-05-03 18:30 +0200
    Re: [PATCH v2 3/3] tpm: move TPM 1.2 code of tpm_pcr_extend() to  tpm1_pcr_extend() Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-05-04 12:10 +0200
  Re: [PATCH v2 0/3] tpm_pcr_extend() code split Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-05-04 11:30 +0200
    Re: [PATCH v2 0/3] tpm_pcr_extend() code split Roberto Sassu <roberto.sassu@huawei.com> - 2017-05-04 14:40 +0200
    Re: [PATCH v2 0/3] tpm_pcr_extend() code split Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-05-04 19:40 +0200
  [PATCH v2, RESEND 3/3] tpm: move TPM 1.2 code of tpm_pcr_extend() to tpm1_pcr_extend() Roberto Sassu <roberto.sassu@huawei.com> - 2017-05-04 13:20 +0200
    Re: [PATCH v2, RESEND 3/3] tpm: move TPM 1.2 code of  tpm_pcr_extend() to tpm1_pcr_extend() Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-05-05 13:00 +0200

csiph-web