linux_dsm_epyc7002/include/crypto/internal
Eric Biggers b55e1a3954 crypto: simd,testmgr - introduce crypto_simd_usable()
So that the no-SIMD fallback code can be tested by the crypto
self-tests, add a macro crypto_simd_usable() which wraps may_use_simd(),
but also returns false if the crypto self-tests have set a per-CPU bool
to disable SIMD in crypto code on the current CPU.

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>
2019-03-22 20:57:27 +08:00
..
acompress.h crypto: acomp - allow registration of multiple acomps 2017-04-21 20:30:50 +08:00
aead.h crypto: aead - Add chunk size 2016-07-18 17:35:38 +08:00
akcipher.h crypto: Add akcipher_set_reqsize() function 2017-07-28 17:58:04 +08:00
cryptouser.h crypto: user - forward declare crypto_nlsk 2019-01-18 18:43:43 +08:00
geniv.h crypto: null - Remove VLA usage of skcipher 2018-09-28 12:46:08 +08:00
hash.h crypto: algapi - remove crypto_alloc_instance() 2019-01-11 14:16:58 +08:00
kpp.h crypto: kpp - Key-agreement Protocol Primitives API (KPP) 2016-06-23 18:29:56 +08:00
rng.h crypto: rng - Do not free default RNG when it becomes unused 2015-06-22 15:49:18 +08:00
rsa.h crypto: rsa - Store rest of the private key components 2016-07-05 23:05:26 +08:00
scompress.h crypto: scomp - delete unused comments 2017-12-28 17:56:50 +11:00
simd.h crypto: simd,testmgr - introduce crypto_simd_usable() 2019-03-22 20:57:27 +08:00
skcipher.h crypto: skcipher - add helper for simple block cipher modes 2019-01-11 14:16:57 +08:00