public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Move the tpm_get_random api and add an hwrng driver for it
@ 2012-06-07 18:42 Kent Yoder
  2012-06-07 18:47 ` [PATCH 1/2] tpm: Move tpm_get_random api into the TPM device driver Kent Yoder
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Kent Yoder @ 2012-06-07 18:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: tpmdd-devel, m.selhorst, safford, key

These patches move the tpm_get_random API out of the trusted keys code
and into the tpm device driver itself.  Then a hwrng driver is added that
makes use of the API to provide a H/W RNG source.

  These are based off the latest upstream kernel.

Thanks,
Kent

Kent Yoder (2):
  tpm: Move tpm_get_random api into the TPM device driver
  hw_random: add support for the TPM chip as a hardware RNG source

 drivers/char/hw_random/Kconfig   |   13 +++++++++
 drivers/char/hw_random/Makefile  |    1 +
 drivers/char/hw_random/tpm-rng.c |   55 ++++++++++++++++++++++++++++++++++++++
 drivers/char/tpm/tpm.c           |   53 ++++++++++++++++++++++++++++++++----
 drivers/char/tpm/tpm.h           |   23 ++++++++++++++++
 include/linux/tpm.h              |    4 +++
 security/keys/trusted.c          |   47 +++++++-------------------------
 7 files changed, 153 insertions(+), 43 deletions(-)
 create mode 100644 drivers/char/hw_random/tpm-rng.c

-- 
1.7.5.4



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

end of thread, other threads:[~2012-07-27 15:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-07 18:42 [PATCH 0/2] Move the tpm_get_random api and add an hwrng driver for it Kent Yoder
2012-06-07 18:47 ` [PATCH 1/2] tpm: Move tpm_get_random api into the TPM device driver Kent Yoder
2012-06-08 19:13   ` David Safford
2012-07-26 22:12   ` H. Peter Anvin
2012-07-27 14:49     ` Kent Yoder
2012-07-27 15:07       ` H. Peter Anvin
2012-07-27  0:10   ` H. Peter Anvin
2012-07-27 14:51     ` Kent Yoder
2012-06-07 18:47 ` [PATCH 2/2] hw_random: add support for the TPM chip as a hardware RNG source Kent Yoder
2012-06-08 19:13   ` David Safford
2012-07-26 21:58   ` H. Peter Anvin
2012-07-26 22:28     ` H. Peter Anvin
2012-06-08 19:13 ` [PATCH 0/2] Move the tpm_get_random api and add an hwrng driver for it David Safford

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