Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH v2 0/5] crypto: eip93: fix request lifetime and completion handling
@ 2026-07-07 17:15 Jihong Min
  2026-07-07 17:15 ` [PATCH v2 1/5] crypto: eip93: guard DMA cleanup on uninitialized mappings Jihong Min
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jihong Min @ 2026-07-07 17:15 UTC (permalink / raw)
  To: Herbert Xu
  Cc: linux-crypto, linux-kernel, David S . Miller, Antoine Tenart,
	Christian Marangi, Richard van Schagen, Benjamin Larsson,
	Mieczyslaw Nalewaj, Aleksander Jan Bajkowski, Jihong Min

This is v2 of the EIP-93 fix series:

https://lore.kernel.org/linux-crypto/20260524194528.3666383-1-hurryman2212@gmail.com/

This series keeps the remaining request lifetime and completion handling
fixes from v1. Patch 1/6 from v1 is omitted because an equivalent
devm_request_threaded_irq() failure handling fix is already in this tree as
commit 85a61bf9145d ("crypto: inside-secure/eip93 - Add check for
devm_request_threaded_irq").

The patches collect EIP-93 fixes that had been carried out-of-tree and
rework them for the current driver. The original fixes came from work by
multiple people; the individual commits carry provenance trailers where the
original author, reporter or tester is known.

Tested on a Lumen W1700K2 wireless AP running a Linux 6.18 based OpenWrt
build, after verifying that the resulting driver changes match the
corresponding OpenWrt patch diffs, modulo upstream context differences.

Changes in v2:
- Drop the IRQ request error patch; the equivalent fix is already present.
- Rebase the remaining fixes onto cryptodev-2.6 master at e264401ce477.
- Keep the remaining code changes unchanged from v1.

Jihong Min (5):
  crypto: eip93: guard DMA cleanup on uninitialized mappings
  crypto: eip93: reject HMAC requests before setkey
  crypto: eip93: use request-local SA records for cipher requests
  crypto: eip93: order result descriptor reads after PE_READY
  crypto: eip93: handle request ID exhaustion

 .../crypto/inside-secure/eip93/eip93-aead.c   | 34 +++++---
 .../crypto/inside-secure/eip93/eip93-cipher.c | 34 +++++---
 .../crypto/inside-secure/eip93/eip93-cipher.h |  3 +-
 .../crypto/inside-secure/eip93/eip93-common.c | 65 ++++++++++++---
 .../crypto/inside-secure/eip93/eip93-common.h |  3 +
 .../crypto/inside-secure/eip93/eip93-hash.c   | 79 +++++++++++++------
 .../crypto/inside-secure/eip93/eip93-main.c   | 19 +++--
 .../crypto/inside-secure/eip93/eip93-main.h   |  2 +
 8 files changed, 174 insertions(+), 65 deletions(-)


base-commit: e264401ce4776a288524e5b87593d4d864147115
-- 
2.53.0

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

end of thread, other threads:[~2026-07-07 17:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-07 17:15 [PATCH v2 0/5] crypto: eip93: fix request lifetime and completion handling Jihong Min
2026-07-07 17:15 ` [PATCH v2 1/5] crypto: eip93: guard DMA cleanup on uninitialized mappings Jihong Min
2026-07-07 17:15 ` [PATCH v2 2/5] crypto: eip93: reject HMAC requests before setkey Jihong Min
2026-07-07 17:15 ` [PATCH v2 3/5] crypto: eip93: use request-local SA records for cipher requests Jihong Min
2026-07-07 17:15 ` [PATCH v2 4/5] crypto: eip93: order result descriptor reads after PE_READY Jihong Min
2026-07-07 17:15 ` [PATCH v2 5/5] crypto: eip93: handle request ID exhaustion Jihong Min

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox