1
0
Fork 0
alistair23-linux/drivers/crypto/inside-secure
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: inside-secure - add SafeXcel EIP197 crypto engine driver 2017-06-10 12:04:21 +08:00
safexcel.c crypto: inside-secure - remove request list to improve performance 2018-07-09 00:30:19 +08:00
safexcel.h crypto: inside-secure - remove request list to improve performance 2018-07-09 00:30:19 +08:00
safexcel_cipher.c crypto: skcipher - remove useless setting of type flags 2018-07-09 00:30:27 +08:00
safexcel_hash.c crypto: remove redundant type flags from tfm allocation 2018-07-09 00:30:29 +08:00
safexcel_ring.c crypto: inside-secure - remove request list to improve performance 2018-07-09 00:30:19 +08:00