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

From: Jeremiah Mahler
Date: Sat Nov 07 2015 - 13:58:16 EST


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@xxxxxxxxxxxxxxx>
> ---
> 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.

[...]

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