diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2020-09-18 07:23:13 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-09-25 17:48:28 +1000 |
commit | 4a07eab32f4b5f432ee9d212b8db1b8e4699e9db (patch) | |
tree | 1d2d87c695a2bf9b19fc1351f9ceb628f257bb74 /drivers/crypto/allwinner/sun8i-ce/Makefile | |
parent | 5eb7e946888493959b1c393144934afcbcd0cfc1 (diff) | |
download | linux-stable-4a07eab32f4b5f432ee9d212b8db1b8e4699e9db.tar.gz linux-stable-4a07eab32f4b5f432ee9d212b8db1b8e4699e9db.tar.bz2 linux-stable-4a07eab32f4b5f432ee9d212b8db1b8e4699e9db.zip |
crypto: sun8i-ce - Add support for the TRNG
This patch had support for the TRNG present in the CE.
Note that according to the algorithm ID, 2 version of the TRNG exists,
the first present in H3/H5/R40/A64 and the second present in H6.
This patch adds support for both, but only the second is working
reliabily according to rngtest.
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/allwinner/sun8i-ce/Makefile')
-rw-r--r-- | drivers/crypto/allwinner/sun8i-ce/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/allwinner/sun8i-ce/Makefile b/drivers/crypto/allwinner/sun8i-ce/Makefile index c0ea81da2c7d..0842eb2d9408 100644 --- a/drivers/crypto/allwinner/sun8i-ce/Makefile +++ b/drivers/crypto/allwinner/sun8i-ce/Makefile @@ -2,3 +2,4 @@ obj-$(CONFIG_CRYPTO_DEV_SUN8I_CE) += sun8i-ce.o sun8i-ce-y += sun8i-ce-core.o sun8i-ce-cipher.o sun8i-ce-$(CONFIG_CRYPTO_DEV_SUN8I_CE_HASH) += sun8i-ce-hash.o sun8i-ce-$(CONFIG_CRYPTO_DEV_SUN8I_CE_PRNG) += sun8i-ce-prng.o +sun8i-ce-$(CONFIG_CRYPTO_DEV_SUN8I_CE_TRNG) += sun8i-ce-trng.o |