crypto: arm/chacha20 - implement NEON version based on SSE3 code
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 11 Jan 2017 16:41:50 +0000 (16:41 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Jan 2017 16:26:48 +0000 (00:26 +0800)
commitafaf712e99a7e52e2520335ddefee6a9d84a6db5
tree00dfea26c00578f8317a3d4897cd7d06d1eb704d
parentb7171ce9eb523fd90e38f2d138d1b6ed2ff3eafd
crypto: arm/chacha20 - implement NEON version based on SSE3 code

This is a straight port to ARM/NEON of the x86 SSE3 implementation
of the ChaCha20 stream cipher. It uses the new skcipher walksize
attribute to process the input in strides of 4x the block size.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/Kconfig
arch/arm/crypto/Makefile
arch/arm/crypto/chacha20-neon-core.S [new file with mode: 0644]
arch/arm/crypto/chacha20-neon-glue.c [new file with mode: 0644]