mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: Corentin Labbe <clabbe@baylibre.com>
Cc: davem@davemloft.net, mripard@kernel.org, wens@csie.org,
	linux-arm-kernel@lists.infradead.org,
	linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-sunxi@googlegroups.com
Subject: Re: [PATCH v7 00/17] crypto: allwinner: add xRNG and hashes
Date: Fri, 25 Sep 2020 18:16:32 +1000	[thread overview]
Message-ID: <20200925081632.GP6381@gondor.apana.org.au> (raw)
In-Reply-To: <1600413795-39256-1-git-send-email-clabbe@baylibre.com>

On Fri, Sep 18, 2020 at 07:22:58AM +0000, Corentin Labbe wrote:
> Hello
> 
> The main goal of this serie is to add support for TRNG, PRNG and hashes
> to the sun8i-ss/sun8i-ce driver.
> The whole serie is tested with CRYPTO_EXTRA_TESTS enabled and loading
> tcrypt.
> The PRNG and TRNG are tested with rngtest.
> Both LE and BE kernel are tested.
> 
> This serie was tested on:
> - sun50i-a64-pine64
> - sun8i-a83t-bananapi-m3
> - sun8i-r40-bananapi-m2-ultra
> - sun50i-h5-libretech-all-h3-cc
> - sun8i-h3-orangepi-pc
> 
> Regards
> 
> Change since v1:
> - removed _crypto_rng_cast patch
> 
> Change since v2:
> - cleaned unused variables from sun8i-ce-prng
> - added some missing memzero_explicit
> 
> Change since v3:
> - rebased on latest next
> - removed useless cpu_to_le32() in sun8i-ss
> - added 2 last patches
> - add handle endianness of t_common_ctl patch
> 
> Change since v4:
> - added a style issue patch
> 
> Changes since v5:
> - handle failure pattern of pm_runtime_get_sync
> - Add missing linux/dma-mapping.h
> 
> Changes since v6:
> - fix sparse error in sun8i-ce-cipher.c
> 
> Corentin Labbe (17):
>   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
>   crypto: sun8i-ce: handle endianness of t_common_ctl
>   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
>   crypto: sun8i-ce: fix comparison of integer expressions of different
>     signedness
>   crypto: sun8i-ss: fix comparison of integer expressions of different
>     signedness
> 
>  drivers/crypto/allwinner/Kconfig              |  43 ++
>  drivers/crypto/allwinner/sun8i-ce/Makefile    |   3 +
>  .../allwinner/sun8i-ce/sun8i-ce-cipher.c      | 116 +++--
>  .../crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 381 ++++++++++++++-
>  .../crypto/allwinner/sun8i-ce/sun8i-ce-hash.c | 413 ++++++++++++++++
>  .../crypto/allwinner/sun8i-ce/sun8i-ce-prng.c | 164 +++++++
>  .../crypto/allwinner/sun8i-ce/sun8i-ce-trng.c | 127 +++++
>  drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h  | 139 +++++-
>  drivers/crypto/allwinner/sun8i-ss/Makefile    |   2 +
>  .../crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 205 +++++++-
>  .../crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 444 ++++++++++++++++++
>  .../crypto/allwinner/sun8i-ss/sun8i-ss-prng.c | 173 +++++++
>  drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h  |  89 +++-
>  13 files changed, 2240 insertions(+), 59 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
>  create mode 100644 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c
>  create mode 100644 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c

All applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

      parent reply	other threads:[~2020-09-25  8:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-18  7:22 Corentin Labbe
2020-09-18  7:22 ` [PATCH v7 01/17] crypto: sun8i-ss: Add SS_START define Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 02/17] crypto: sun8i-ss: Add support for the PRNG Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 03/17] crypto: sun8i-ss: support hash algorithms Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 04/17] crypto: sun8i-ss: fix a trivial typo Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 05/17] crypto: sun8i-ss: Add more comment on some structures Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 06/17] crypto: sun8i-ss: better debug printing Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 07/17] crypto: sun8i-ce: handle endianness of t_common_ctl Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 08/17] crypto: sun8i-ce: move iv data to request context Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 09/17] crypto: sun8i-ce: split into prepare/run/unprepare Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 10/17] crypto: sun8i-ce: handle different error registers Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 11/17] crypto: sun8i-ce: rename has_t_dlen_in_bytes to cipher_t_dlen_in_bytes Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 12/17] crypto: sun8i-ce: support hash algorithms Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 13/17] crypto: sun8i-ce: Add stat_bytes debugfs Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 14/17] crypto: sun8i-ce: Add support for the PRNG Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 15/17] crypto: sun8i-ce: Add support for the TRNG Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 16/17] crypto: sun8i-ce: fix comparison of integer expressions of different signedness Corentin Labbe
2020-09-18  7:23 ` [PATCH v7 17/17] crypto: sun8i-ss: " Corentin Labbe
2020-09-25  8:16 ` Herbert Xu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200925081632.GP6381@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=clabbe@baylibre.com \
    --cc=davem@davemloft.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=mripard@kernel.org \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®