aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWang, Rui Y <rui.y.wang@intel.com>2015-11-29 22:45:34 +0800
committerMister Oyster <oysterized@gmail.com>2017-07-04 12:11:06 +0200
commit57257cb629313f53501ae2d8d95fe46cd80563ab (patch)
tree328f9cf0a4d085e3c1bf7926c2a682821125d936 /drivers
parent55fc1e8ffd9f4ad496d19a20ba2c744c8298d488 (diff)
crypto: cryptd - Assign statesize properly
commit 1a07834024dfca5c4bed5de8f8714306e0a11836 upstream. cryptd_create_hash() fails by returning -EINVAL. It is because after 8996eafdc ("crypto: ahash - ensure statesize is non-zero") all ahash drivers must have a non-zero statesize. This patch fixes the problem by properly assigning the statesize. Signed-off-by: Rui Wang <rui.y.wang@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Cc: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions