crypto: sun4i-ss - support the Security System PRNG
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Mon, 3 Jul 2017 18:48:48 +0000 (20:48 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Jul 2017 09:50:55 +0000 (17:50 +0800)
commitb8ae5c7387ad075ee61e8c8774ce2bca46bc9236
treec200c113a4691166b83f41a85d75e6d3e67ac5ec
parent3822c331c5be580d8f9f65bdd6c0c187e0c5b503
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>
drivers/crypto/Kconfig
drivers/crypto/sunxi-ss/Makefile
drivers/crypto/sunxi-ss/sun4i-ss-core.c
drivers/crypto/sunxi-ss/sun4i-ss-prng.c [new file with mode: 0644]
drivers/crypto/sunxi-ss/sun4i-ss.h