1
0
Fork 0
alistair23-linux/drivers/crypto/bcm
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 crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
cipher.c crypto: aead - remove useless setting of type flags 2018-07-09 00:30:26 +08:00
cipher.h crypto: bcm - Use GCM IV size constant 2017-09-22 17:43:12 +08:00
spu.c crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
spu.h crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
spu2.c crypto: brcm - Fix SHA3-512 algorithm failure 2017-07-18 17:00:59 +08:00
spu2.h crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
spum.h crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
util.c crypto: bcm - Delete an error message for a failed memory allocation in do_shash() 2018-02-22 22:16:59 +08:00
util.h crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00