]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: aegis128 - provide a SIMD implementation based on NEON intrinsics
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 3 Jul 2019 08:55:11 +0000 (10:55 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 05:03:58 +0000 (15:03 +1000)
commit9e4b886d2d754575fa4e821187ef27746ddc601c
tree74e2a1c6355d5c46500f9de32c5ddebeed628d5e
parent80c8d871ae9968f3c7674a665f0ef38db21d4f61
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]