diff options
Diffstat (limited to 'crypto/cmac.c')
-rw-r--r-- | crypto/cmac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/cmac.c b/crypto/cmac.c index 04080dca8f0c..16301f52858c 100644 --- a/crypto/cmac.c +++ b/crypto/cmac.c | |||
@@ -260,8 +260,7 @@ static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb) | |||
260 | if (err) | 260 | if (err) |
261 | goto out_free_inst; | 261 | goto out_free_inst; |
262 | 262 | ||
263 | /* We access the data as u32s when xoring. */ | 263 | alignmask = alg->cra_alignmask; |
264 | alignmask = alg->cra_alignmask | (__alignof__(u32) - 1); | ||
265 | inst->alg.base.cra_alignmask = alignmask; | 264 | inst->alg.base.cra_alignmask = alignmask; |
266 | inst->alg.base.cra_priority = alg->cra_priority; | 265 | inst->alg.base.cra_priority = alg->cra_priority; |
267 | inst->alg.base.cra_blocksize = alg->cra_blocksize; | 266 | inst->alg.base.cra_blocksize = alg->cra_blocksize; |