summaryrefslogtreecommitdiffstats
path: root/arch/arm64/crypto/Kconfig
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2014-02-10 11:26:29 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2014-05-14 10:04:15 -0700
commita3fd82105b9d149033984bf018f473140f5b94bc (patch)
tree5e2cbccc0cf1833649b7a4df6faff937d7fa73da /arch/arm64/crypto/Kconfig
parent317f2f750d708d684bddd8cb14827ec2efee4b1c (diff)
downloadlinux-stable-a3fd82105b9d149033984bf018f473140f5b94bc.tar.gz
linux-stable-a3fd82105b9d149033984bf018f473140f5b94bc.tar.bz2
linux-stable-a3fd82105b9d149033984bf018f473140f5b94bc.zip
arm64/crypto: AES in CCM mode using ARMv8 Crypto Extensions
This patch adds support for the AES-CCM encryption algorithm for CPUs that have support for the AES part of the ARM v8 Crypto Extensions. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/crypto/Kconfig')
-rw-r--r--arch/arm64/crypto/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/crypto/Kconfig b/arch/arm64/crypto/Kconfig
index 9ba32c0da871..8fffd5af65ef 100644
--- a/arch/arm64/crypto/Kconfig
+++ b/arch/arm64/crypto/Kconfig
@@ -29,4 +29,11 @@ config CRYPTO_AES_ARM64_CE
select CRYPTO_ALGAPI
select CRYPTO_AES
+config CRYPTO_AES_ARM64_CE_CCM
+ tristate "AES in CCM mode using ARMv8 Crypto Extensions"
+ depends on ARM64 && KERNEL_MODE_NEON
+ select CRYPTO_ALGAPI
+ select CRYPTO_AES
+ select CRYPTO_AEAD
+
endif