mbox series

[0/2] crypto: aegis128 SIMD improvements

Message ID 20191011170823.6713-1-ard.biesheuvel@linaro.org (mailing list archive)
Headers show
Series crypto: aegis128 SIMD improvements | expand

Message

Ard Biesheuvel Oct. 11, 2019, 5:08 p.m. UTC
Refactor the aegis128 code to get rid of indirect calls, and implement
SIMD versions of the init() and final() hooks. This results in a ~2x
speedup on ARM Cortex-A57 for ~1500 byte inputs.

Cc: Ondrej Mosnacek <omosnace@redhat.com>

Ard Biesheuvel (2):
  crypto: aegis128 - avoid function pointers for parameterization
  crypto: aegis128 - duplicate init() and final() hooks in SIMD code

 crypto/aegis128-core.c       | 125 ++++++++++----------
 crypto/aegis128-neon-inner.c |  49 ++++++++
 crypto/aegis128-neon.c       |  22 ++++
 3 files changed, 134 insertions(+), 62 deletions(-)