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 - avoid skcipher fallback code duplication
[ Upstream commit01d70a4bbf] Factor out duplicated skcipher fallback handling code to a helper function sahara_aes_fallback(). Also, keep a single check if fallback is required in sahara_aes_crypt(). Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Stable-dep-of:d1d6351e37("crypto: sahara - handle zero-length aes requests") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
4d57e44db1
commit
1b1430bd3a
1 changed files with 25 additions and 60 deletions
Loading…
Add table
Add a link
Reference in a new issue