projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[CRYPTO] digest: Add alignment handling
[powerpc.git]
/
crypto
/
sha1.c
diff --git
a/crypto/sha1.c
b/crypto/sha1.c
index
21571ed
..
b96f57d
100644
(file)
--- a/
crypto/sha1.c
+++ b/
crypto/sha1.c
@@
-112,6
+112,7
@@
static struct crypto_alg alg = {
.cra_blocksize = SHA1_HMAC_BLOCK_SIZE,
.cra_ctxsize = sizeof(struct sha1_ctx),
.cra_module = THIS_MODULE,
+ .cra_alignmask = 3,
.cra_list = LIST_HEAD_INIT(alg.cra_list),
.cra_u = { .digest = {
.dia_digestsize = SHA1_DIGEST_SIZE,