crypto: arm64/chacha20 - implement NEON version based on SSE3 code
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 11 Jan 2017 16:41:49 +0000 (16:41 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Jan 2017 16:26:48 +0000 (00:26 +0800)
commitb7171ce9eb523fd90e38f2d138d1b6ed2ff3eafd
treeb2faa0f4311afa4bcd6c3b045d8905235ad88e70
parent41e05324fde983b1342f86239868f1959f6032a5
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. 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/arm64/crypto/Kconfig
arch/arm64/crypto/Makefile
arch/arm64/crypto/chacha20-neon-core.S [new file with mode: 0644]
arch/arm64/crypto/chacha20-neon-glue.c [new file with mode: 0644]