summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/Kconfig
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2016-04-18 12:57:41 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-20 17:50:02 +0800
commit5343e674f32fb82b7a80a24b5a84eee62d3fe624 (patch)
tree33fdbbb3df21e5aaef8b15b59822778016141c40 /drivers/crypto/Kconfig
parente81f3340bba2bdcdf021aff511830e718e6e2112 (diff)
downloadlinux-5343e674f32fb82b7a80a24b5a84eee62d3fe624.tar.gz
linux-5343e674f32fb82b7a80a24b5a84eee62d3fe624.tar.bz2
linux-5343e674f32fb82b7a80a24b5a84eee62d3fe624.zip
crypto4xx: integrate ppc4xx-rng into crypto4xx
This patch integrates the ppc4xx-rng driver into the existing crypto4xx. This is because the true random number generator is controlled and part of the security core. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r--drivers/crypto/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 0a22ac7db360..12fd49950f47 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -279,6 +279,14 @@ config CRYPTO_DEV_PPC4XX
help
This option allows you to have support for AMCC crypto acceleration.
+config HW_RANDOM_PPC4XX
+ bool "PowerPC 4xx generic true random number generator support"
+ depends on CRYPTO_DEV_PPC4XX && HW_RANDOM
+ default y
+ ---help---
+ This option provides the kernel-side support for the TRNG hardware
+ found in the security function of some PowerPC 4xx SoCs.
+
config CRYPTO_DEV_OMAP_SHAM
tristate "Support for OMAP MD5/SHA1/SHA2 hw accelerator"
depends on ARCH_OMAP2PLUS