diff options
author | 2018-08-23 15:48:51 +0100 | |
---|---|---|
committer | 2018-09-04 11:37:04 +0800 | |
commit | 00227e3a1d0855e9777cf53c52b842503435e22b (patch) | |
tree | bb7737ca90746dc304e7c5cfae17e396e0912b75 /crypto/algapi.c | |
parent | crypto: x86 - remove SHA multibuffer routines and mcryptd (diff) | |
download | linux-rng-00227e3a1d0855e9777cf53c52b842503435e22b.tar.xz linux-rng-00227e3a1d0855e9777cf53c52b842503435e22b.zip |
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 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions