Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: keywrap - remove assignment of 0 to cra_alignmask

Since this code is zero-initializing the algorithm struct, the
assignment of 0 to cra_alignmask is redundant. Remove it 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>

authored by

Eric Biggers and committed by
Herbert Xu
f916e444 5478ced4

-1
-1
crypto/keywrap.c
··· 279 279 goto out_free_inst; 280 280 281 281 inst->alg.base.cra_blocksize = SEMIBSIZE; 282 - inst->alg.base.cra_alignmask = 0; 283 282 inst->alg.ivsize = SEMIBSIZE; 284 283 285 284 inst->alg.encrypt = crypto_kw_encrypt;