linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] crypto: sun8i-ce: support TRNG, PRNG and hashes
@ 2020-04-13  9:58 Corentin Labbe
  2020-04-13  9:58 ` [PATCH 1/9] crypto: rng - add missing __crypto_rng_cast to the rng header Corentin Labbe
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Corentin Labbe @ 2020-04-13  9:58 UTC (permalink / raw)
  To: davem, herbert, mripard, wens
  Cc: linux-arm-kernel, linux-crypto, linux-kernel, linux-sunxi,
	Corentin Labbe

Hello

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

Note that the first patch is common with the recent sun8i-ss PRNG+hashes serie.

Regards

Corentin Labbe (9):
  crypto: rng - add missing __crypto_rng_cast to the rng header
  crypto: sun8i-ce: move iv data to request context
  crypto: sun8i-ce: split into prepare/run/unprepare
  crypto: sun8i-ce: handle different error registers
  crypto: sun8i-ce: rename has_t_dlen_in_bytes to cipher_t_dlen_in_bytes
  crypto: sun8i-ce: support hash algorithms
  crypto: sun8i-ce: Add stat_bytes debugfs
  crypto: sun8i-ce: Add support for the PRNG
  crypto: sun8i-ce: Add support for the TRNG

 drivers/crypto/allwinner/Kconfig              |  26 ++
 drivers/crypto/allwinner/sun8i-ce/Makefile    |   3 +
 .../allwinner/sun8i-ce/sun8i-ce-cipher.c      |  99 ++++-
 .../crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 365 ++++++++++++++-
 .../crypto/allwinner/sun8i-ce/sun8i-ce-hash.c | 415 ++++++++++++++++++
 .../crypto/allwinner/sun8i-ce/sun8i-ce-prng.c | 191 ++++++++
 .../crypto/allwinner/sun8i-ce/sun8i-ce-trng.c | 123 ++++++
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h  | 135 +++++-
 include/crypto/rng.h                          |   5 +
 9 files changed, 1323 insertions(+), 39 deletions(-)
 create mode 100644 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c
 create mode 100644 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c
 create mode 100644 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-trng.c

-- 
2.24.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-04-13 10:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13  9:58 [PATCH 0/9] crypto: sun8i-ce: support TRNG, PRNG and hashes Corentin Labbe
2020-04-13  9:58 ` [PATCH 1/9] crypto: rng - add missing __crypto_rng_cast to the rng header Corentin Labbe
2020-04-13  9:58 ` [PATCH 2/9] crypto: sun8i-ce: move iv data to request context Corentin Labbe
2020-04-13  9:58 ` [PATCH 3/9] crypto: sun8i-ce: split into prepare/run/unprepare Corentin Labbe
2020-04-13  9:58 ` [PATCH 4/9] crypto: sun8i-ce: handle different error registers Corentin Labbe
2020-04-13  9:58 ` [PATCH 5/9] crypto: sun8i-ce: rename has_t_dlen_in_bytes to cipher_t_dlen_in_bytes Corentin Labbe
2020-04-13  9:58 ` [PATCH 6/9] crypto: sun8i-ce: support hash algorithms Corentin Labbe
2020-04-13  9:58 ` [PATCH 7/9] crypto: sun8i-ce: Add stat_bytes debugfs Corentin Labbe
2020-04-13  9:58 ` [PATCH 8/9] crypto: sun8i-ce: Add support for the PRNG Corentin Labbe
2020-04-13  9:58 ` [PATCH 9/9] crypto: sun8i-ce: Add support for the TRNG Corentin Labbe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).