public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kent Yoder <key@linux.vnet.ibm.com>
To: linux-kernel@vger.kernel.org
Cc: tpmdd-devel@lists.sourceforge.net, m.selhorst@sirrix.com,
	safford@us.ibm.com, key@linux.vnet.ibm.com
Subject: [PATCH 0/2] Move the tpm_get_random api and add an hwrng driver for it
Date: Thu, 07 Jun 2012 13:42:47 -0500	[thread overview]
Message-ID: <1339094567.21398.2.camel@key-ThinkPad-W510> (raw)

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



             reply	other threads:[~2012-06-07 18:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-07 18:42 Kent Yoder [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1339094567.21398.2.camel@key-ThinkPad-W510 \
    --to=key@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.selhorst@sirrix.com \
    --cc=safford@us.ibm.com \
    --cc=tpmdd-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox