diff options
author | Kent Yoder <key@linux.vnet.ibm.com> | 2012-08-08 14:18:57 -0500 |
---|---|---|
committer | Kent Yoder <key@linux.vnet.ibm.com> | 2012-08-22 11:11:41 -0500 |
commit | 578b016fdc91464c08c096f0c5952cae549fdb8f (patch) | |
tree | 24c6afd153f4da3c4fed72f6d7932938642a8c8c /drivers/char/hw_random/Kconfig | |
parent | 41ab999c80f1d368f32a2554ba8f44feff26f54d (diff) | |
download | talos-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/Kconfig | 13 |
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. |