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

Replace all calls to may_use_simd() in the shared SIMD helpers 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>
crypto/simd.c