[RESEND PATCH 0/6] crypto: Accelerated AES/GCM stitched implementation

From: Danny Tsen
Date: Wed Nov 30 2022 - 03:44:02 EST


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.

Danny Tsen (6):
Patch 0: Update Kconfig and Makefile.
Patch 1: Glue code for AES/GCM stitched implementation for Power10+
CPU(ppc64le).
Patch 3: An accelerated AES/GCM stitched implementation.
Patch 4: Supporting functions for AES.
Patch 5: Supporting functions to ghash.
Patch 6: A perl script to process PowerPC assembler.

arch/powerpc/crypto/Kconfig | 11 +
arch/powerpc/crypto/Makefile | 10 +
arch/powerpc/crypto/aesp8-ppc.pl | 3846 ++++++++++++++++++++++++
arch/powerpc/crypto/ghashp8-ppc.pl | 370 +++
arch/powerpc/crypto/p10-aes-gcm-glue.c | 341 +++
arch/powerpc/crypto/p10_aes_gcm.S | 1519 ++++++++++
arch/powerpc/crypto/ppc-xlate.pl | 229 ++
7 files changed, 6326 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