WSL2-Linux-Kernel/drivers/crypto/sunxi-ss
Eric Biggers 2c95e6d978 crypto: skcipher - remove useless setting of type flags
Some skcipher algorithms set .cra_flags = CRYPTO_ALG_TYPE_SKCIPHER.  But
this is redundant with the C structure type ('struct skcipher_alg'), and
crypto_register_skcipher() already sets the type flag automatically,
clearing any type flag that was already there.  Apparently the useless
assignment has just been copy+pasted around.

So, remove the useless assignment from all the skcipher algorithms.

This patch shouldn't change any actual behavior.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-07-09 00:30:27 +08:00
..
Makefile crypto: sun4i-ss - support the Security System PRNG 2017-07-18 17:50:55 +08:00
sun4i-ss-cipher.c crypto: sun4i-ss - move from ablkcipher to skcipher API 2017-06-19 14:19:51 +08:00
sun4i-ss-core.c crypto: skcipher - remove useless setting of type flags 2018-07-09 00:30:27 +08:00
sun4i-ss-hash.c crypto: sun4i-ss - fix large block size support 2017-06-19 14:19:52 +08:00
sun4i-ss-prng.c crypto: sun4i_ss_prng - convert lock to _bh in sun4i_ss_prng_generate 2018-02-08 22:38:14 +11:00
sun4i-ss.h crypto: sun4i-ss - support the Security System PRNG 2017-07-18 17:50:55 +08:00