OSDN Git Service

fscrypt: remove CRYPTO_CTR dependency
authorEric Biggers <ebiggers@google.com>
Wed, 5 Sep 2018 19:24:00 +0000 (12:24 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 17 Apr 2019 01:04:21 +0000 (18:04 -0700)
commitf4b27215dbf6cb7ff92c68351c97ce119c1ee927
treebf1e95e055e279e3b6a7b563709e460bddafcd43
parent6296c8926f68d727526a1e9f4dc6aae26e0fd3a0
fscrypt: remove CRYPTO_CTR dependency

fscrypt doesn't use the CTR mode of operation for anything, so there's
no need to select CRYPTO_CTR.  It was added by commit 71dea01ea2ed
("ext4 crypto: require CONFIG_CRYPTO_CTR if ext4 encryption is
enabled").  But, I've been unable to identify the arm64 crypto bug it
was supposedly working around.

I suspect the issue was seen only on some old Android device kernel
(circa 3.10?).  So if the fix wasn't mistaken, the real bug is probably
already fixed.  Or maybe it was actually a bug in a non-upstream crypto
driver.

So, remove the dependency.  If it turns out there's actually still a
bug, we'll fix it properly.

Signed-off-by: Eric Biggers <ebiggers@google.com>
fs/crypto/Kconfig