summaryrefslogtreecommitdiffstats
path: root/crypto/aead.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-02-28 14:36:57 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2017-03-01 19:47:53 +0800
commitefa7cebdbfde8506b54acd8947822394768cd476 (patch)
tree69dd36ac1ae52613c65d24223587b8747d9fef38 /crypto/aead.c
parent1fb1683cb343d80736625f3048de2107cf5bbf79 (diff)
downloadop-kernel-dev-efa7cebdbfde8506b54acd8947822394768cd476.zip
op-kernel-dev-efa7cebdbfde8506b54acd8947822394768cd476.tar.gz
crypto: arm/crc32 - add build time test for CRC instruction support
The accelerated CRC32 module for ARM may use either the scalar CRC32 instructions, the NEON 64x64 to 128 bit polynomial multiplication (vmull.p64) instruction, or both, depending on what the current CPU supports. However, this also requires support in binutils, and as it turns out, versions of binutils exist that support the vmull.p64 instruction but not the crc32 instructions. So refactor the Makefile logic so that this module only gets built if binutils has support for both. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/aead.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud