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: x86 - 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>

authored by

Eric Biggers and committed by
Herbert Xu
a6185842 047ea6d8

-5
-1
arch/x86/crypto/aegis128-aesni-glue.c
··· 240 240 .cra_blocksize = 1, 241 241 .cra_ctxsize = sizeof(struct aegis_ctx) + 242 242 __alignof__(struct aegis_ctx), 243 - .cra_alignmask = 0, 244 243 .cra_priority = 400, 245 244 246 245 .cra_name = "__aegis128",
-1
arch/x86/crypto/blowfish_glue.c
··· 94 94 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 95 95 .cra_blocksize = BF_BLOCK_SIZE, 96 96 .cra_ctxsize = sizeof(struct bf_ctx), 97 - .cra_alignmask = 0, 98 97 .cra_module = THIS_MODULE, 99 98 .cra_u = { 100 99 .cipher = {
-1
arch/x86/crypto/camellia_glue.c
··· 1313 1313 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 1314 1314 .cra_blocksize = CAMELLIA_BLOCK_SIZE, 1315 1315 .cra_ctxsize = sizeof(struct camellia_ctx), 1316 - .cra_alignmask = 0, 1317 1316 .cra_module = THIS_MODULE, 1318 1317 .cra_u = { 1319 1318 .cipher = {
-1
arch/x86/crypto/des3_ede_glue.c
··· 291 291 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 292 292 .cra_blocksize = DES3_EDE_BLOCK_SIZE, 293 293 .cra_ctxsize = sizeof(struct des3_ede_x86_ctx), 294 - .cra_alignmask = 0, 295 294 .cra_module = THIS_MODULE, 296 295 .cra_u = { 297 296 .cipher = {
-1
arch/x86/crypto/twofish_glue.c
··· 68 68 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 69 69 .cra_blocksize = TF_BLOCK_SIZE, 70 70 .cra_ctxsize = sizeof(struct twofish_ctx), 71 - .cra_alignmask = 0, 72 71 .cra_module = THIS_MODULE, 73 72 .cra_u = { 74 73 .cipher = {