]> 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)
commita1c3fcd4f87b023dbe2448d9f3d67659c855112a
treeaa1e6ba2142d05e74cdfabf2b581ca57a381b7f4
parent323d382d0739572b0e7a85cb66694749af6bd728
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