mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
crypto: sahara - improve error handling in sahara_sha_process()
[ Upstream commit5deff027fc] sahara_sha_hw_data_descriptor_create() returns negative error codes on failure, so make sure the errors are correctly handled / propagated. Fixes:5a2bb93f59("crypto: sahara - add support for SHA1/256") Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
2193b2467e
commit
cc9b6af87d
1 changed files with 8 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue