OpenCloudOS-Kernel/drivers/crypto/allwinner/sun8i-ss
Christophe JAILLET 8fd91151eb crypto: sun8i-ss - Fix a test in sun8i_ss_setup_ivs()
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>
2023-04-28 17:50:43 +08:00
..
Makefile crypto: sun8i-ss - support hash algorithms 2020-09-25 17:48:17 +10:00
sun8i-ss-cipher.c crypto: sun8i-ss - Fix a test in sun8i_ss_setup_ivs() 2023-04-28 17:50:43 +08:00
sun8i-ss-core.c crypto: sun8i-ss - Remove GFP_DMA and add DMA alignment padding 2023-01-06 17:15:46 +08:00
sun8i-ss-hash.c crypto: sun8i-ss - Remove GFP_DMA and add DMA alignment padding 2023-01-06 17:15:46 +08:00
sun8i-ss-prng.c crypto: sun8i-ss - Remove GFP_DMA and add DMA alignment padding 2023-01-06 17:15:46 +08:00
sun8i-ss.h crypto: sun8i-ss - add hmac(sha1) 2022-05-13 17:24:19 +08:00