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


Groups > linux.kernel > #1264938

Re: [PATCH 08/10] tpm: seal/unseal for TPM 2.0

From Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 08/10] tpm: seal/unseal for TPM 2.0
Date 2015-11-07 22:50 +0100
Message-ID <qsjwZ-7L2-11@gated-at.bofh.it> (permalink)
References <qkieK-6nN-5@gated-at.bofh.it> <qkieL-6nN-41@gated-at.bofh.it> <qsgSu-631-7@gated-at.bofh.it>
Organization Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo

Show all headers | View raw


On Sat, Nov 07, 2015 at 10:58:03AM -0800, Jeremiah Mahler wrote:
> Jarkko,
> 
> On Fri, Oct 16, 2015 at 09:40:27PM +0300, Jarkko Sakkinen wrote:
> > Added tpm_trusted_seal() and tpm_trusted_unseal() API for sealing
> > trusted keys.
> > 
> > This patch implements basic sealing and unsealing functionality for
> > TPM 2.0:
> > 
> > * Seal with a parent key using a 20 byte auth value.
> > * Unseal with a parent key using a 20 byte auth value.
> > 
> > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
> > ---
> >  drivers/char/tpm/tpm-interface.c |  76 ++++++++++++
> >  drivers/char/tpm/tpm.h           |  15 ++-
> >  drivers/char/tpm/tpm2-cmd.c      | 250 ++++++++++++++++++++++++++++++++++++++-
> >  include/keys/trusted-type.h      |   2 +-
> >  include/linux/tpm.h              |  26 ++++
> >  5 files changed, 366 insertions(+), 3 deletions(-)
> > 
> 
> This patch adds a lot of code but doesn't use any of it until later
> patches.  This can make using 'git bisect' more difficult because it
> will point to the wrong patches.  If this were my patch series I would
> combine this patch with the later ones that actually start using the
> code.
> 
> [...]

I do agree with you that it'd had been a good idea. Thanks for the
feedback.

> -- 
> - Jeremiah Mahler
> --

/Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: [PATCH 08/10] tpm: seal/unseal for TPM 2.0 Jeremiah Mahler <jmmahler@gmail.com> - 2015-11-07 20:00 +0100
  Re: [PATCH 08/10] tpm: seal/unseal for TPM 2.0 Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2015-11-07 22:50 +0100

csiph-web