1
0
Fork 0
alistair23-linux/arch/x86/crypto/sha512-mb
Eric Biggers c87a405e3b crypto: ahash - remove useless setting of cra_type
Some ahash algorithms set .cra_type = &crypto_ahash_type.  But this is
redundant with the C structure type ('struct ahash_alg'), and
crypto_register_ahash() already sets the .cra_type automatically.
Apparently the useless assignment has just been copy+pasted around.

So, remove the useless assignment from all the ahash 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: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
sha512_mb.c crypto: ahash - remove useless setting of cra_type 2018-07-09 00:30:26 +08:00
sha512_mb_ctx.h crypto: sha512-mb - remove HASH_FIRST flag 2018-02-15 23:26:46 +08:00
sha512_mb_mgr.h crypto: sha512-mb - Algorithm data structures 2016-06-28 16:06:39 +08:00
sha512_mb_mgr_datastruct.S crypto: sha512-mb - Algorithm data structures 2016-06-28 16:06:39 +08:00
sha512_mb_mgr_flush_avx2.S crypto: x86 - make constants readonly, allow linker to merge them 2017-01-23 22:50:29 +08:00
sha512_mb_mgr_init_avx2.c crypto: sha512-mb - initialize pending lengths correctly 2018-02-08 22:37:05 +11:00
sha512_mb_mgr_submit_avx2.S crypto: x86 - make constants readonly, allow linker to merge them 2017-01-23 22:50:29 +08:00
sha512_x4_avx2.S crypto: x86 - make constants readonly, allow linker to merge them 2017-01-23 22:50:29 +08:00