linux-stable/crypto
Herbert Xu e732b47f24 crypto: xts - Only add ecb if it is not already there
[ Upstream commit 270b6f1345 ]

Only add ecb to the cipher name if it isn't already ecb.

Also use memcmp instead of strncmp since these strings are all
stored in an array of length CRYPTO_MAX_ALG_NAME.

Fixes: f1c131b454 ("crypto: xts - Convert to skcipher")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-27 11:07:06 +01:00
..
asymmetric_keys
async_tx
842.c
acompress.c
adiantum.c
aead.c
aegis128-core.c
aegis128-neon-inner.c
aegis128-neon.c
aegis.h
aes_generic.c
aes_ti.c
af_alg.c
ahash.c
akcipher.c
algapi.c crypto: api - Fix liveliness check in crypto_alg_tested 2024-11-17 15:07:20 +01:00
algboss.c
algif_aead.c
algif_hash.c crypto: algif_hash - fix double free in hash_accept 2025-06-04 14:40:20 +02:00
algif_rng.c
algif_skcipher.c
ansi_cprng.c
anubis.c
api.c crypto: api - Add crypto_clone_tfm 2024-12-14 19:53:51 +01:00
arc4.c
aria_generic.c
authenc.c
authencesn.c
blake2b_generic.c
blowfish_common.c
blowfish_generic.c
camellia_generic.c
cast5_generic.c
cast6_generic.c
cast_common.c
cbc.c
ccm.c
cfb.c
chacha20poly1305.c
chacha_generic.c
cipher.c
cmac.c
compress.c
crc32_generic.c
crc32c_generic.c
crc64_rocksoft_generic.c
crct10dif_common.c
crct10dif_generic.c
cryptd.c
crypto_engine.c
crypto_null.c crypto: null - Use spin lock instead of mutex 2025-05-02 07:47:01 +02:00
crypto_user_base.c
crypto_user_stat.c
ctr.c
cts.c
curve25519-generic.c
deflate.c
des_generic.c
dh_helper.c
dh.c
drbg.c
ecb.c
ecc_curve_defs.h
ecc.c
ecdh_helper.c
ecdh.c
ecdsa.c
ecdsasignature.asn1
echainiv.c
ecrdsa_defs.h
ecrdsa_params.asn1
ecrdsa_pub_key.asn1
ecrdsa.c
essiv.c
fcrypt.c
fips.c
gcm.c
geniv.c
gf128mul.c
ghash-generic.c
hash_info.c
hctr2.c
hmac.c
internal.h crypto: api - Add crypto_clone_tfm 2024-12-14 19:53:51 +01:00
jitterentropy-kcapi.c
jitterentropy.c
jitterentropy.h
Kconfig
kdf_sp800108.c
keywrap.c
khazad.c
kpp.c
lrw.c crypto: lrw - Only add ecb if it is not already there 2025-06-27 11:07:06 +01:00
lz4.c
lz4hc.c
lzo-rle.c crypto: lzo - Fix compression buffer overrun 2025-06-04 14:40:08 +02:00
lzo.c crypto: lzo - Fix compression buffer overrun 2025-06-04 14:40:08 +02:00
Makefile
md4.c
md5.c
michael_mic.c
nhpoly1305.c
ofb.c
pcbc.c
pcrypt.c crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY 2024-12-14 19:53:17 +01:00
poly1305_generic.c
polyval-generic.c
proc.c
ripemd.h
rmd160.c
rng.c
rsa_helper.c
rsa-pkcs1pad.c
rsa.c
rsaprivkey.asn1
rsapubkey.asn1
scatterwalk.c
scompress.c
seed.c
seqiv.c
serpent_generic.c
sha1_generic.c
sha3_generic.c
sha256_generic.c
sha512_generic.c
shash.c
simd.c crypto: simd - Do not call crypto_alloc_tfm during registration 2024-10-17 15:21:39 +02:00
skcipher.c
sm2.c
sm2signature.asn1
sm3_generic.c
sm3.c
sm4_generic.c
sm4.c
streebog_generic.c
tcrypt.c
tcrypt.h
tea.c
testmgr.c
testmgr.h
twofish_common.c
twofish_generic.c
vmac.c
wp512.c
xcbc.c
xctr.c
xor.c
xts.c crypto: xts - Only add ecb if it is not already there 2025-06-27 11:07:06 +01:00
xxhash_generic.c
zstd.c