summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/crypto/Kconfig
diff options
context:
space:
mode:
authorDanny Tsen <dtsen@linux.ibm.com>2023-02-20 22:40:21 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2023-03-14 17:06:43 +0800
commit45a4672b9a6e292e3c76b3eae656ac2c5540b423 (patch)
treee4342470737872a3fe18d3d5557ebd05654125be /arch/powerpc/crypto/Kconfig
parent08b50d847dfd82df031cd34337743da2445ac949 (diff)
downloadlinux-stable-45a4672b9a6e292e3c76b3eae656ac2c5540b423.tar.gz
linux-stable-45a4672b9a6e292e3c76b3eae656ac2c5540b423.tar.bz2
linux-stable-45a4672b9a6e292e3c76b3eae656ac2c5540b423.zip
crypto: p10-aes-gcm - Update Kconfig and Makefile
Defined CRYPTO_AES_GCM_P10 in Kconfig to support AES/GCM stitched implementation for Power10 or later CPU. Added a new module driver aes-gcm-p10-crypto. Signed-off-by: Danny Tsen <dtsen@linux.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/powerpc/crypto/Kconfig')
-rw-r--r--arch/powerpc/crypto/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/powerpc/crypto/Kconfig b/arch/powerpc/crypto/Kconfig
index c1b964447401..1f8f02b494e1 100644
--- a/arch/powerpc/crypto/Kconfig
+++ b/arch/powerpc/crypto/Kconfig
@@ -94,4 +94,21 @@ config CRYPTO_AES_PPC_SPE
architecture specific assembler implementations that work on 1KB
tables or 256 bytes S-boxes.
+config CRYPTO_AES_GCM_P10
+ tristate "Stitched AES/GCM acceleration support on P10 or later CPU (PPC)"
+ depends on PPC64 && POWER10_CPU && CPU_LITTLE_ENDIAN
+ select CRYPTO_LIB_AES
+ select CRYPTO_ALGAPI
+ select CRYPTO_AEAD
+ default m
+ help
+ AEAD cipher: AES cipher algorithms (FIPS-197)
+ GCM (Galois/Counter Mode) authenticated encryption mode (NIST SP800-38D)
+ Architecture: powerpc64 using:
+ - little-endian
+ - Power10 or later features
+
+ Support for cryptographic acceleration instructions on Power10 or
+ later CPU. This module supports stitched acceleration for AES/GCM.
+
endmenu