1
0
Fork 0
alistair23-linux/drivers/crypto/amcc
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: crypto4xx - move and refactor dynamic_contents helpers 2017-09-22 17:43:18 +08:00
crypto4xx_alg.c crypto: crypto4xx - put temporary dst sg into request ctx 2018-04-28 16:09:45 +08:00
crypto4xx_core.c crypto: skcipher - remove useless setting of type flags 2018-07-09 00:30:27 +08:00
crypto4xx_core.h crypto: crypto4xx - put temporary dst sg into request ctx 2018-04-28 16:09:45 +08:00
crypto4xx_reg_def.h crypto: crypto4xx - support Revision B parts 2018-01-05 18:43:03 +11:00
crypto4xx_sa.h crypto: crypto4xx - prepare for AEAD support 2017-10-12 22:55:19 +08:00
crypto4xx_trng.c crypto: crypto4xx - kill MODULE_NAME 2018-01-05 18:43:04 +11:00
crypto4xx_trng.h crypto4xx: integrate ppc4xx-rng into crypto4xx 2016-04-20 17:50:02 +08:00