[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y4Xyflca/hkvR0eR@Dannys-MacBook-Pro.local>
Date: Tue, 29 Nov 2022 19:52:30 +0800
From: Danny Tsen <dtsen@...ux.ibm.com>
To: linux-crypto@...r.kernel.org
Cc: herbert@...dor.apana.org.au, leitao@...ian.org,
nayna@...ux.ibm.com, appro@...ptogams.org,
linux-kernel@...r.kernel.org, ltcgcw@...ux.vnet.ibm.com,
dtsen@...ux.ibm.com
Subject: [PATCH 0/6] crypto: Accelerated AES/GCM stitched implementation
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 (7):
powerpc/crypto: Define new module in Kconfig.
powerpc/crypto: Create new module driver.
powerpc/crypto: Functions to set round keys and encrypt data.
powerpc/crypto: Functions for creating hash table and generate hash.
powerpc/crypto: Glue code to create AEAD algorithm module.
powerpc/crypto: Added new stitched AES/GCM implementation.
powerpc/crypto: Perl script to process PowerPC asember source.
arch/powerpc/crypto/Kconfig | 11 +++++++++++
arch/powerpc/crypto/Makefile | 10 ++++++++++
arch/powerpc/crypto/p10-aes-gcm-glue.c | 341 +++++++++++++++++++++++++
arch/powerpc/crypto/p10_aes_gcm.S | 1519 +++++++++++++++++++++++++++++
arch/powerpc/crypto/aesp8-ppc.pl | 3846 ++++++++++++++++++++++++++++++
arch/powerpc/crypto/ghashp8-ppc.pl | 370 +++++++++++++++++++++++++++++
arch/powerpc/crypto/ppc-xlate.pl | 229 +++++++++++++++++++++++++++++++
7 file changed, 6026 insertions(+)
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/aesp8-ppc.pl
create mode 100644 arch/powerpc/crypto/ghashp8-ppc.pl
create mode 100644 arch/powerpc/crypto/ppc-xlate.pl
--
2.31.1
Powered by blists - more mailing lists