crypto: arm64/crc32 - merge CRC32 and PMULL instruction based drivers
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 1 Feb 2017 15:35:40 +0000 (15:35 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 11 Feb 2017 09:50:38 +0000 (17:50 +0800)
commit5d3d9c8bda2c74b13185704e504cdf0aa5210723
tree8542a13c7046766713a1ff25e29412a55065e115
parent1a20b96612656b3ff2d6967c3111bec0e21904a8
crypto: arm64/crc32 - merge CRC32 and PMULL instruction based drivers

The PMULL based CRC32 implementation already contains code based on the
separate, optional CRC32 instructions to fallback to when operating on
small quantities of data. We can expose these routines directly on systems
that lack the 64x64 PMULL instructions but do implement the CRC32 ones,
which makes the driver that is based solely on those CRC32 instructions
redundant. So remove it.

Note that this aligns arm64 with ARM, whose accelerated CRC32 driver
also combines the CRC32 extension based and the PMULL based versions.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/configs/defconfig
arch/arm64/crypto/Kconfig
arch/arm64/crypto/Makefile
arch/arm64/crypto/crc32-arm64.c [deleted file]
arch/arm64/crypto/crc32-ce-glue.c