OSDN Git Service

crypto: sun8i-ce - Add support for the PRNG
authorCorentin Labbe <clabbe@baylibre.com>
Fri, 18 Sep 2020 07:23:12 +0000 (07:23 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Sep 2020 07:48:27 +0000 (17:48 +1000)
commit5eb7e946888493959b1c393144934afcbcd0cfc1
treeca7dc5edccf11785c65783cc4f03d3e3cc44b6f4
parent5c394170d8c652b17a9e1e35d3b99f558867dbb8
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>
drivers/crypto/allwinner/Kconfig
drivers/crypto/allwinner/sun8i-ce/Makefile
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c [new file with mode: 0644]
drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h