linux-brain/drivers/crypto/ux500
Zhen Lei faeee7a8f6 crypto: ux500 - Fix error return code in hash_hw_final()
[ Upstream commit b01360384009ab066940b45f34880991ea7ccbfb ]

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: 8a63b1994c ("crypto: ux500 - Add driver for HASH hardware")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:53:20 +02:00
..
cryp crypto: ux500 - Fix COMPILE_TEST warnings 2019-09-09 23:48:41 +10:00
hash crypto: ux500 - Fix error return code in hash_hw_final() 2021-07-14 16:53:20 +02:00
Kconfig crypto: des - split off DES library from generic DES cipher driver 2019-08-22 14:57:33 +10:00
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 194 2019-05-30 11:29:22 -07:00