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

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
..
hash_alg.h crypto: ux500 - Use spinlock_t instead of struct spinlock 2019-07-26 15:04:00 +10:00
hash_core.c crypto: ux500 - Fix error return code in hash_hw_final() 2021-07-14 16:53:20 +02:00
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 194 2019-05-30 11:29:22 -07:00