crypto: arm - convert to use crypto_simd_usable()
authorEric Biggers <ebiggers@google.com>
Wed, 13 Mar 2019 05:12:49 +0000 (22:12 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Mar 2019 12:57:27 +0000 (20:57 +0800)
commit99680c5e91829453e001ab5f7e6d717e6d2dcb21
tree8df83b5be0ccfd591925444694b79771d62abe4d
parentf2abe0d72b21671ad19db075262411e3d4a828dd
crypto: arm - convert to use crypto_simd_usable()

Replace all calls to may_use_simd() in the arm crypto code with
crypto_simd_usable(), in order to allow testing the no-SIMD code paths.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/chacha-neon-glue.c
arch/arm/crypto/crc32-ce-glue.c
arch/arm/crypto/crct10dif-ce-glue.c
arch/arm/crypto/ghash-ce-glue.c
arch/arm/crypto/nhpoly1305-neon-glue.c
arch/arm/crypto/sha1-ce-glue.c
arch/arm/crypto/sha1_neon_glue.c
arch/arm/crypto/sha2-ce-glue.c
arch/arm/crypto/sha256_neon_glue.c
arch/arm/crypto/sha512-neon-glue.c