Skip to content

Commit

Permalink
crypto: arm64/chacha - use combined SIMD/ALU routine for more speed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ard Biesheuvel authored and Herbert Xu committed Dec 13, 2018
1 parent f2ca1cb commit 2fe5598
Show file tree
Hide file tree
Showing 2 changed files with 239 additions and 35 deletions.
Loading

0 comments on commit 2fe5598

Please sign in to comment.