mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Corentin Labbe <clabbe.montjoie@gmail.com>
To: davem@davemloft.net, herbert@gondor.apana.org.au,
	maxime.ripard@bootlin.com, wens@csie.org
Cc: linux-arm-kernel@lists.infradead.org,
	linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-sunxi@googlegroups.com, ebiggers@kernel.org,
	Corentin Labbe <clabbe.montjoie@gmail.com>
Subject: [PATCH 0/4] crypto: sun4i-ss: Fix problem reported by CONFIG_CRYPTO_EXTRA_TESTS
Date: Thu, 18 Apr 2019 10:17:31 +0200	[thread overview]
Message-ID: <20190418081735.19002-1-clabbe.montjoie@gmail.com> (raw)

Hello

Loading sun4i-ss with CONFIG_CRYPTO_EXTRA_TESTS, lead to hung tasks.
This patchset fix the two deadlock (one in hash, one in cipher) found.
This patchset fix also some invalid IV handling found while debugging
thoses issues.

Regards

Corentin Labbe (4):
  crypto: sun4i-ss: Handle better absence/presence of IV
  crypto: sun4i-ss: remove ivsize from ECB
  crypto: sun4i-ss: Fix invalid calculation of hash end
  crypto: sun4i-ss: fallback when length is not multiple of blocksize

 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c | 67 ++++++++++++++++++-----
 drivers/crypto/sunxi-ss/sun4i-ss-core.c   | 19 ++++---
 drivers/crypto/sunxi-ss/sun4i-ss-hash.c   |  5 +-
 drivers/crypto/sunxi-ss/sun4i-ss.h        |  2 +
 4 files changed, 71 insertions(+), 22 deletions(-)

-- 
2.21.0


             reply	other threads:[~2019-04-18  8:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-18  8:17 Corentin Labbe [this message]
2019-04-18  8:17 ` [PATCH 1/4] crypto: sun4i-ss: Handle better absence/presence of IV Corentin Labbe
2019-04-18  8:17 ` [PATCH 2/4] crypto: sun4i-ss: remove ivsize from ECB Corentin Labbe
2019-04-18  8:17 ` [PATCH 3/4] crypto: sun4i-ss: Fix invalid calculation of hash end Corentin Labbe
2019-04-18  8:17 ` [PATCH 4/4] crypto: sun4i-ss: fallback when length is not multiple of blocksize Corentin Labbe
2019-04-25  7:50 ` [PATCH 0/4] crypto: sun4i-ss: Fix problem reported by CONFIG_CRYPTO_EXTRA_TESTS Herbert Xu

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=20190418081735.19002-1-clabbe.montjoie@gmail.com \
    --to=clabbe.montjoie@gmail.com \
    --cc=davem@davemloft.net \
    --cc=ebiggers@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --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=maxime.ripard@bootlin.com \
    --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®