Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: dormancygrace@gmail.com
Cc: Christian Marangi <ansuelsmth@gmail.com>,
	Antoine Tenart <atenart@kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] crypto: eip93 - return request validation errors synchronously
Date: Fri, 27 Nov 2026 13:17:21 +0800	[thread overview]
Message-ID: <awkSYfvaBfY7sQe2@gondor.apana.org.au> (raw)
In-Reply-To: <20261120-eip93-sync-errors-v1-1-1a83ae607181@gmail.com>

On Fri, Nov 20, 2026 at 07:37:18PM +0000, Gleb Pesin via B4 Relay wrote:
> From: Gleb Pesin <dormancygrace@gmail.com>
> 
> The skcipher and AEAD paths validate requests before submitting them
> to the hardware. On validation failure they invoke the completion
> callback and return the same error. Callers handle that return value
> as a synchronous failure and can complete the request a second time.
> 
> Return the validation error directly in both paths. Keep completion
> callbacks in the hardware result handlers.
> 
> Codex (gpt-6.2-sol) assisted with comparing the two paths, preparing the
> change and writing the changelog. The corresponding OpenWrt 6.18.64
> driver object was cross-compiled on MIPS.
> 
> Fixes: 9739f5f93b78 ("crypto: eip93 - Add Inside Secure SafeXcel EIP-93 crypto engine support")
> Reported-by: Herbert Xu <herbert@gondor.apana.org.au>
> Closes: https://lore.kernel.org/linux-crypto/aXxmIuU9PKJiDs7n@gondor.apana.org.au/
> Signed-off-by: Gleb Pesin <dormancygrace@gmail.com>
> ---
>  drivers/crypto/inside-secure/eip93/eip93-aead.c   | 4 +---
>  drivers/crypto/inside-secure/eip93/eip93-cipher.c | 4 +---
>  2 files changed, 2 insertions(+), 6 deletions(-)

Patch 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

      reply	other threads:[~2026-11-27  5:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 19:37 [PATCH] crypto: eip93 - return request validation errors synchronously Gleb Pesin via B4 Relay
2026-11-27  5:17 ` 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=awkSYfvaBfY7sQe2@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=ansuelsmth@gmail.com \
    --cc=atenart@kernel.org \
    --cc=davem@davemloft.net \
    --cc=dormancygrace@gmail.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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