mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +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
5834cafc1d
commit
6fc9576795
1 changed files with 8 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue