public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Basic trusted keys support for TPM 2.0
@ 2015-10-13  8:11 Jarkko Sakkinen
  2015-10-13  8:11 ` [PATCH v2 1/4] tpm: introduce tpm_buf Jarkko Sakkinen
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Jarkko Sakkinen @ 2015-10-13  8:11 UTC (permalink / raw)
  To: tpmdd-devel, linux-kernel
  Cc: peterhuewe, gregkh, jgunthorpe, Jarkko Sakkinen,
	open list:KEYS-TRUSTED, open list:KEYS-TRUSTED

Basic trusted keys support: auth value and SHA256.

v2:

* Removed all the changes that modify the existing functions to use
  the new struct tpm_buf. These changes should be done separately from
  this patch set as they require separate QA + review.
* 'keyhandle=' is now required for TPM2. Makes sense to always state
  the sealing key because there's no any fixed keys on the chip (thanks
  to Andreas Fuchs for this comment).
* I updated tpm_buf to a be heap based structure. Now there's one full
  page of memory for variable sized messages. Also the stack is greatly
  reduced.

Jarkko Sakkinen (4):
  tpm: introduce tpm_buf
  keys, trusted: move struct trusted_key_options to trusted-type.h
  tpm: seal/unseal for TPM 2.0
  keys, trusted: seal/unseal with TPM 2.0 chips

 drivers/char/tpm/tpm-interface.c |  76 ++++++++++++
 drivers/char/tpm/tpm.h           | 110 +++++++++++++++++
 drivers/char/tpm/tpm2-cmd.c      | 250 ++++++++++++++++++++++++++++++++++++++-
 include/keys/trusted-type.h      |  14 ++-
 include/linux/tpm.h              |  26 ++++
 security/keys/trusted.c          |  36 +++++-
 security/keys/trusted.h          |  11 --
 7 files changed, 507 insertions(+), 16 deletions(-)

-- 
2.5.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-10-16 18:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-13  8:11 [PATCH v2 0/4] Basic trusted keys support for TPM 2.0 Jarkko Sakkinen
2015-10-13  8:11 ` [PATCH v2 1/4] tpm: introduce tpm_buf Jarkko Sakkinen
2015-10-13  8:11 ` [PATCH v2 2/4] keys, trusted: move struct trusted_key_options to trusted-type.h Jarkko Sakkinen
2015-10-13  8:11 ` [PATCH v2 3/4] tpm: seal/unseal for TPM 2.0 Jarkko Sakkinen
2015-10-13  8:11 ` [PATCH v2 4/4] keys, trusted: seal/unseal with TPM 2.0 chips Jarkko Sakkinen
2015-10-13  8:53 ` [PATCH v2 0/4] Basic trusted keys support for TPM 2.0 Jarkko Sakkinen
2015-10-13 17:41 ` Jason Gunthorpe
2015-10-13 19:25   ` Jarkko Sakkinen
2015-10-16 16:21 ` David Howells
2015-10-16 18:30   ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox