summaryrefslogtreecommitdiff
path: root/crypto/mcryptd.c
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2016-03-29 21:53:03 +0000
committerRich Felker <dalias@libc.org>2016-03-29 21:53:03 +0000
commited8b19a674c67e1007990991d4e02c02da07c952 (patch)
tree230d118992bfd9ac76f80822d34c2f4ea9819a44 /crypto/mcryptd.c
parent5da64d0814134dc3542fb314a66dcdf74e8553bd (diff)
parentf349a25c7c6b753176540d10e6c243047faefa3a (diff)
downloadlinux-crypto-ed8b19a674c67e1007990991d4e02c02da07c952.tar.gz
linux-crypto-ed8b19a674c67e1007990991d4e02c02da07c952.zip
Merge tag 'v4.6-rc1'
Linux 4.6-rc1
Diffstat (limited to 'crypto/mcryptd.c')
-rw-r--r--crypto/mcryptd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/mcryptd.c b/crypto/mcryptd.c
index f78d4fc4..c4eb9da4 100644
--- a/crypto/mcryptd.c
+++ b/crypto/mcryptd.c
@@ -522,6 +522,7 @@ static int mcryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb,
inst->alg.halg.base.cra_flags = type;
inst->alg.halg.digestsize = salg->digestsize;
+ inst->alg.halg.statesize = salg->statesize;
inst->alg.halg.base.cra_ctxsize = sizeof(struct mcryptd_hash_ctx);
inst->alg.halg.base.cra_init = mcryptd_hash_init_tfm;