Files
linux-stable-mirror/crypto
Herbert Xu 02b6619408 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:05:10 +01:00
..
2023-03-10 09:39:11 +01:00
2023-03-10 09:39:11 +01:00
2024-10-17 15:10:42 +02:00