X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=crypto%2Fmcryptd.c;h=c4eb9da49d4f55e856ea4199fd0442af77d9fd92;hb=ceba1832b1b2da0149c51de62a847c00bca1677a;hp=f78d4fc4e38a3fb842463229b3fa013d7c0a903c;hpb=8b9f9ebe07f4ff1340f44e40aa7ce517d55e1882;p=deliverable%2Flinux.git diff --git a/crypto/mcryptd.c b/crypto/mcryptd.c index f78d4fc4e38a..c4eb9da49d4f 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;