]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: aegis128 - provide a SIMD implementation based on NEON intrinsics
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sun, 11 Aug 2019 22:59:11 +0000 (01:59 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 15 Aug 2019 11:52:15 +0000 (21:52 +1000)
commit3745a4ca3b97323648c54328c890fa4fb33227a9
tree54304e9e7a7f0d0e9e78f1823c98241ab386fe9a
parent98aaa94819882f27a3bef7cc1d3e02127f955f81
crypto: aegis128 - provide a SIMD implementation based on NEON intrinsics

Provide an accelerated implementation of aegis128 by wiring up the
SIMD hooks in the generic driver to an implementation based on NEON
intrinsics, which can be compiled to both ARM and arm64 code.

This results in a performance of 2.2 cycles per byte on Cortex-A53,
which is a performance increase of ~11x compared to the generic
code.

Reviewed-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile
crypto/aegis128-neon-inner.c [new file with mode: 0644]
crypto/aegis128-neon.c [new file with mode: 0644]