diff options
author | Corentin LABBE <clabbe.montjoie@gmail.com> | 2017-07-03 21:48:48 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-07-18 12:50:55 +0300 |
commit | b8ae5c7387ad075ee61e8c8774ce2bca46bc9236 (patch) | |
tree | c200c113a4691166b83f41a85d75e6d3e67ac5ec /drivers/crypto/Kconfig | |
parent | 3822c331c5be580d8f9f65bdd6c0c187e0c5b503 (diff) | |
download | linux-b8ae5c7387ad075ee61e8c8774ce2bca46bc9236.tar.xz |
crypto: sun4i-ss - support the Security System PRNG
The Security System has a PRNG, this patch adds support for it via
crypto_rng.
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r-- | drivers/crypto/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 4b75084fabad..5db825a469de 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -616,6 +616,14 @@ config CRYPTO_DEV_SUN4I_SS To compile this driver as a module, choose M here: the module will be called sun4i-ss. +config CRYPTO_DEV_SUN4I_SS_PRNG + bool "Support for Allwinner Security System PRNG" + depends on CRYPTO_DEV_SUN4I_SS + select CRYPTO_RNG + help + Select this option if you want to provide kernel-side support for + the Pseudo-Random Number Generator found in the Security System. + config CRYPTO_DEV_ROCKCHIP tristate "Rockchip's Cryptographic Engine driver" depends on OF && ARCH_ROCKCHIP |