diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2020-09-18 09:23:12 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-09-25 09:48:27 +0200 |
commit | 5eb7e946888493959b1c393144934afcbcd0cfc1 (patch) | |
tree | ca7dc5edccf11785c65783cc4f03d3e3cc44b6f4 /drivers/crypto/allwinner/Kconfig | |
parent | crypto: sun8i-ce - Add stat_bytes debugfs (diff) | |
download | linux-5eb7e946888493959b1c393144934afcbcd0cfc1.tar.xz linux-5eb7e946888493959b1c393144934afcbcd0cfc1.zip |
crypto: sun8i-ce - Add support for the PRNG
This patch had support for the PRNG present in the CE.
The output was tested with rngtest without any failure.
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/allwinner/Kconfig')
-rw-r--r-- | drivers/crypto/allwinner/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/crypto/allwinner/Kconfig b/drivers/crypto/allwinner/Kconfig index fae6e50ee569..10b20c4c9501 100644 --- a/drivers/crypto/allwinner/Kconfig +++ b/drivers/crypto/allwinner/Kconfig @@ -69,6 +69,14 @@ config CRYPTO_DEV_SUN8I_CE_HASH help Say y to enable support for hash algorithms. +config CRYPTO_DEV_SUN8I_CE_PRNG + bool "Support for Allwinner Crypto Engine PRNG" + depends on CRYPTO_DEV_SUN8I_CE + select CRYPTO_RNG + help + Select this option if you want to provide kernel-side support for + the Pseudo-Random Number Generator found in the Crypto Engine. + config CRYPTO_DEV_SUN8I_SS tristate "Support for Allwinner Security System cryptographic offloader" select CRYPTO_SKCIPHER |