aboutsummaryrefslogtreecommitdiff
path: root/crypto/sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/sha256.c')
-rw-r--r--crypto/sha256.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/sha256.c b/crypto/sha256.c
index 9d5ef674d6a..d62264a8a33 100644
--- a/crypto/sha256.c
+++ b/crypto/sha256.c
@@ -313,6 +313,7 @@ static struct crypto_alg alg = {
.cra_blocksize = SHA256_HMAC_BLOCK_SIZE,
.cra_ctxsize = sizeof(struct sha256_ctx),
.cra_module = THIS_MODULE,
+ .cra_alignmask = 3,
.cra_list = LIST_HEAD_INIT(alg.cra_list),
.cra_u = { .digest = {
.dia_digestsize = SHA256_DIGEST_SIZE,