[PATCH 0/7] crypto: sun8i-ss: support PRNG and hashes

From: Corentin Labbe
Date: Fri Apr 03 2020 - 15:50:52 EST


Hello

The main goal of this serie is to add support for PRNG and hashes to the
sun8i-ss.
The whole serie is tested with CRYPTO_EXTRA_TESTS enabled and loading
tcrypt.
The PRNG is tested with rngtest.

Regards

Corentin Labbe (7):
crypto: rng - add missing __crypto_rng_cast to the rng header
crypto: sun8i-ss: Add SS_START define
crypto: sun8i-ss: Add support for the PRNG
crypto: sun8i-ss: support hash algorithms
crypto: sun8i-ss: fix a trivial typo
crypto: sun8i-ss: Add more comment on some structures
crypto: sun8i-ss: better debug printing

drivers/crypto/allwinner/Kconfig | 17 +
drivers/crypto/allwinner/sun8i-ss/Makefile | 2 +
.../crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 198 +++++++-
.../crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 446 ++++++++++++++++++
.../crypto/allwinner/sun8i-ss/sun8i-ss-prng.c | 169 +++++++
drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h | 93 +++-
include/crypto/rng.h | 5 +
7 files changed, 927 insertions(+), 3 deletions(-)
create mode 100644 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c
create mode 100644 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c

--
2.24.1