mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +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
db6efd4da2
commit
3c3eb0f8bb
1 changed files with 8 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue