crypto: img-hash - Fix set_reqsize call
authorWill Thomas <will.thomas@imgtec.com>
Fri, 5 Aug 2016 13:00:20 +0000 (14:00 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Aug 2016 10:47:23 +0000 (18:47 +0800)
commit5e38d20088d48b60775bdbdfdf47f8a2c4f6288f
tree1977ac7c021f350810fdb66b2df126e387a21cea
parentfb67740e2fb82c97cca6df24882df4e7c898aae4
crypto: img-hash - Fix set_reqsize call

Properly allocate enough memory to respect the fallback.

Signed-off-by: Will Thomas <will.thomas@imgtec.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/img-hash.c