android_kernel_xiaomi_sm8450/fs/crypto
Ard Biesheuvel f90c8ffbd8 UPSTREAM: fscrypt: relax Kconfig dependencies for crypto API algorithms
Even if FS encryption has strict functional dependencies on various
crypto algorithms and chaining modes. those dependencies could potentially
be satisified by other implementations than the generic ones, and no link
time dependency exists on the 'depends on' claused defined by
CONFIG_FS_ENCRYPTION_ALGS.

So let's relax these clauses to 'imply', so that the default behavior
is still to pull in those generic algorithms, but in a way that permits
them to be disabled again in Kconfig.

Bug: 153614920
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit a0fc20333ee4bac1147c4cf75dea098c26671a2f)
Change-Id: I7c0b154094149e85cacaf22527e40d785e4b0396
Signed-off-by: Ard Biesheuvel <ardb@google.com>
2021-05-13 07:53:32 +00:00
..
bio.c ANDROID: fscrypt: fix DUN contiguity with inline encryption + IV_INO_LBLK_32 policies 2020-07-14 15:48:33 +00:00
crypto.c FROMLIST: fscrypt: Add functions for direct I/O support 2021-02-26 05:46:24 +00:00
fname.c fscrypt: allow deleting files with unsupported encryption policy 2020-12-28 14:49:42 -08:00
fscrypt_private.h Merge remote-tracking branch 'aosp/upstream-f2fs-stable-linux-5.10.y' into android12-5.10 2021-01-06 09:39:43 -08:00
hkdf.c fscrypt: use crypto_shash_tfm_digest() 2020-05-08 15:32:14 +10:00
hooks.c fscrypt: allow deleting files with unsupported encryption policy 2020-12-28 14:49:42 -08:00
inline_crypt.c ANDROID: export fscrypt_limit_io_blocks() 2021-02-26 05:46:32 +00:00
Kconfig UPSTREAM: fscrypt: relax Kconfig dependencies for crypto API algorithms 2021-05-13 07:53:32 +00:00
keyring.c Merge remote-tracking branch 'aosp/upstream-f2fs-stable-linux-5.10.y' into android12-5.10 2021-01-06 09:39:43 -08:00
keysetup_v1.c Merge 6f5032a852 ("Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt") into android-mainline 2020-10-23 11:56:31 +02:00
keysetup.c Merge remote-tracking branch 'aosp/upstream-f2fs-stable-linux-5.10.y' into android12-5.10 2021-01-06 09:39:43 -08:00
Makefile fscrypt: add inline encryption support 2020-07-08 10:29:30 -07:00
policy.c fscrypt: allow deleting files with unsupported encryption policy 2020-12-28 14:49:42 -08:00