diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-12-04 14:13:32 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-12-13 18:24:40 +0800 |
commit | f2ca1cbd0fb584b5b5e0dbd9bda819f49cf9cdb6 (patch) | |
tree | 13a610a77ea99a6862e68fcacae99ea4b18924cf /tools/thermal/tmon | |
parent | ee5bbc9fd3a1fb81e9f6103d6c52ab88926a9603 (diff) | |
download | talos-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 'tools/thermal/tmon')
0 files changed, 0 insertions, 0 deletions