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@xxxxxxxxxx> 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(-) -- 2.20.1