android_kernel_xiaomi_sm7250/drivers/crypto/ux500
Zhen Lei 0d574e4541 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-20 16:15:47 +02:00
..
cryp crypto: ux500 - Use proper enum in cryp_set_dma_transfer 2019-02-12 19:47:17 +01:00
hash crypto: ux500 - Fix error return code in hash_hw_final() 2021-07-20 16:15:47 +02:00
Kconfig
Makefile