mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
crypto: cryptd - Assign statesize properly
commit1a07834024upstream. cryptd_create_hash() fails by returning -EINVAL. It is because after8996eafdc("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
096c8de224
commit
30306b101f
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue