summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/Kconfig
diff options
context:
space:
mode:
authorKent Yoder <key@linux.vnet.ibm.com>2012-08-08 14:18:57 -0500
committerKent Yoder <key@linux.vnet.ibm.com>2012-08-22 11:11:41 -0500
commit578b016fdc91464c08c096f0c5952cae549fdb8f (patch)
tree24c6afd153f4da3c4fed72f6d7932938642a8c8c /drivers/char/hw_random/Kconfig
parent41ab999c80f1d368f32a2554ba8f44feff26f54d (diff)
downloadtalos-obmc-linux-578b016fdc91464c08c096f0c5952cae549fdb8f.tar.gz
talos-obmc-linux-578b016fdc91464c08c096f0c5952cae549fdb8f.zip
hw_random: add support for the TPM chip as a hardware RNG source
This driver will make use of any available TPM chip on the system as a hwrng source. Acked-by: David Safford <safford@linux.vnet.ibm.com> Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/char/hw_random/Kconfig')
-rw-r--r--drivers/char/hw_random/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 7c0d391996b5..fbd9b2b850ef 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -289,3 +289,16 @@ config HW_RANDOM_EXYNOS
module will be called exynos-rng.
If unsure, say Y.
+
+config HW_RANDOM_TPM
+ tristate "TPM HW Random Number Generator support"
+ depends on HW_RANDOM && TCG_TPM
+ default HW_RANDOM
+ ---help---
+ This driver provides kernel-side support for the Random Number
+ Generator in the Trusted Platform Module
+
+ To compile this driver as a module, choose M here: the
+ module will be called tpm-rng.
+
+ If unsure, say Y.
OpenPOWER on IntegriCloud