crypto: drop mask=CRYPTO_ALG_ASYNC from 'shash' tfm allocations
authorEric Biggers <ebiggers@google.com>
Wed, 14 Nov 2018 20:21:11 +0000 (12:21 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Nov 2018 06:26:55 +0000 (14:26 +0800)
commit3d234b3313cd12157946522fe35f5a4574f31169
tree7d7f105aaa99a8d2c21d9e1d996330dcf95c40c6
parent1ad0f1603a6b2afb62a1c065409aaa4e43ca7627
crypto: drop mask=CRYPTO_ALG_ASYNC from 'shash' tfm allocations

'shash' algorithms are always synchronous, so passing CRYPTO_ALG_ASYNC
in the mask to crypto_alloc_shash() has no effect.  Many users therefore
already don't pass it, but some still do.  This inconsistency can cause
confusion, especially since the way the 'mask' argument works is
somewhat counterintuitive.

Thus, just remove the unneeded CRYPTO_ALG_ASYNC flags.

This patch shouldn't change any actual behavior.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/block/drbd/drbd_receiver.c
drivers/md/dm-integrity.c
drivers/net/wireless/intersil/orinoco/mic.c
fs/ubifs/auth.c
net/bluetooth/smp.c
security/apparmor/crypto.c
security/integrity/evm/evm_crypto.c
security/keys/encrypted-keys/encrypted.c
security/keys/trusted.c