diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-07-30 23:06:42 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-08-07 17:38:04 +0800 |
commit | 30f1a9f53e77e4c9ddf55ebfda8a9d7666e46964 (patch) | |
tree | 6696057d0c4cb95671a65cad2df8f9b573a0ed6d /lib | |
parent | e0bd888dc487e0c444ee5f3bf55020862d16a225 (diff) | |
download | linux-stable-30f1a9f53e77e4c9ddf55ebfda8a9d7666e46964.tar.gz linux-stable-30f1a9f53e77e4c9ddf55ebfda8a9d7666e46964.tar.bz2 linux-stable-30f1a9f53e77e4c9ddf55ebfda8a9d7666e46964.zip |
crypto: arm64/aes-ce-gcm - don't reload key schedule if avoidable
Squeeze out another 5% of performance by minimizing the number
of invocations of kernel_neon_begin()/kernel_neon_end() on the
common path, which also allows some reloads of the key schedule
to be optimized away.
The resulting code runs at 2.3 cycles per byte on a Cortex-A53.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions