OSDN Git Service

crypto: sun8i-ss - Add support for the PRNG
authorCorentin Labbe <clabbe@baylibre.com>
Fri, 18 Sep 2020 07:23:00 +0000 (07:23 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Sep 2020 07:48:16 +0000 (17:48 +1000)
commitac2614d721dea2ff273af19c6c5d508d58a2bb3e
treed2b399ca96c390c093b4d33d9fd513e214eabc36
parentf1455b18ee182e07a5d9c0fe3e102a33fc5e6f34
crypto: sun8i-ss - Add support for the PRNG

This patch had support for the PRNG present in the SS.
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-ss/Makefile
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c [new file with mode: 0644]
drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h