]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: arm64/ghash-ce - implement 4-way aggregation
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sat, 4 Aug 2018 18:46:25 +0000 (20:46 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 7 Aug 2018 09:51:40 +0000 (17:51 +0800)
commit5a45941e3fa56ddb4f2071a74a4900137b36267f
treec173745896b9a7f0c1fff2328b7f63b284af6abf
parente1fd7855b6b636d700da19fc54062a5bc09b6651
crypto: arm64/ghash-ce - implement 4-way aggregation

Enhance the GHASH implementation that uses 64-bit polynomial
multiplication by adding support for 4-way aggregation. This
more than doubles the performance, from 2.4 cycles per byte
to 1.1 cpb on Cortex-A53.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/ghash-ce-core.S
arch/arm64/crypto/ghash-ce-glue.c