diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-12-08 14:28:58 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-12-27 17:47:28 +0800 |
commit | 8621caa0d45e731f2e9f5889ff5bb384fcd6e059 (patch) | |
tree | 6bb783367ec2e043764996bcca55550b5fc47e4c /arch/arm64/crypto/Kconfig | |
parent | 02608e02fbec04fccf2eb0cc8d8082f65c0a4286 (diff) | |
download | linux-8621caa0d45e731f2e9f5889ff5bb384fcd6e059.tar.gz linux-8621caa0d45e731f2e9f5889ff5bb384fcd6e059.tar.bz2 linux-8621caa0d45e731f2e9f5889ff5bb384fcd6e059.zip |
crypto: arm64/chacha20 - implement NEON version based on SSE3 code
This is a straight port to arm64/NEON of the x86 SSE3 implementation
of the ChaCha20 stream cipher.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/crypto/Kconfig')
-rw-r--r-- | arch/arm64/crypto/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/crypto/Kconfig b/arch/arm64/crypto/Kconfig index 450a85df041a..0bf0f531f539 100644 --- a/arch/arm64/crypto/Kconfig +++ b/arch/arm64/crypto/Kconfig @@ -72,4 +72,10 @@ config CRYPTO_CRC32_ARM64 depends on ARM64 select CRYPTO_HASH +config CRYPTO_CHACHA20_NEON + tristate "NEON accelerated ChaCha20 symmetric cipher" + depends on KERNEL_MODE_NEON + select CRYPTO_BLKCIPHER + select CRYPTO_CHACHA20 + endif |