projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[CRYPTO] cipher: Set alignmask for multi-byte loads
[linux-block.git]
/
crypto
/
cast6.c
diff --git
a/crypto/cast6.c
b/crypto/cast6.c
index d317fff6ea103f8fee37804e946deba57049ec35..9e28740ba7753fe79fb6dc869cbc4c8b7f9e4d9e 100644
(file)
--- a/
crypto/cast6.c
+++ b/
crypto/cast6.c
@@
-513,6
+513,7
@@
static struct crypto_alg alg = {
.cra_flags = CRYPTO_ALG_TYPE_CIPHER,
.cra_blocksize = CAST6_BLOCK_SIZE,
.cra_ctxsize = sizeof(struct cast6_ctx),
+ .cra_alignmask = 3,
.cra_module = THIS_MODULE,
.cra_list = LIST_HEAD_INIT(alg.cra_list),
.cra_u = {