mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 00:32:00 +00:00
crypto: aegis - remove assignments of 0 to cra_alignmask
Struct fields are zero by default, so these lines of code have no effect. Remove them to reduce the number of matches that are found when grepping for cra_alignmask. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
a6185842d1
commit
5478ced478
@ -516,7 +516,6 @@ static struct aead_alg crypto_aegis128_alg_generic = {
|
||||
|
||||
.base.cra_blocksize = 1,
|
||||
.base.cra_ctxsize = sizeof(struct aegis_ctx),
|
||||
.base.cra_alignmask = 0,
|
||||
.base.cra_priority = 100,
|
||||
.base.cra_name = "aegis128",
|
||||
.base.cra_driver_name = "aegis128-generic",
|
||||
@ -535,7 +534,6 @@ static struct aead_alg crypto_aegis128_alg_simd = {
|
||||
|
||||
.base.cra_blocksize = 1,
|
||||
.base.cra_ctxsize = sizeof(struct aegis_ctx),
|
||||
.base.cra_alignmask = 0,
|
||||
.base.cra_priority = 200,
|
||||
.base.cra_name = "aegis128",
|
||||
.base.cra_driver_name = "aegis128-simd",
|
||||
|
Loading…
Reference in New Issue
Block a user