Skip to content

crypto: sun8i-ss: support PRNG and hashes

Corentin Labbe linux-arm-kernel linux-crypto lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7crypto: rng - add missing __crypto_rng_cast to the rng headerinclude/crypto/rng.h+5 -01 reply
2/7crypto: sun8i-ss: Add SS_START definedrivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h+3 -10 replies
3/7crypto: sun8i-ss: Add support for the PRNGdrivers/crypto/allwinner/Kconfig drivers/crypto/allwinner/sun8i-ss/Makefile drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c +2 more+242 -00 replies
4/7crypto: sun8i-ss: support hash algorithmsdrivers/crypto/allwinner/Kconfig drivers/crypto/allwinner/sun8i-ss/Makefile drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c +2 more+671 -00 replies
5/7crypto: sun8i-ss: fix a trivial typodrivers/crypto/allwinner/sun8i-ss/sun8i-ss.h+1 -10 replies
6/7crypto: sun8i-ss: Add more comment on some structuresdrivers/crypto/allwinner/sun8i-ss/sun8i-ss.h+4 -00 replies
7/7crypto: sun8i-ss: better debug printingdrivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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
Signature · 1 line
2.24.1