]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: arm64/chacha - use combined SIMD/ALU routine for more speed
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 4 Dec 2018 13:13:33 +0000 (14:13 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 13 Dec 2018 10:24:55 +0000 (18:24 +0800)
commit60069b1ab120cbc70ec4e9a5dfdbd46680d59336
treeaa1e6ba2142d05e74cdfabf2b581ca57a381b7f4
parent60489643bef5c4f213142a8e3981727a60d803ff
crypto: arm64/chacha - use combined SIMD/ALU routine for more speed

To some degree, most known AArch64 micro-architectures appear to be
able to issue ALU instructions in parellel to SIMD instructions
without affecting the SIMD throughput. This means we can use the ALU
to process a fifth ChaCha block while the SIMD is processing four
blocks in parallel.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/chacha-neon-core.S
arch/arm64/crypto/chacha-neon-glue.c