Commit c54ac422 authored by Corentin Labbe's avatar Corentin Labbe Committed by zhaoxiaoqiang11
Browse files

crypto: n2 - add missing hash statesize

stable inclusion
from stable-v5.10.163
commit 772dbbfc208437a43b7dfa4bce1a30f3598e61ca
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7PJ9N

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=772dbbfc208437a43b7dfa4bce1a30f3598e61ca



----------------------------------------------------

commit 76a4e874 upstream.

Add missing statesize to hash templates.
This is mandatory otherwise no algorithms can be registered as the core
requires statesize to be set.

CC: stable@kernel.org # 4.3+
Reported-by: default avatarRolf Eike Beer <eike-kernel@sf-tec.de>
Tested-by: default avatarRolf Eike Beer <eike-kernel@sf-tec.de>
Fixes: 0a625fd2 ("crypto: n2 - Add Niagara2 crypto driver")
Signed-off-by: default avatarCorentin Labbe <clabbe@baylibre.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarzhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
parent 225b20a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment