]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: sahara - fill the statesize field
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 3 Feb 2016 12:46:52 +0000 (10:46 -0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 6 Feb 2016 07:33:29 +0000 (15:33 +0800)
commitd42cf2f1901e4fafb133d5fb680fc7138b9ba393
treed1feff4681188b30817e323f408e45e932151dc9
parentbceab44eed7f37110136860cb2992fbd6702588d
crypto: sahara - fill the statesize field

Currently the sahara driver fails to probe:

sahara: probe of 63ff8000.crypto failed with error -22

This happens since commit 8996eafdcbad ("crypto: ahash - ensure statesize
is non-zero"), which requires statesize to be filled.

Pass the statesize members for sha1 and sha256, so we can probe
the driver successfully again.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sahara.c