Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH 00/30] Clean and improve SA2UL driver
@ 2026-09-15  9:55 Manorit Chawdhry
  2026-09-15  9:55 ` [PATCH 01/30] crypto: sa2ul - remove dead code Manorit Chawdhry
                   ` (30 more replies)
  0 siblings, 31 replies; 34+ messages in thread
From: Manorit Chawdhry @ 2026-09-15  9:55 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, Keerthy, Colin Ian King
  Cc: Andrew Davis, Pratham T, Kamlesh Gurudasani, Udit Kumar,
	linux-crypto, linux-kernel, Manorit Chawdhry

The following series focuses on some cleanups to the sa2ul driver, it
starts with very trivial cleanups then goes to fix some bigger cleanups
and migration to crypto_engine which help fix the broader race condition
problems with the driver, thereafter it adds the support for AES CM as
per SAxUL 3.1 IP. KASAN is also run alongside to fix the issues caught
by them.

Self test results across K3 family: 
https://gist.github.com/manorit2001/544587ec3535125663e3ca9dbc186e96

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
---
Manorit Chawdhry (30):
      crypto: sa2ul - remove dead code
      crypto: sa2ul - remove totally unused structure fields
      crypto: sa2ul - remove unused algorithm ID fields
      crypto: sa2ul - remove unused fields from sa_cmdl_cfg
      crypto: sa2ul - remove unused fields from sa_tfm_ctx
      crypto: sa2ul - remove unused macro definitions
      crypto: sa2ul - consolidate encryption offset definitions
      crypto: sa2ul - remove unused SC ID range tracking
      crypto: sa2ul - remove unused base register pointer
      crypto: sa2ul - remove unused includes and defines
      crypto: sa2ul - remove unused line
      crypto: sa2ul - remove redundant sa_sha_digest() wrapper
      crypto: sa2ul - fix struct documentation for match_data
      crypto: sa2ul - zero out security context on free
      crypto: sa2ul - fix context release on errors
      crypto: sa2ul - fix resource leak of sha in init_alg() error path
      crypto: sa2ul - fix resource leak of AEAD in init_alg() error path
      crypto: sa2ul - fix DMA mapping leak in sa_run() error paths
      crypto: sa2ul - generate dynamic metadata length
      crypto: sa2ul - fix command label stack corruption
      crypto: sa2ul - fix error handling in sa_prepare_iopad
      crypto: sa2ul - move export to appropriate location.
      crypto: sa2ul - fix stack overflow in sa_prepare_iopads
      crypto: sa2ul - add more checks before processing ipad/opad
      crypto: sa2ul - fix data corruption by skipping device sync on unmap
      crypto: sa2ul - use correct DMA direction in sa_sync_from_device
      crypto: sa2ul - change dma_alloc_pool to mempool
      crypto: sa2ul - route requests through crypto_engine
      crypto: sa2ul - report SA engine hardware revision
      crypto: sa2ul - add AES-CM (SA3UL_CM) TRNG priming support

 drivers/crypto/Kconfig |    1 +
 drivers/crypto/sa2ul.c | 1042 +++++++++++++++++++++++++++++-------------------
 drivers/crypto/sa2ul.h |  162 ++------
 3 files changed, 661 insertions(+), 544 deletions(-)
---
base-commit: a9d7ced84989ec05be09b4b8428759ef60450a0f
change-id: 20251106-b4-upstream-sa2ul-cleanup-ce85d40c7eb8

Best regards,
--  
Manorit Chawdhry <m-chawdhry@ti.com>


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

end of thread, other threads:[~2026-09-23  5:16 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-15  9:55 [PATCH 00/30] Clean and improve SA2UL driver Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 01/30] crypto: sa2ul - remove dead code Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 02/30] crypto: sa2ul - remove totally unused structure fields Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 03/30] crypto: sa2ul - remove unused algorithm ID fields Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 04/30] crypto: sa2ul - remove unused fields from sa_cmdl_cfg Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 05/30] crypto: sa2ul - remove unused fields from sa_tfm_ctx Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 06/30] crypto: sa2ul - remove unused macro definitions Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 07/30] crypto: sa2ul - consolidate encryption offset definitions Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 08/30] crypto: sa2ul - remove unused SC ID range tracking Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 09/30] crypto: sa2ul - remove unused base register pointer Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 10/30] crypto: sa2ul - remove unused includes and defines Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 11/30] crypto: sa2ul - remove unused line Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 12/30] crypto: sa2ul - remove redundant sa_sha_digest() wrapper Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 13/30] crypto: sa2ul - fix struct documentation for match_data Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 14/30] crypto: sa2ul - zero out security context on free Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 15/30] crypto: sa2ul - fix context release on errors Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 16/30] crypto: sa2ul - fix resource leak of sha in init_alg() error path Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 17/30] crypto: sa2ul - fix resource leak of AEAD " Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 18/30] crypto: sa2ul - fix DMA mapping leak in sa_run() error paths Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 19/30] crypto: sa2ul - generate dynamic metadata length Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 20/30] crypto: sa2ul - fix command label stack corruption Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 21/30] crypto: sa2ul - fix error handling in sa_prepare_iopad Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 22/30] crypto: sa2ul - move export to appropriate location Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 23/30] crypto: sa2ul - fix stack overflow in sa_prepare_iopads Manorit Chawdhry
2026-09-17 10:13   ` T Pratham
2026-09-15  9:55 ` [PATCH 24/30] crypto: sa2ul - add more checks before processing ipad/opad Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 25/30] crypto: sa2ul - fix data corruption by skipping device sync on unmap Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 26/30] crypto: sa2ul - use correct DMA direction in sa_sync_from_device Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 27/30] crypto: sa2ul - change dma_alloc_pool to mempool Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 28/30] crypto: sa2ul - route requests through crypto_engine Manorit Chawdhry
2026-09-17 10:05   ` T Pratham
2026-09-15  9:55 ` [PATCH 29/30] crypto: sa2ul - report SA engine hardware revision Manorit Chawdhry
2026-09-15  9:55 ` [PATCH 30/30] crypto: sa2ul - add AES-CM (SA3UL_CM) TRNG priming support Manorit Chawdhry
2026-09-23  5:16 ` [PATCH 00/30] Clean and improve SA2UL driver Herbert Xu

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