aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2018-08-23 15:48:51 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-09-04 11:37:04 +0800
commit00227e3a1d0855e9777cf53c52b842503435e22b (patch)
treebb7737ca90746dc304e7c5cfae17e396e0912b75 /crypto/algapi.c
parentcrypto: x86 - remove SHA multibuffer routines and mcryptd (diff)
downloadlinux-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