linux/include/crypto/internal
Herbert Xu 3c44d31cb3 crypto: simd - Do not call crypto_alloc_tfm during registration
Algorithm registration is usually carried out during module init,
where as little work as possible should be carried out.  The SIMD
code violated this rule by allocating a tfm, this then triggers a
full test of the algorithm which may dead-lock in certain cases.

SIMD is only allocating the tfm to get at the alg object, which is
in fact already available as it is what we are registering.  Use
that directly and remove the crypto_alloc_tfm call.

Also remove some obsolete and unused SIMD API.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2024-08-24 21:39:15 +08:00
..
acompress.h The usual shower of singleton fixes and minor series all over MM, 2024-05-19 09:21:03 -07:00
aead.h
akcipher.h
blake2b.h
blake2s.h
chacha.h
cipher.h
des.h
ecc.h crypto: ecc - Add comment to ecc_digits_from_bytes about input byte array 2024-06-16 13:41:53 +08:00
engine.h
geniv.h
hash.h crypto: ahash - unexport crypto_hash_alg_has_setkey() 2024-02-02 18:10:05 +08:00
kdf_selftest.h
kpp.h
poly1305.h
rng.h
rsa.h
scompress.h crypto: remove CONFIG_CRYPTO_STATS 2024-04-02 10:49:38 +08:00
sig.h
simd.h crypto: simd - Do not call crypto_alloc_tfm during registration 2024-08-24 21:39:15 +08:00
skcipher.h crypto: skcipher - Remove obsolete skcipher_alg helpers 2023-10-13 18:27:27 +08:00