linux-sg2042/drivers/crypto/marvell
Eric Biggers 85d7311f19 crypto: remove redundant type flags from tfm allocation
Some crypto API users allocating a tfm with crypto_alloc_$FOO() are also
specifying the type flags for $FOO, e.g. crypto_alloc_shash() with
CRYPTO_ALG_TYPE_SHASH.  But, that's redundant since the crypto API will
override any specified type flag/mask with the correct ones.

So, remove the unneeded 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>
2018-07-09 00:30:29 +08:00
..
Makefile crypto: marvell/cesa - add TDMA support 2015-06-19 22:18:03 +08:00
cesa.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
cesa.h Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2017-11-14 10:52:09 -08:00
cipher.c crypto: marvell - Switch cipher algs to the skcipher interface 2017-11-03 21:53:32 +08:00
hash.c crypto: remove redundant type flags from tfm allocation 2018-07-09 00:30:29 +08:00
tdma.c crypto: Use PTR_ERR_ZERO 2017-09-22 17:43:27 +08:00