crypto: n2 - add missing hash statesize
authorCorentin Labbe <clabbe@baylibre.com>
Thu, 6 Oct 2022 04:34:19 +0000 (04:34 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Oct 2022 11:15:35 +0000 (19:15 +0800)
commit76a4e874593543a2dff91d249c95bac728df2774
treeab90f518f460b7bd7b5493d229e945c85c8e505b
parent65c92cbb3f2365627a10cf97560d51e88fb4e588
crypto: n2 - add missing hash statesize

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: Rolf Eike Beer <eike-kernel@sf-tec.de>
Tested-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Fixes: 0a625fd2abaa ("crypto: n2 - Add Niagara2 crypto driver")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/n2_core.c