1
0
Fork 0
alistair23-linux/arch/s390/crypto
Eric Biggers 3f4a537a26 crypto: aead - remove useless setting of type flags
Some aead algorithms set .cra_flags = CRYPTO_ALG_TYPE_AEAD.  But this is
redundant with the C structure type ('struct aead_alg'), and
crypto_register_aead() 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 aead algorithms.

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:26 +08:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
aes_s390.c crypto: aead - remove useless setting of type flags 2018-07-09 00:30:26 +08:00
arch_random.c s390/archrandom: Rework arch random implementation. 2018-05-30 11:18:04 +02:00
crc32-vx.c crypto: hash - annotate algorithms taking optional key 2018-01-12 23:03:35 +11:00
crc32be-vx.S s390/crc32-vx: use expoline for indirect branches 2018-05-07 09:07:34 +02:00
crc32le-vx.S s390/crc32-vx: use expoline for indirect branches 2018-05-07 09:07:34 +02:00
des_s390.c s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00
ghash_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
paes_s390.c s390/crypto: Adjust s390 aes and paes cipher priorities 2018-04-10 07:38:54 +02:00
prng.c s390: crypto: add SPDX identifiers to the remaining files 2017-11-24 15:37:14 +01:00
sha.h s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00
sha1_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
sha256_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
sha512_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
sha_common.c s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00