mirror of
https://github.com/Dasharo/linux.git
synced 2026-03-06 15:25:10 -08: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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user