mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: Changwei Zou <changwei.zou@canonical.com>
Cc: sahil.malhotra@nxp.com, davem@davemloft.net,
	horia.geanta@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com,
	iuliana.prodan@nxp.com,
	martin.kepplinger-novakovic@ginzinger.com, lukas@wunner.de,
	sahil.malhotra@oss.nxp.com, linux-crypto@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/2] crypto: caam - Fix RSA destination buffer handling
Date: Thu, 8 Oct 2026 18:38:39 +1100	[thread overview]
Message-ID: <asdIf-bbjjSHRNh7@gondor.apana.org.au> (raw)
In-Reply-To: <20261004210200.290119-1-changwei.zou@canonical.com>

On Mon, Oct 05, 2026 at 08:01:58AM +1100, Changwei Zou wrote:
> This series fixes two issues in the rsa-caam driver.
> 
> Patch 1 fixes wrong unmap operations where rsa_pub_unmap() was called
> regardless of the key type.
> 
> Patch 2 adds a bounce buffer to handle unaligned RSA destination
> buffers on DMA-incoherent hardware such as i.MX8, fixing intermittent
> -EKEYREJECTED errors when loading signed kernel modules.
> 
> Changes since v1:
> - Patch 1: Add Fixes: tag; pick up Reviewed-by from Sahil Malhotra.
> - Patch 2: Move the !bounce_buf check out of do_rsa_bounce_buf() into
>   the caller rsa_bounce_buf_done() so the helper is only entered when a
>   bounce buffer actually exists; add Reported-by/Closes and Tested-by
>   from Martin Kepplinger-Novakovic.
> 
> Link to v1:
> https://lore.kernel.org/linux-crypto/20260821045555.806471-1-changwei.zou@canonical.com/
> 
> Changwei Zou (2):
>   crypto: caam - Fix wrong unmap operations
>   crypto: caam - Use bounce buffer for unaligned RSA destination buffers
> 
>  drivers/crypto/caam/caampkc.c | 123 ++++++++++++++++++++++++++++++----
>  drivers/crypto/caam/caampkc.h |   6 ++
>  2 files changed, 116 insertions(+), 13 deletions(-)
> 
> -- 
> 2.43.0

Plesae check

https://sashiko.dev/#/patchset/20261004210200.290119-1-changwei.zou%40canonical.com

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:[~2026-10-08  7:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-04 21:01 Changwei Zou
2026-10-04 21:01 ` [PATCH v2 1/2] crypto: caam - Fix wrong unmap operations Changwei Zou
2026-10-04 21:02 ` [PATCH v2 2/2] crypto: caam - Use bounce buffer for unaligned RSA destination buffers Changwei Zou
2026-10-17  8:14   ` Stephane Debusne
2026-10-17 10:20     ` Changwei Zou
2026-10-17 15:39       ` Stephane Debusne
2026-10-08  7:38 ` Herbert Xu [this message]
2026-10-20  3:21   ` [PATCH v2 0/2] crypto: caam - Fix RSA destination buffer handling Changwei Zou

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=asdIf-bbjjSHRNh7@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=changwei.zou@canonical.com \
    --cc=davem@davemloft.net \
    --cc=gaurav.jain@nxp.com \
    --cc=horia.geanta@nxp.com \
    --cc=iuliana.prodan@nxp.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=martin.kepplinger-novakovic@ginzinger.com \
    --cc=pankaj.gupta@nxp.com \
    --cc=sahil.malhotra@nxp.com \
    --cc=sahil.malhotra@oss.nxp.com \
    /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®