Loading
crypto: starfive - Fix nent assignment in rsa dec
stable inclusion from stable-v6.6.51 commit 37b65ea6c7adcb98449e47d27c55b388c0d3b705 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAYRVR Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=37b65ea6c7adcb98449e47d27c55b388c0d3b705 -------------------------------- [ Upstream commit 8323c036789b8b4a61925fce439a89dba17b7f2f ] Missing src scatterlist nent assignment in rsa decrypt function. Removing all unneeded assignment and use nents value from req->src instead. Signed-off-by:Jia Jie Ho <jiajie.ho@starfivetech.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Wen Zhiwei <wenzhiwei@kylinos.cn>