diff options
author | 2018-12-04 14:13:32 +0100 | |
---|---|---|
committer | 2018-12-13 18:24:40 +0800 | |
commit | f2ca1cbd0fb584b5b5e0dbd9bda819f49cf9cdb6 (patch) | |
tree | 13a610a77ea99a6862e68fcacae99ea4b18924cf /tools/perf/scripts/python/stackcollapse.py | |
parent | crypto: tcrypt - add block size of 1472 to skcipher template (diff) | |
download | linux-dev-f2ca1cbd0fb584b5b5e0dbd9bda819f49cf9cdb6.tar.xz linux-dev-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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions