crypto: mcryptd - Fix load failure
authorWang, Rui Y <rui.y.wang@intel.com>
Wed, 27 Jan 2016 09:08:36 +0000 (17:08 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 30 Jan 2016 14:11:20 +0000 (22:11 +0800)
commitddef482420b1ba8ec45e6123a7e8d3f67b21e5e3
tree5eb0bb1782e2968a586c6168a4a3a35e97667805
parent2f313e029020f1fa5f58f38f48ff6988d67fc3c1
crypto: mcryptd - Fix load failure

mcryptd_create_hash() fails by returning -EINVAL, causing any
driver using mcryptd to fail to load. It is because it needs
to set its statesize properly.

Signed-off-by: Rui Wang <rui.y.wang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/mcryptd.c