OSDN Git Service

crypto: aegis128 - duplicate init() and final() hooks in SIMD code
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 14 Oct 2019 16:16:45 +0000 (18:16 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Oct 2019 15:06:05 +0000 (02:06 +1100)
commit528282630ca961d6284f68f5f2f0057c86873bb6
tree307324123ac73bba9d91116fdcecd7a24161dffc
parent2698bce1f05f0a13e2df1db7364df2b50a47e08d
crypto: aegis128 - duplicate init() and final() hooks in SIMD code

In order to speed up aegis128 processing even more, duplicate the init()
and final() routines as SIMD versions in their entirety. This results
in a 2x speedup on ARM Cortex-A57 for ~1500 byte packets (using AES
instructions).

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/aegis128-core.c
crypto/aegis128-neon-inner.c
crypto/aegis128-neon.c