summaryrefslogtreecommitdiffstats
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-04-17 22:25:09 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2023-04-28 17:50:43 +0800
commit8fd91151ebcb21b3f2f2bf158ac6092192550b2b (patch)
tree5275c8d28ca3b5cc409ce50ffb7791c6c0deaa33 /crypto/algapi.c
parent482c84e906e535072c55395acabd3a58e9443d12 (diff)
downloadlinux-8fd91151ebcb21b3f2f2bf158ac6092192550b2b.tar.gz
linux-8fd91151ebcb21b3f2f2bf158ac6092192550b2b.tar.bz2
linux-8fd91151ebcb21b3f2f2bf158ac6092192550b2b.zip
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: 359e893e8af4 ("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>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions