diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-08-23 15:48:51 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-09-04 11:37:04 +0800 |
commit | 00227e3a1d0855e9777cf53c52b842503435e22b (patch) | |
tree | bb7737ca90746dc304e7c5cfae17e396e0912b75 /arch/arm64/crypto/aes-modes.S | |
parent | ab8085c130edd65be0d95cc95c28b51c4c6faf9d (diff) | |
download | linux-00227e3a1d0855e9777cf53c52b842503435e22b.tar.bz2 |
crypto: arm/ghash-ce - implement support for 4-way aggregation
Speed up the GHASH algorithm based on 64-bit polynomial multiplication
by adding support for 4-way aggregation. This improves throughput by
~85% on Cortex-A53, from 1.7 cycles per byte to 0.9 cycles per byte.
When combined with AES into GCM, throughput improves by ~25%, from
3.8 cycles per byte to 3.0 cycles per byte.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/crypto/aes-modes.S')
0 files changed, 0 insertions, 0 deletions