|
@@ -637,6 +637,7 @@ static int cryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb,
|
|
|
inst->alg.halg.base.cra_flags = type;
|
|
inst->alg.halg.base.cra_flags = type;
|
|
|
|
|
|
|
|
inst->alg.halg.digestsize = salg->digestsize;
|
|
inst->alg.halg.digestsize = salg->digestsize;
|
|
|
|
|
+ inst->alg.halg.statesize = salg->statesize;
|
|
|
inst->alg.halg.base.cra_ctxsize = sizeof(struct cryptd_hash_ctx);
|
|
inst->alg.halg.base.cra_ctxsize = sizeof(struct cryptd_hash_ctx);
|
|
|
|
|
|
|
|
inst->alg.halg.base.cra_init = cryptd_hash_init_tfm;
|
|
inst->alg.halg.base.cra_init = cryptd_hash_init_tfm;
|