summaryrefslogtreecommitdiffstats
path: root/kernel/bpf
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2018-12-04 14:13:32 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-12-13 18:24:40 +0800
commitf2ca1cbd0fb584b5b5e0dbd9bda819f49cf9cdb6 (patch)
tree13a610a77ea99a6862e68fcacae99ea4b18924cf /kernel/bpf
parentee5bbc9fd3a1fb81e9f6103d6c52ab88926a9603 (diff)
downloadtalos-obmc-linux-f2ca1cbd0fb584b5b5e0dbd9bda819f49cf9cdb6.tar.gz
talos-obmc-linux-f2ca1cbd0fb584b5b5e0dbd9bda819f49cf9cdb6.zip
crypto: arm64/chacha - optimize for arbitrary length inputs
Update the 4-way NEON ChaCha routine so it can handle input of any length >64 bytes in its entirety, rather than having to call into the 1-way routine and/or memcpy()s via temp buffers to handle the tail of a ChaCha invocation that is not a multiple of 256 bytes. On inputs that are a multiple of 256 bytes (and thus in tcrypt benchmarks), performance drops by around 1% on Cortex-A57, while performance for inputs drawn randomly from the range [64, 1024) increases by around 30%. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud