Files
linux/drivers/crypto
Christophe JAILLET 0045f0dcdf crypto: sun8i-ss - Fix a test in sun8i_ss_setup_ivs()
[ Upstream commit 8fd91151eb ]

SS_ENCRYPTION is (0 << 7 = 0), so the test can never be true.
Use a direct comparison to SS_ENCRYPTION instead.

The same king of test is already done the same way in sun8i_ss_run_task().

Fixes: 359e893e8a ("crypto: sun8i-ss - rework handling of IV")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-17 14:01:50 +02:00
..
2023-01-06 17:15:47 +08:00
2023-02-14 13:39:33 +08:00
2023-05-11 23:17:15 +09:00
2023-02-03 12:55:59 +08:00