public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] crypto: Accelerated AES/GCM stitched implementation
@ 2023-02-17 16:17 Danny Tsen
  2023-02-17 16:18 ` [PATCH v3 1/6] Update Kconfig and Makefile Danny Tsen
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Danny Tsen @ 2023-02-17 16:17 UTC (permalink / raw)
  To: linux-crypto
  Cc: herbert, leitao, nayna, appro, linux-kernel, ltcgcw, dtsen,
	Danny Tsen

This patch series enable an accelerated AES/GCM stitched implementation for
Power10+ CPU(ppc64le).  This module supports AEAD algorithm.  The stitched
implementation provides 3.5X+ better performance than the baseline.

This patch has been tested with the kernel crypto module tcrypt.ko and has
passed the selftest.  The patch is also tested with
CONFIG_CRYPTO_MANAGER_EXTRA_TESTS enabled.

Danny Tsen (6):
  Update Kconfig and Makefile.
  Glue code for AES/GCM stitched implementation.
  An accelerated AES/GCM stitched implementation.
  Supporting functions for AES.
  Supporting functions for ghash.
  A perl script to process PowerPC assembler source.

 arch/powerpc/crypto/Kconfig            |   11 +
 arch/powerpc/crypto/Makefile           |   13 +
 arch/powerpc/crypto/aesp8-ppc.pl       | 3846 ++++++++++++++++++++++++
 arch/powerpc/crypto/ghashp8-ppc.pl     |  370 +++
 arch/powerpc/crypto/p10-aes-gcm-glue.c |  345 +++
 arch/powerpc/crypto/p10_aes_gcm.S      | 1521 ++++++++++
 arch/powerpc/crypto/ppc-xlate.pl       |  229 ++
 7 files changed, 6335 insertions(+)
 create mode 100644 arch/powerpc/crypto/aesp8-ppc.pl
 create mode 100644 arch/powerpc/crypto/ghashp8-ppc.pl
 create mode 100644 arch/powerpc/crypto/p10-aes-gcm-glue.c
 create mode 100644 arch/powerpc/crypto/p10_aes_gcm.S
 create mode 100644 arch/powerpc/crypto/ppc-xlate.pl

-- 
2.31.1


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

end of thread, other threads:[~2023-02-17 22:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-17 16:17 [PATCH v3 0/6] crypto: Accelerated AES/GCM stitched implementation Danny Tsen
2023-02-17 16:18 ` [PATCH v3 1/6] Update Kconfig and Makefile Danny Tsen
2023-02-17 21:44   ` Elliott, Robert (Servers)
2023-02-17 22:20     ` Danny Tsen
2023-02-17 16:18 ` [PATCH v3 2/6] Glue code for AES/GCM stitched implementation Danny Tsen
2023-02-17 16:18 ` [PATCH v3 3/6] An accelerated " Danny Tsen
2023-02-17 16:18 ` [PATCH v3 4/6] Supporting functions for AES Danny Tsen
2023-02-17 16:18 ` [PATCH v3 5/6] Supporting functions for ghash Danny Tsen
2023-02-17 16:18 ` [PATCH v3 6/6] A perl script to process PowerPC assembler source Danny Tsen

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